Once the code has been built in HEW it needs to be downloaded to the RSK.
Now that you are connected to the target you should see an additional category in the workspace view called ‘Download Modules’
• Right click on the download module listed and
select ‘Download’
The download options dialog will be displayed.
This dialog provides various options for HMon operation and
downloading. This dialog allows the re-configuration of any
HMon communication settings. Please review the settings in
each tab.
HMon includes a cache of the current device program. This
allows the number of reprogramming cycles to be reduced by
not programming areas of the device that have not changed
between compilations. On first connection the cache is
empty. Selecting ‘Upload and Compare’ will read the program
back from the device before comparing it to the cache.
• Select any of the download options shown.
• Press ‘OK’.
On completion the debugger and code are ready to be executed.
To start debugging we need to reset the debugger and target.
• Press ‘Reset CPU’ on the Debug Tool Bar.
The File window will open the Tutorial code at the entry point. An arrow marks the current position of the program counter.
16