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 API error 22

Other Parts Discussed in Thread: TMS320F2812

Sir

while doing the erase program verify operation,it showed that erase operation failed(flash API error 22)

This error says that erase failed bcoz sector could not b erased with max allowed no: of pulses

Can u tell me where should i change to rectify this mistake?

thank u

viju nair

  • Viju,

    Could you provide the following information:

    Device being used

    CCS Version

    JTAG Emulator

    Thanks,

    John

  • thanx john for replyng

    device TMS320F2812

    CCS VERSION :3.1

    JTAG:its a 25 pin parallel port(exact name ,i couldnt find)

    plz reply

    thank u 

    viju nair

  • That is a pretty ancient version of CCS.  Our current version is CCSv5.2.1.  There have been quite a few changes to the flashing tools over the past 7 years.  The best option would be to upgrade CCS to a newer version.  There is a trial version that you can download.  However you will need to figure out what JTAG emulator that is to see if there are drivers for it for newer CCS releases.

    The error may be addressed by just updating the flash API.  I found the following info searching around:

    From the TI web site (http://focus.ti.com/lit/an/spraab6/spraab6.pdf), the doc says: "The new F281x silicon version G requires Flash API V2.10 and will not operate correctly with Flash API V1.00. You will need to update the flash APIs to V2.10 in all areas, including product development, manufacturing, and any embedded software flashed onto the processor for field updates." "The REVID field for Rev G will be 0x0007 at memory address 0x883. Rev G devices will be symbolized as shown below. The ‘G’ represents the silicon version. TMS 320F2812AAAA CG-XXXXXXX"

    You can try installing the latest version of the flash plugin and API for CCSv3.x:

    https://www-a.ti.com/downloads/sds_support/C2000-3.1-SA-to-UA-TI-FLASH2X.HTM

    Regards,

    John

  • i updated flash programmer to v1.12.5 and it worked.....

    thank u very much

    viju nair