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.

Flash code does not run after power reset



Hi

I am converting my application which is ram based with f28335, ccs3.3 and bios v 5.33.06. I have followed the spra 958i document for flash based application. My flash based code toggles gpio as long as it’s connected to ccs with black hawk 2000, but when I try to run it after powering it up as standalone it does not. I am using docking station BH28xxx target board. When I try to make BEGIN_FLASH section as SPRA 958i states on page 25 using memory section manager I get following error on compiling code.

 

Error

" C:/ccsstudio_v3.3/bios _5_33_06/Packages/ti/lib/bios.a28FP<clk.o28FP> specifies ISA revision “c28FPU32” which is not compatible with isa revision “c2800” specified in previous file or on command line."

I have to use iq math for my motor control application so I have set none to floating point support in advanced tab of compiler option. The bios based flash example for f28335 runs fine as stand alone on my board. and it uses fpu32 support.

 

Please help me in this regard.

Ahmed Shakeel

  • Hi Ahmed,

    You seem to have two issues. They may be related or they may not, i can't be sure from what you described.  Thus I am going to address them separately:

    Issue 1:

    Standalone code running.  This sounds to me like you have the boot jumper/boot mode setting for the device wrong.  Check the datasheet under Boot ROM and you will find that there are a number of boot options for the chip based on GPIO84-87 values at startup.  If you haven't already done so you will probably need to adjust the hardware so it is in boot to Flash mode for running a flash program standalone.

     

    Issue 2:

    Compiler error:  I am not sure (due to not using BIOS) what this error is caused by exactly but it sounds to me like a compiler or linker option somewhere is incorrect, or even a bios option.  I suggest you look at all possible options and make sure they are correct for FP support.

     

    Hope this helps,

     

    Tim

  • hi

    Thanks for the reply,i will see what level are there on (84-87). I described that i am using the legacy docking station bh28xxx from ti with f28335 control card. I ran the bios based flash example which i got from link .They work stand alone on the same board .So the configuration for 84-87 is same for both project in hardware. The one difference is that example code uses boot to flash location as memory section and uses it in "CodeStartBranch.asm" to start my code starts at right place when i try to creat this section and add thie file "codestartbranch.asm " i get this error string that i mention.

    so i need help how to fix it.

    Shakeel