Hello Jesse McCall,
I recommend you to refer to the procedure in the first section of "Debugging U-Boot using NOR flash" in C:\Freescale\CW_PA_v10.5.0\PA\Help\PDF\Targeting_PA_Processors.pdf to use Attach method to debug program boot from NOR Flash.
Probably you could start with the CodeWarrior ROM sample project, please follow new project wizards to create a ROM Attach project, build this project to generate the bin file and program it to the end of NOR Flash. Please follow the above procedure to attach to the target board, then use CodeWarrior to reset the target without run initialization file. The debugger will stop at the program entry point.
In addition, CodeWarrior only generates elf file, you could use the following method to generate a binary file.
From Project->Properties->C/C++ Build->Settings->Build Steps->Post-build steps enter the following command
"${PAGccAeabiE6500Dir}/powerpc-eabi-objcopy.exe -O binary -S <project>.elf <project>.bin", after build the project, the binary file will generated in <project>/ROM folder.
At last, if you only want to see Disassemble code which CodeWarrior fetches from the target board, please use this method, use Attach launch configuration to connect to the target board, and use CodeWarrior to reset the target without initialization, the debugger will stop at the entry point 0xFFFF_FFFC, and disassemble code can be seen from the Disassembly Window.
Have a great day,
Yiping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------