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.

C672x Flash burn utility needed

Other Parts Discussed in Thread: SPRC203

We have migrated from the C6713 to a C672x processor.  In order to program an external FLASH device (AM29Fx00 or similar) with the application code, we were using the FBTC6713 program that came with the Spectrum Digital C6713DSK software (or in a previous CCS_v3.1 software release).

I have mangled my way through the changes required for the C672x as documented in SPRAA69C.  After much heartburn, I believe I have a *.hex image file that may work....unfortunately, I am at a loss for a usable Flashburn utility program.

I took the existing FBTC6713 project and modified (to the best of my knowledge) to work with C672x.  Since the Flashburn.exe (window app that launches separate from CCS) is linked to the C6713DSK, I modified the CCS_Setup to use the C672x processor instead of the C6713 when CCS launches.  So in effect, I am trying to trick the C6713 Flashburn utility to work the C672x - sounds easy, right?

Everything loads and appears to run...but alas, the Flash is not being programmed at all.

At this point I can spend several hours...days...weeks debugging this process, but my inner conscience keeps asking "Why is TI making this so difficult for average users?  Why can't this feature be natively supported in CCS?  Someone at TI has to have knowledge of this process and software available!"

My question therefore is:  What is required to burn software code (e.g. *.hex) into Flash attached to a C6726 (TQFP) DSP?  If there is an easier way (using the AIS file or otherwise) to program code, please indicate.  

Thanks. 

  • *edited post*
    Let me try this again. Apparently my mind was switched off for a little while!

    Traditionally we have used a software package called FlashBurn from a company called Software Design Solutions (www.softwaredesignsolutions.com) to burn an on-board Flash on our DSKs and/or EVMs. The C672x PADK was slightly different in that it used a tool provided by Lyrtech to burn the flash on that specific evaluation board. Their software is a .out file that's loaded onto the DSP which reads in the hex file and burns it to the flash (this is the same thing FlashBurn does).

    Are you working with the PADK or do you have a custom board? The PADK software includes this in the \PADK\flash\makerom directory.

  • Tim - Corey is not using a PADK, this is a custom board.  Would the software for the PADK be a good starting point for working with a custom board?  Where can we get it?

     Thanks-

  • Lyrtech does not provide the source for their utility provided with the PADK.  They should purchase the Flashburn Porting Kit from Software Design Solutions.

    Brad

  • I used a PADK EVM.When I wanted to try the bootloader from prallel flash,I had a trouble in process.I followed the operation in PDF of PADK. In D:\Lyrtech\PADK\bootload\flash\makerom,there are a makerom.exe.   

    I made a FLASH_SwitchesAndLeds.out with the provided example that named SwitchesAndLeds.
    But after these operations,when I run the  FLASH_SwitchesAndLeds.out,the CCS4 told me "the main() in the Updater.c were Unfound".And the PADK doesn't provide the soucecodes.So the bootloader didn't success.

    Could you give me some help?Thanks very much!

  • It's just a status/warning message but in no way prevents you from executing the code.  In other words you can still burn the flash.  Just hit run.

  • But it seems that it can't run successfully.I waited for the results about  2 hours.The uart&midi leds was still flashing ,not on and not close.(The "Readme.txt" notice: When you see the LEDs close to the UART and MIDI connectors flashing alternatively, reset the board to execute the programmed application. Make sur the board is set to boot from the flash.  If the LEDs remain on without flashing, the flashing failed. Please power cycle your board and retry.  )

    I also used the flashburn.prj of padk_examples in "sprc203.zip".It told me "Error writing to FLASH, error code = -4".(in PADK_FLASH.h,#define FLASH_ERROR_NOMEMORY   (-4)).However I write a simple flashburn programme by myself that can burn flash successfully.

    So I don't know what's matter.Could you tell me what I should do?