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.
Hello All,
I am seeing the attached - just stepping into a function that is in the gel memory map (gel file attached) - yet the debugger says it isn't in the memory map.
The function is in FLASH and has a valid address as in the attached.
Thanks In Advance for taking a look at this.
Regards,
johnw
The screen shot shows the debugger reporting "Memory map preventing reading 0x0D577@Program", with the current program counter at address 0x00D577 with no symbols defined for address 0x00D577.John Westmoreland43 said:I am seeing the attached - just stepping into a function that is in the gel memory map (gel file attached) - yet the debugger says it isn't in the memory map.
The TMS320F28027 datasheet shows the address 0x00D577 is part of "Reserved" address space:
Therefore, is the actual problem that the program has "crashed" by jumping to the reserved address 0x00D577?
Were you trying the assembly step-into option, i.e. to step one instruction at a time?John Westmoreland43 said:but why can't I step to a valid address that is in the memory map and is enabled in the gel file?
That might give more of an indication at what point the problem occurs.
OK, thanks for confirming.John Westmoreland43 said:If you look at the first pic posted in the OP - that is exactly what's going on.
Maybe enabling Debug Server Logging and posting the log file will give more information about what is going wrong.
Looking at ds1.log I can see the program halted at a valid address in flash:John Westmoreland43 said:Debug server log attached.
0x00003A84 45948 3 MEM_SVR I: MemoryServer.handleHaltEvent : Halt Event: PC = 0x3f4b5e
Where the instruction at address 0x3f4b5e is "767F411F LCR vTaskDelay"
But after the next step operation the program is halted at an invalid (reserved) address:
0x00003A84 47525 3 MEM_SVR I: MemoryServer.handleHaltEvent : Halt Event: PC = 0xd56d
i.e. the debug server log file shows the same issue in the CCS debugger that after a step the program counter changes to a reserved address. However, I still don't know what the root cause of the problem is.
Hopefully someone from TI will be able to analyse the contents of the debug server log file in more detail.