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.

Flash2802x_API

Expert 2730 points
Other Parts Discussed in Thread: CONTROLSUITE

Hello,

The files for F2802X for FLASH API are missing from controlsuite. Instead of correct files, there are Flash2803x_API_Library.h and Flash2803x_API_Config.h.

 

-JHi

  • JHi,

    You're absolutely correct!  Thanks for bringing this to our attention.  I will make sure this gets fixed in the next release, but until then you should be able to use the header files in the example directory which are in fact correct.

    Take a look here (assuming you installed controlSUITE in the default location):

    C:\TI\controlSUITE\libs\utilities\flash_api\2802x\v201\example

    Thanks again,

    Trey

  • I copied the header files from there already. Thanks.

    Now I have problems using the API with 28027. If I try to erase the flash, the erase function will retrun SUCCESS even though the flash is not erased at all. And if I try to write something to flash it will give me an address error (Status = 12). I used the same function calls successfully with 28035 (of course with 28035 library). Do I need to add something to linker command file? Function copies from flash to ram were removed from the example api because it said that all these things are in bootrom so I don't have those added.

    Status = Flash_Erase((SECTORB|SECTORC|SECTORD), &FlashStatus);

    Data = 0x2212;
    Flash_ptr = (Uint16 *)0x3F0000;
    Length = 1;
    Status = Flash_Program(Flash_ptr,&Data,Length,&FlashStatus);

     

    JHi

  • Problem solved. I had to use API v2.00 for my controller. I guess I still have 0 version of the controller.

     

    -JHi

  • Trey,

    http://e2e.ti.com/support/microcontrollers/tms320c2000_32-bit_real-time_mcus/f/171/p/91220/322839.aspx#322839

    For your reference - probably you should refine your internal communications...

    Best regards

    Andreas

  • Andreas,

    Thanks for letting me know about that other thread.  While we may have the same face externally, internally a lot has been going on with the software team to improve how customers experience our software.  One of the big changes this past year was how we track and fix bugs.  Between when you posted that other thread and now we switched to a new bug tracking system, so while I'm sure Lori tracked the original issue when we switched to our new system this flash issue may have fallen through the cracks.

    I appologize for any confusion.  We are constantly working to improve controlSUITE and how you the customer experience it.  Be on the lookout for big improvement in 2012 ;)

    Trey