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.

TMS320F280041: Break at address "0x3fc7a5" with no debug information available, or outside of program code.

Part Number: TMS320F280041

hello

i am working on F280041 controller , programme will work in debug mode but when i terminate debug session and reset controller then programme is not working(release mode).

i dump code in flash memory.

when controller is in debug mode , debug tab shows below error

Break at address "0x3fc7a5" with no debug information available, or outside of program code.

kindly help me to resolve this issue.

  • Dhaval,

    What is the boot mode you are using.  Looks like the PC is boot section. Please take a look TRM, section 4.6.5.1

    https://www.ti.com/lit/pdf/sprui33

    Please take a look at this link. Our flash expert has put together steps how to boot from Flash.

    e2e.ti.com/.../878674

  • Santosh,

    i am using flash boot option and accordingly GPIO pins are set.

    i run my code from flash ,when i not define flash in predefine symbol (without memcopy ) code is working in standalone.

    in above post it suggest that time critical code is copy from FLASH to  RAM , but when i see map fie  its only four  bytes which is copied from flash to ram in run time. which section of my code  is copied from FLASH to RAM ?

    it's ok to run code without memcopy function ? 

    and still i get below error in debug mode,

    Break at address "0x3fc7a5" with no debug information available, or outside of program code. 

    Thanks & Regards

    Dhaval

  • Dhaval,

    When _FLASH  symbol is defined, then

        //
        // Copy time critical code and flash setup code to RAM. This includes the
        // following functions: InitFlash();
        //
        // The RamfuncsLoadStart, RamfuncsLoadSize, and RamfuncsRunStart symbols
        // are created by the linker. Refer to the device .cmd file.
        //
        memcpy(&RamfuncsRunStart, &RamfuncsLoadStart, (size_t)&RamfuncsLoadSize);

    Please take a look at blinky_led DriverLib example and then boot from flash, and step into device_init() function.

    Please review flash linker command file for RamfuncsRunStart section.