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.

Compiler/TMS320F28388D: controlCARD Boot Out of Flash

Part Number: TMS320F28388D

Tool/software: TI C/C++ Compiler

Hi,

I currently have the controlCARD for the F2838D and I'm have trouble booting out of flash.

My end goal is to unplug the unit from the PC and just provide power and watch my program to its thing right now if use Run->Load->My_Binary everything works, but once I power cycle the processor doesn't seem to reboot.

I'm using the provided C2000 linker file "2838x_flash_lnk_cpu1.cmd" and "f2838xcodestartbranch.asm" files I've set my entry point as _c_int00 in the properties menu. I'm assuming some part of this configuration is incorrect.

Additionally I have the Switch 1.A position 1 & 2 set to ON and Switch 2 position 1 & 2 set to OFF.

 

  • Hi Zachary,

    What is the state of the boot mode pins GPIO72 & GPIO84? They both need to be High to boot from Flash. Switch below needs to be left open.

    Regards,

    Nirav

  • Yes both are in the OFF or open position.

  • Hi,

    Can you set the EMULATION MODE as BOOT to Flash (refer BOOTROM section in TRM)  with CCS connected and then issue reset via CCS (debug reset) and just click on run icon. Since you code is loaded in flash, you don't have to load the code again.

    By doing above you should be able to see the code execution in debugger and it will emulate Boot from Flash that you are trying to do by power cycling the board.

    Regards,

    Nirav

  • Hi Nirav,

    There have been some recent developments, I have located the led_ex1_blinky program from the C2000 f2838x examples folder. When I set that to FLASH build configuration everything works how I want it to. 

    If I power cycle the controlCARD the program restarts at the beginning. 

    The only difference I see between my project and the led_ex1_blinky is that I get a warning that entry-point symbol is not _c_int00 where if I build the led_ex1_blinky I don't get that warning.