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.

TMS320F28P650DK: an error occured: failed to parse the previous frame FP

Part Number: TMS320F28P650DK
Other Parts Discussed in Thread: C2000WARE

Hi,
I'm using a launchpad TMS320F28P650DK9 and ccs 12.6. Got the error: " _system_post_cinit() 0x3FFE7A (an error occured: failed to parse the previous frame FP)" while debugging the code below.
linked to my project is the "f28p65x_codestartbranch.asm" source file and I've tried using both the "28p65x_generic_flash_lnk_cpu1.cmd" and the "28p65xdkx_generic_flash_lnk_cpu1.cmd" linker command files. it might be important to note that I don't have a f28p65x_lnk.c file linked to the project (not sure if its relevant). Any help on the subject would be much appreciated. Thanks.

code:

#include "F28x_Project.h"
#define BLINKEY_LED_GPIO 31

void main(void)
{
      //InitSysCtrl();
      InitGpio();
      GPIO_SetupPinMux(BLINKEY_LED_GPIO, GPIO_MUX_CPU1, 0);
      GPIO_SetupPinOptions(BLINKEY_LED_GPIO, GPIO_OUTPUT, GPIO_PUSHPULL);

      while(1)

      {
             GPIO_WritePin(BLINKEY_LED_GPIO,0);
             DELAY_US(1000*500);
             GPIO_WritePin(BLINKEY_LED_GPIO,1);
             DELAY_US(1000*500);
      }
}

  • Hi Shay,

    Can you step through using the debugger to see which function produces the system_post_cinit error?

    Are you using one of our LED examples? What version of C2000WARE are you using?

    Best,

    Ryan Ma

  • Hi Ryan,

    I've tried using the LED examples and got the same results. I'm using the 5th version of C2000WARE. this happens only when I'm using the "28p65x_generic_flash_lnk_cpu1.cmd", and everything works just fine when I'm using the "28p65x_generic_ram_lnk_cpu1.cmd" file.

    In the console: No source available for "_system_post_cinit() at C:\Users\E031650\workspace_v12\trial01\Debug\trial01.out:{3} 0x3ffe7a{4}"

    In the Disassembly: 0x3ffe7a: 7625          ESTOP0         

    Below this:               0x3ffe7a  6F00          SB                      0,UNC                    

    I'm new to all of this so please let me know if there is more info needed to understand the problem that I could share with you.

    thank you for your help. :)

  • Hi Shay,

    I see you're using our example found within our device_support folder. Can you uncomment the InitSysCtrl() function? This function is important because this is used to set up your device initialization which sets up your clock configurations, copies time critical code and flash setup code to RAM, and initializing the flash module. Thus I believe this error you're seeing is due to the device not being initialized properly for FLASH build configuration.

    If you're planning to start development using our boards and in the future for see migration, you can start off with our driverlib example of the same project that provides a GUI based tool for code development and the tool will also help with migration across our devices. You can find this universal project format for the LED here: C:\ti\c2000\C2000Ware_5_01_00_00\driverlib\f28p65x\examples\c28x\led\led_ex1_blinky.c

    Here is an FAQ also to get started with this universal project format.

    Best,

    Ryan Ma