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 Utilities
Download the utilities' files that are going to be used are attached to this post.
Prepare the application to be flashed to the EVM
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:
...\C642x_FlashAndBootUtils_trunk\C642x\GNU\AISUtils\HexAIS_C642x.exe
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.
Instructions
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:
SW2-1: Off
SW2-2: On
SW2-3: Off
SW2-4: Off
SW1-1: Off
SW1-2: Off
SW1-3: On
SW1-4: Off
SW1-5: On
SW1-6: Off - this seems to be inverted in the TechRef
SW1-7: On
SW1-8: Off
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.