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.

LAUNCHXL-F280025C: Error while running the code on LAUNCHXL-F280025C

Part Number: LAUNCHXL-F280025C
Other Parts Discussed in Thread: C2000WARE

Hello,

I am facing issue while running my code in LAUNCHCL-F280025C.

I have attached the photo of the error.

This error is coming when the code is in Free Run.

If I am using Step Run for execution, I am not facing this issue.

Please suggest a solution for this problem.

Regards

Aditya K

  • Aditya,

    The memory address that is referenced 0x3F4751 is inside the BROM of the device.  This why the CCS doesn't have the information from your project on the contents.  If you want to debug stepping through the BROM you can add the symbols/.lib to your existing project.  For this device in C2000Ware this is located at: C:\ti\c2000\C2000Ware_3_04_00_00\libraries\boot_rom\f28002x\rev0

    Best,

    Matthew

  • Hello,

    Did not work, the error is still coming.

    Regards,

    Aditya K.

  • Aditya,

    If you are only seeing this when you are free running, I would suspect that the device's watchdog is enabled and triggering either an interrupt or reset.  If you look in many of our examples in C2000Ware there is a function call in InitSysCtrl() to disable the WD while debugging for this reason.

    DisableDog();

    Once you are running normally and want the Watchdog, you can re-enable it and service it so that it doesn't time out.

    Are you using an example in C2000Ware, if you could give that example we could try and replicate the issue.

    Best,
    Matthew

  • Hello,

    We are already disabling the watchdog. 

    On a related note, would a watchdog reset cause a _system_post_cint() error? What exactly does this function do?

    Unfortunately we are not using an example.

    Regards,

    Rishabh P.

  • I looked at bit deeper, these functions are part of the run time support library as boot hook functions or pre-init functions.  These are located in your CCS install here(this is for CCS V10) C:\ti\ccs1000\ccs\tools\compiler\ti-cgt-c2000_21.6.0.LTS\lib\ 

    Note that there are some different rts.libs, depending if you are compiling for COFF(ELF) or EABI format.  you will want to pick the appropriate rts2800_fpu32.lib based on the above.

    Can you make sure this is correct in your project settings?

    Best,
    Matthew