www.kxcad.net Home > Electronic Index > Altium(Protel) Index
Availability
Devices
(Menu) : Processors » Processor 18 » Single-Step
Description This command is used to single-step through the embedded code loaded into the currently focused MCU device, in the Soft Devices chain of the Devices view.
Use Ensure that the MCU whose embedded code you wish to single-step through, currently has the focus in the Soft Devices chain of the Devices view. A device on the chain is given the focus simply by clicking on its corresponding icon in the chain.
This command can be used outside of a debug session for the affected MCU device, or during a debug session.
To use the command outside with no debug session currently running, ensure that the Instrument Panel for the MCU is open in the Soft Devices Instrument Rack. To open the associated panel for the device, simply double-click on the icon for that device in the Soft Devices region of the Devices view.
After launching the command, the focused MCU device will be placed in the Paused state and you will be able to observe the value stored in the Program Counter change, in the Processor Status region of the device's Instrument panel.
If this command is used while a debug sessions is running, the source code document for the processor being debugged will be synchronized to the command, with single stepping of the source code in the open source document.
Notes To start a debug session for the embedded code of a specific microcontroller in the design, simply right-click on the icon for that processor in the Soft Devices region of the Devices view and choose the Debug command from the pop-up menu that appears. The debug environment offers the full suite of tools you would expect to see in order to efficiently debug the embedded code, including: Breakpoints; Watches; Reset, Run and Halt code execution and stepping into and over at both source and instruction level.
To a lesser extent, debugging can also be carried out from a dedicated Generic Processor Controller dialog. To access this dialog for a processor, simply click on the Nexus Debugger button on its associated Instrument Panel.
Process FpgaFlow:DeviceAction
Parameters Target=SoftDevice|Index=18|Action=SingleStepProcessor
Links
About...
About...
About...
Choose and download to the current Hard device
Compile Program
Continue All Processors
Continue
Download Program
Download To All On-Chip Processors
Download To Device
Instrument...
Instrument...
Instrument...
Pause All Processors
Pause
Reset All Devices
Reset All Processors
Reset the currently selected Hard device
Reset
Reset
Single Step All Processors