TMS320F280039C: C2000WARE

Part Number: TMS320F280039C
Other Parts Discussed in Thread: C2000WARE

Tool/software: CCS 11 / CCS 12 

hi,

i test the flashapi / bootloader follow this document "ZHCABQ0 – 06.2022 " .  also refer to the document "zhcabp6.pdf"

I had some problems as shown below picture.

i have tried follow this link,  but it have not solved the problem .

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1124116/tms320f280025c-flashapi_f28002x_fpu32-lib---include-in-project/4169757?tisearch=e2e-sitesearch&keymatch=types.h#4169757

meanwhile, i have tried use different compiler versions , and different C2000Ware versions, like C2000Ware_4_00_00_00 / C2000Ware_4_01_00_00 / C2000Ware_5_03_00_00 ...

please help me what should i do for solving the problem.

thanks a lot

  • Hi Ran,

    Are you using F28002x or F28003x? The thread seems to discuss 28003x, however in your screenshot the project is regarding F28002x.

    Best,

    Ryan Ma

  • thanks for your attention.

    yeah , now i use the mcu 280039c , and test this fucntion in 280039c at first, but it has some problem. 

    so i tried the F28002x when i read the document "ZHCABQ0 – 06.2022 ". I think the problem can be resolved when using the same software version in this document.  but I got the same problem shown in picture 2 above.

    this is a partial  schematic what i have tried .  meanwhile , I have tried use 280039c in C2000Ware_5_03_00_00

    some info in ccs console

  • Hi Ran,

    Can you share your include options, linked resources and the includes you have? Can you demonstrate step by step procedure you have taken to try and add the flash api library to your project?

    Best,

    Ryan Ma

  • hi

    so glad to get your reply.

    test backgroud :  CCS Version: 11.2.0.00007 + compiler 20.2.1 + C2000Ware_4_00_00_00(C:\ti\c2000\C2000Ware_4_00_00_00\driverlib\f28003x\examples\flash)

    follow this doc "ZHCABQ0 – 06.2022 " . 

    the next 3 pictures show that get the symbol "F28002x_FlashAPI_SymbolLibrary.lib"  in project "F28002x_FlashAPI"

    the next pictures show, use  "F28002x_FlashAPI_SymbolLibrary.lib"  in another project "F28002x_Bootloader" 

    include the  "F28002x_FlashAPI_SymbolLibrary.lib" 

  • Hi Ran,

    You should be using F28003x Flash API source files for the F280039 device. 

    Instead of copying files over, can you create a new project starting with F28003x device that using the flash api?

    Then copy over your bootloader code to the new project?

    Best,

    Ryan MA

  • hi

    You should be using F28003x Flash API source files for the F280039 device. 

    yeah, i have done this before , and I did this again . and " create a new project starting with F28003x device that using the flash api"

    it can't resolve the problem . maybe this step has a problem ? (can't generate a valid xxx_symbol.lib)

    tools in this step version is : "cgxml-2.61.00-windows-installer.exe" and  "strawberry-perl-5.32.1.1-64bit" 

    Or include the "F28003x_FlashAPI_SymbolLibrary.lib" in the project "F28003x_Bootloader" is error? 

    I have uploaded the project . May you find any unreasonable operation in the project ? thanks a lot

    ccs128_wk_boot_create.rar

  • Hi Ran,

    I am unable to replicate the issue. Please take a look below. I added the FAPI_F28003x_EABI_v1.58.10.lib file, as well as uncommented out the section that was commented in the F28003x_Bootloader/28003x_flash_api_lnk_boot.cmd file. I am using CCS12.7.1.

    Here is my compiler settings.

    Best,

    Ryan MA

  • hi Ryan MA,

    Thanks for your patience .

    maybe the script is not running properly on the company computer include encrypted system . i can't get the right lib(here is F28003x_FlashAPI_SymbolLibrary.lib) . it is ok when i replace a computer.

    Or include the "F28003x_FlashAPI_SymbolLibrary.lib" in the project "F28003x_Bootloader" is error? 

     best wishes .

  • Hello,

    The appropriate expert for this question is currently out of office, returning on Monday 9/16. Please expect a response back by then.

    Thank you,

    Luke

  • Hi Ran,

    Okay is the issue resolved now after replacing the computer?

    Best,

    Ryan Ma

  • thanks for your attention .

    Okay is the issue resolved now after replacing the computer?

    yes, the issue is resolved now when replacing another computer.

    The reason is that the script in another computer can generate the correct library "F28003x_FlashAPI_SymbolLibrary.lib

  • Hi Ran,

    Sounds good!

    Best,

    Ryan Ma