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.

C2000-GANG: About ERROR 385 and ERROR 396

Genius 5615 points
Part Number: C2000-GANG
Other Parts Discussed in Thread: TMS320F28034

Hi experts,

My customer is trying to program the TMS320F28034 using C2000-GANG and is experiencing a very similar phenomenon to the original thread.

Q1: If I get ERROR396, 0kB, CS=0x0, should I be suspicious of the contents of the hex file itself?
I believe the solution is to select the hex utility settings memwidth=16, romwidth=16 and create an intel hex format file. The customer is converting the .bin file to a .hex file with another tool. I converted the sample code provided by TI to an intel hex format file on my own PC and ERRO396 is gone. The original and other threads have reported that this is a bug in C2000-GANG, and I would appreciate it if you could tell me if this could be a bug or if you know of any other factors.

Q2: What are the possible causes of the ERROR 385 message?
We are currently using the hex utility to change to the intel hex foramt and then asking the customer to try writing. We believe that the ERRO 385 will also disappear by taking the measures described in Q1, but please let us know if there are any fundamental factors or measures that are wrong.

Best regards,
O.H

  • Hi,

    Both these errors are related to the code contents:

    385 -> ERR_NOTHING_TO_PROGRAM
    396 ->  ERR_CODE_OUT_OF_SPACE

    Please convert the out or binary file using the hex2000.exe tool, or in CCS select option for creating the hex 16 b widht code file and all would be OK.

    Let me know if you have any questions.

    Best regards,
    Gregory Czajkowski
    Elprotronic Inc.

  • Hi Gregory Czajkowski,

    Thank you for your support.

    It was as you said. The customer informed me that they were able to program it without any problems.
    I hope this thread will help others.

    Best regards,
    O.H