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.

28027 flash programming via SCI

I have been trying to load program to 28027 flash via SCI, which is required by our product spec. Sometimes the loading (through SCI) was OK sometimes it failed.

However the flash was NEVER programmed in either case.

I converted .out file into .a00 file and then tried to load the .a00 file into the 28027 control card (on experiment board) through the TI provided GUI.

I believe that the GPIO setting are correct (GPIO34 = hi and GPIO37 = low) because I saw the programming was proceeding.

Before the programming, I erased the flash through JTAG.  After the programming, I checked the flash through JTAG. The flash is still in erased state.

Could we program the flash through SCI on 28027? Please help us at your earliest convenience thanks.  

I have .out and .a00 files to send to you.

  • Arrow,

    Yes, Flash can be programmed via SCI.  It does not matter how the Flash API and program code are transferred in to the device, transfer can be done using any of the peripherals supported in bootcode or through JTAG.  Please refer to the app note http://focus.ti.com/lit/an/spraaq2/spraaq2.pdf, this helps in building your own flash programmer.

    Regards,

    Vamsi

     

  • Arrow,

    as Vamsi mentioned,  FLASH can be programmed via SCI. However, it is not sufficient just to load your new binary image (.out; .a00,...) into the device. You also have to provide the correct FLASH - API functions for Erase, Program, Verify. A FLASH programming via SCI must follow this sequence: 1. Load the new image AND the FLASH - API via SCI into RAM memory of the DSP (optionally keep the FLASH - API functions permanently in FLASH and copy them from FLASH to RAM before calling). 2. Call the FLASH - API functions to program the image from RAM to FLASH. 3. Jump into the entry point of your code.

    Regards