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.

TMS320F28388D: cpu2 programming issue : error code 509

Part Number: TMS320F28388D
Other Parts Discussed in Thread: C2000WARE

Hi everybody , 

we fail in programming CPU2 flash .

In the TMS320F28388D we are running  the CPU2, but we fail to write/erase  its flash.

We use the same functions and methods as  we use in CPU1 .

Also we use the flash API  dedicated for F28377D ( which work ok for CPU1 in F28388D).

Is there any issue with write the flash memory of CPU2 F28388D ? 

To notice   the api function Fapi_issueProgrammingCommand   when running in CPU2  return error code 509 .

I didn’t find any description on this value in the library document  and also it is not defined in the Fapi_StatusType  enum structure.

best regards

Carlo

  • Hi Carlo,

    It is recommended to use F2838x Flash API for programming. Please wait for next C2000Ware release for the library.

    For CPU2 flash programming, did you claim the pump semaphore before programming?

    As mentioned in the F2837xD Flash API Guide

    "Pump semaphore should be gained by a CPU before performing Flash operations (erase, program,
    verify) on its bank. Flash API does not configure the pump semaphore."

    Please refer example at C2000Ware_X_XX_XX_XX\device_support\f2837xd\examples\dual\flash_programming

    Could you please try using this approach?

    Thanks, Katta