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.

F2808 running from Flash



Hello,

I am using EzdspTMS320F2808 and using TI’s F2808_example_nonBIOS_flash
as a starting point and adding my code to it. 
This is because there is not enough RAM to run my program. The DIP SW1
is set to FLASH booting.

With the sample code alone, I am able to start a Debug
session using the USB2000 Controller and step through the code without any problems
and set breakpoints at any of the functions such as InitGPIO();.   

I added I2C functionality and my .c file that communicates
with an I2C external device.  The program
builds without any problems, loads into the Flash, and starts Debug session.  When I try to set a breakpoint at the
function routines I wrote, I keep on getting an error

C28xx: Trouble Setting
Breakpoint with the Action "Remain Halted" at 0x3e82bf: (Error -1066
@ 0x3E82BF) Unable to set requested breakpoint in memory. Verify that the
breakpoint address is in writable memory. (Emulation package 5.0.471.0)

Can you let me know why this is
happening?

Thanks

Monika