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.
Install FlashBurn utility
The easiest way to burn the FLASH for C6424 is to get the FREE flash burn utility from Software Design solutions at: http://www.softwaredesignsolutions.com/flashburn.aspx
And get the additional board package for C6424: http://www.softwaredesignsolutions.com/flashburn_faq.aspx#FAQ7
Also you need to have CCS installed for the DSK
Download the utilities' files that are going to be used are attached to this post.
The file should be in hexadecimal format (Motorola S-record or ASCII hex). A CCS COFF file (the .out file) can be converted to proper hex format using the provided hexAIS tool, found in:
After you downloaded the file C642x_FlashAndBootUtils_trunk mentioned above.
Note that the hexAIS tool is a .NET application and requires the Microsoft .NET Framework v2.0 or higher to be installed. See the readme.txt file for more details.
Or use the genAIS perl script (supplied with spraak5a) can be used to generate a binary AIS file and the hexAIS utility can then convert this to the hex format. The
a. Example: Run (Start->Run, type: cmd, a dos window will open) HexAIS_C642x a.out to produce the file a.hex, which can be flashed to the NOR flash of the EVM. This procedure uses the included file, C642x.ini, to provide information on basic initialization of the system PLLs, DDR interface, and EMIFA interface
b. Example: Use the genAIS perl script (from spraak5a) to generate a binary AIS file (this utility provides more options, but is also more complex to use). Then run ‘hexAIS -ais2hex a.ais’ to generate the file ‘a.hex’, which can be flashed to the NOR flash.
This .hex file will be used in step 11 bellow.
1. Connect the EVM to the PC via the supplied USB cable to use the board’s embedded emulation support.
2. Apply power to the EVM
3. Start C6424 EVM CCStudio v3.3 by clicking on the icon (installed from the Spectrum Digital CD included in the DVDP package) or use your full version set up for the EVM.
4. Make sure that the Switch SW1[4:1] = 0000. See page 42 of: http://c6000.spectrumdigital.com/evm6424/reva/files/EVM6424_TechRef.pdf
5. Connect to the target EVM by hitting ALT+C in CCS.
6. Open the FlashBurn DSK Utility by going to Start->All Programs->Software Design Solution->FlashBurn DSK and running “FlashBurn DSK”.
7. If asked, choose to “Create a New FlashBurn configuration”. Otherwise, within the FlashBurn Utility, go to File->New to start a new configuration file (cdd file).
8. In Step 1 of the FlashBurn DSK dialog box, connect to the target by clicking on the dropdown selection box and choosing “EVM-C6424 (cpu_0)”, then clicking the “Connect” button. The dialog box will update to reflect the connection status.
9. In Step 2, click on the Browse button following the “FBTC Program File” field to locate and select the provided FlashBurn Target Component (FBTC), “FBTCEVM6424.out”. It can be found at: C:\Program Files\SoftwareDesignSolutions\FlashBurnDSK\examples\EVM6424\FBTCEVM6424.out
10. Do a global erase of the NOR flash to prepare for writing, by clicking the “Erase Flash” button in Step 3 of the FlashBurn DSK dialog.
11. In Step 3, browse for the File to burn to the NOR flash. The file should be in hexadecimal format as described above. Leave all other settings at their default. Click the Burn icon or select Program->Program Flash from the menu.
12. A status bar will show the progress of the operation.
13. The results of the flashing operation will appear in the status bar of the FlashBurn window.
14. If the burn fails, do a complete erase of the NOR region, and then try again.
15. Close FlashBurn (optionally saving the configuration file). From within CCS, hit ALT+C to disconnect from the board. Close CCS. Power off the board
16. Set the SW1 and SW2 switches as follows:
SW1-6: Off - this seems to be inverted in the TechRef
See page 42 of: http://c6000.spectrumdigital.com/evm6424/reva/files/EVM6424_TechRef.pdf
17. Turn on the board and your application should start.
Thanks go to Mariana for putting this article together.
I'm writing to you because I'm in trouble with the TMS320C6424 boot loader.
I tried booting my application by using
as suggested by you and my application booted and worked well.
Then, I tried booting my application by using "genAis.pl" inside "spraak5a.zip" downloaded from TI site. I'm using 5.8.8 Active Perl Version.
I wrote a batch file as follows to launch the "genAIS.pl" application:
"genAIS.pl -otype bin -i my_app_flash.out -o my_app_flash.ais -bootmode emif -datawidth 16 -cfg my_app_flash.cfg"
The "my_app_flash.cfg" file is below:
0x5853590D # Function Execute Command0x00030000 # Selects PLL Configuration function with 3 arguments0x00000015 # PLL Multiplier Value0x00000000 # PLL Divider Value0x00000000 # Oscillator Source0x5853590D # Function Execute Command0x00050001 # Selects EMIFA Configuration with 5 arguments0x3FFFFFFD # A1CR Control Register Value0x3FFFFFFD # A2CR Control Register Value0x3FFFFFFD # A3CR Control Register Value0x3FFFFFFD # A4CR Control Register Value0x00000000 # NANDFCR control register value0x5853590D # Function Execute Command0x00090002 # Selects DDR configuration with 9 arguments0x00000017 # DDR PLL Multiplier Value0x00000001 # DDR Clock Divider Value0x0000000B # VBPE Clock Divider Value0x00000000 # DDR Clock Source0x50006405 # DDR Control Register Value0x00138822 # SDRAM Config Register Value0x16492148 # SDRAM Timer 0 Register Value0x000CC702 # SDRAM Timer 1 Register Value0x000004EF # SDRAM Refresh Control Register Value
Then I used
"...\C642x_FlashAndBootUtils_trunk\C642x\GNU\AISUtils\HexAIS_C642x.exe -ais2hex my_app_flash.ais"
and with "FlashBurn DSK" I wrote the NOR flash of my DSP but, in this way, my application doesn't work...and I don't know why....
I need to boot my application from I2C but, at this point, I dont't know how I can reach this result.
If you could help me, I would appreciate it a lot.
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to fabio di gennaro:
If your boot is failing, in addition to analyzing the settings you are converting to hex with, you may want to try debugging what is running out of flash. You should be able to use the load symbols capability of CCS to debug code you have loaded into the flash, this may give you some idea of how it is failing, there is an article on debugging from flash here.
In reply to Bernie Thompson TI:
In reply to hatim butt:
Regards, Arvind Singh.
-----------------------------------------------------------------------------------------------Please click "Verify Answer" button if this post answers your question.-----------------------------------------------------------------------------------------------
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.