User guide

28
6310A–ATARM–26-Mar-07
Application Note
5.3.5.5 Memory View
The “Memory” tab at the bottom allows the user to monitor the content at a given memory
address. To add a memory region, right-click in the “Monitors” area and select “Add Memory
Monitor”. Eclipse will ask for the base address of the region, and then show its content.
Figure 5-22. Eclipse Showing the Memory Contents at Address 0x200000
5.4 Memory Programming
Eclipse enables the user to configure and launch external tools. Combined with the Atmel SAM-
BA utility, it is easy to program the memory of the target microcontroller directly in Eclipse.
To do this, a script performing the flashing operation is required. The Getting Started example
provides a script which puts the binary into flash and runs it, along with a batch file to easily exe-
cute the script. It will be used for the purpose of this demonstration. Please refer to the SAM-BA
manual for more information about writing scripts.
Start by creating a new external tool configuration by selecting the “External Tools > External
Tools...” item of the “Run” menu. This opens a new dialog for managing existing configurations
and creating new ones.