Other Parts Discussed in Thread: C2000WARE
Hi everyone,
I have an issue related to Flash programming. Before being redirected to manuals, I confirm I have gone through the multi-day workshops training, Lab #10 for the flash programming examples, as well as the report SPRA958L.
I can run Lab #10 with no issue.
My current application however is based on the skeleton code provided in Lab #3 from the One-Day-Workshop instead (Control peripherals). Everything runs fine from RAM. I am trying to run this from flash. I have modified the link command file to suit this purpose.
I keep encountering the following: Break at address "0x3fe493" with no debug information available, or outside of program code. In the disassembly window I can see: 3fe493: 7625 ESTOP0
The only answer to this I could find it at the following link: https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/861317/ccs-launchxl-f28379d-break-at-address-0x3fe493-with-no-debug-information-available-or-outside-of-program-code
Still no success going through that suggestion. This should be the most basic example. I added the _FLASH to the properties in order to trigger in SysCtrl() the mempy() and InitFlash() functions. It builds and debugs with no issues. I reset the CPU from Run. Via Scripts I select EMU_BOOT_FLASH. I get back to the Main and if I run, the code breaks at 3fe493 as previously mentioned.
I tried running line by line: the code first breaks at 3fe468: 761B ASP
This is within the InitFlash() function. I am out of the program code in here. I can still run line by line until I arrive at 3fe493. If I keep pressing F5 it CCS will signal that C28xx_CPU1 is suspended, but then sometimes running. In the disassembly window I cannot move past 3fe494 anyway.
I attach two screenshots from CCS.
Could you please help? What is this issue?
Many thanks,
Nicola Chiodetto