|
Scope
This practical guide records the complete workflow used to build a ROM-target bare-metal image, program it into NOR flash, boot independently from NOR, and attach CodeWarrior with symbols for source-level debugging.
- Create the bare-metal project and confirm it works with the RAM/JTAG configuration.
- Create a ROM build configuration and link .intvec at 0xEFF00000 and .reset at 0xEFFFFFFC.
- Build the ELF.
- Generate the raw BIN from the same build.
- Create the Flash Programmer task using T1013RDB_NOR_FLASH.xml.
- Confirm the S29GL01GP flash range is 0xE8000000 to 0xEFFFFFFF.
- Configure the BIN destination as 0xEFF00000.
- Erase the selected sectors, program the image, and enable verification.
- Select NOR boot and power-cycle or reset the board.
- Confirm the program starts without JTAG downloading the image.
- Attach CodeWarrior to the running target.
- Load the exact matching ELF as symbols only.
- Confirm the Program Counter, set breakpoints, and begin source-level debugging.
|