Usage
Open Cygwin.
- Assemble and link a .s file, ensuring the '--gdwarf2' option is used.
- Run arm-elf-insight.exe
- Click File -> Open, and select the ELF file.
- Click Run -> Run, or click the running man icon.
- Select 'Simulator' as the Target, and click OK.
- Click 'Yes'.
- For embedded systems debugging, it is good to open both the registers and memory windows under the View menu.
- Step through the program, observing changes in the registers and memory contents. If using flash-v1.s, pay attention to the memory changes at 0x10000000.
No comments:
Post a Comment