I have a TMS320DM6437 EVM. I need to write my application in the NAND flash and boot ouf ot it..
I see the standard procedure to write the application is through the FlashBurn utility, however it only writes and boots out of the NOR flash.
I looked through the TI forums and found out that basically there are alternative ways to boot out from the NAND flash:
- According to document spraag0d.pdf , Bootloader versions 1.0 and 1.2 support secondary boot only.
1.3 version fully supports NAND flash boot , and the way to determine my bootloader version is reading location 0x0101A00 from ROM.
how do I read that location using CCS ?? ( the only memory access I'm familiar with is looking at the VIEW dropdown menu ->
MEMORY and this shows the L1,L2 L3 data, not ROM) - I downloaded code and a document called NAND secondary boot ( from the docs related to spraag0d.pdf ) , as an option to run code out of NAND in case it is not supported by bootloader directly.
This document indicates a way to upload application code (converted with genAIS utility into AIS format) to NAND,
and then write a secondary bootloader to EEPROM, to be accessed by means of I2C bootload mode, which in turn boots out from NAND flash.
I tried this approach and had problems running the NandWriter code in CCS, it seems that NAND flash ID is not recognized within the valid ID table.
I suspect a project configuration error or something else rather than that error. I read in the TI forums that NandWriter was causing
other problems to others users as well, and that the code for NandWriter had flaws and was very poorly written and not even fully tested.
Is this secondary bootloader approach valid ? if so, which document and code ( Nandwriter version, AIS utility, etc) should I
refer to ? ( I read something about a DVflasher utility but didn't found any solid documentation about it) - Which would be a reliable procedure to be able to write application to / boot out of NAND ? ( I'm gathering pieces of information here and there from forums )