This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I need to port a design from a TMS570LS1227 to an RM48L540. Before attempting the port, I first tried an empty test project with a main() for the RM48, loaded the output file onto my test board and then ran the debugger but with no success.
The project is set to automatically run to main(). However, when I start the debugger, the green Resume button and the yellow Suspend buttons are greyed out. Only the red Halt button is shown and the debug window shows Texas Instruments XDS100v2 USB Debug Probe/CortexR4 (Running). Clicking on Halt, the debugger exits and I'm returned to the Edit window.
If, instead of clicking the Halt button, I click on the Texas Instruments XDS100v2 USB Debug Probe/CortexR4 (Running) line, the debugger halts, the green Start button is no longer grayed out but a new window appears that says Break at address "0x4" with no debug information available, or outside of program code.
The PC is set to 0x00000004 and all of the vector table locations from 0x00000000 through 0x0000001C are filled with 0xffffffff.
This looks like some sort of project setting error or device configuration problem but I am stumped at this point. I have reinstalled Code Composer Studio V12.3.0.00005, tried two different Blackhawk/TI XDS100v2 USB Debug Probes and tried two different target boards, always with the same results.
Target Connection is Texas Instruments XDS100v2 USB Debug Probe
I have successfully verified the target debugger connection.
The target configuration is set for RM48L540.ccxml
Compiler is TI v20.2.7.LTS
Output format is Executable eabi (ELF)
Device endianness is little
Linker command file is RM48L5xFlashLnk.cmd
Runtime support library is rtsv7R4_T_le_v3D16_eabi.lib
Any suggestions or examples would be greatly appreciated.
The PC is set to 0x00000004 and all of the vector table locations from 0x00000000 through 0x0000001C are filled with 0xffffffff.
You need to program the vector table properly. The 0xFFFFFFFF is not the correct value for the table.
Please use the HALCOGen to generate a project and run your test.