Please enable JavaScript to view this site.

winIDEA Help

Version: 9.21.242

Initialization before Programming, Debug Session, at Attach

winIDEA can execute initialization at these events:

Initialization before Programming

Initialization before Debug Session

Initialization at Attach

 

Open Hardware / CPU Options / Reset.

 

initialization-resetTAB

 

 

Initialization before Programming

 

Click to enlarge

 

After CPU emulation is started and CPU is stopped the initialization is typically used to prepare the system for programming. This initialization can be invalidated after download completes (the CPU is reset again). This way the CPU starts in a standalone mode, but with a re-programmed memory.

 

Warning_orange

CPUs that cannot be stopped immediately after released from reset, are not initialized until they are stopped. Refer to the separate technical notes that came with your system for more information.

 

To execute this operation perform:

Download

Download Symbols

 

Connect - Actions needed to establish debug connection.

Initialize - Actions needed to initialize device peripherals.

Reset CPU after Download (invalidates initialization) - If this option is checked, the CPU is reset after download completes. This effectively invalidates the initialization (which was used to allow download) and provides the CPU with an environment equal to standalone operation (without debugger attached). Not used during development when loading applications and running them from volatile memory, e.g. SRAM. Initialization before Debug Session is always performed except on Download with Reset after Download unchecked.

 

 

Initialization before Debug Session

 

Click to enlarge

 

Initialization after program download completes is used when the main initialization is invalidated by a CPU reset after download, but some initialization is still required.

To execute this operation perform:

Reset

Download Symbols

Initialization before Programming with enabled option Reset CPU after Download (recommended).

 

 

Initialization at Attach

 

Click to enlarge

 

Initialization at Attach is used when winIDEA is connecting to already running system, i.e. target is not reset by BlueBox. It was introduced for existing INI scripts which can not -if-else- on the type of an 'attach' winIDEA is executing. Same could be achieved in EVE script in Initialization before Debug because it is called with a parameter specifying the reason for execution.

To execute this operation perform Attach.

 

Copyright © 2024 TASKING Germany GmbH