Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

Booting from NAND flash on TMCXEVM6657LE evaluation module

$
0
0

I am attempting to boot a TMCXEVM6657LE evaluation module from its NAND flash, but it doesn't appear to work.

Without going into a lot of details, here is what I did:

  1. Built an executable that flashes the LEDs on the eval module.
  2. Converted the executable to hex format using HEX6X.EXE, which is a TI compiler tool.
  3. Converted the hex file to binary using an in-house tool.  This reduced the size of the file to 1/3 of the original, which is nice when you're loading it over JTAG.
  4. Loaded the binary image into NAND flash at offset 0, using in-house and platform APIs.
  5. Verified that the NAND image was correct by comparing it to the binary file, and by dumping the boot table (it matched the executable's map file).
  6. Set the eval card's switches:
  • S3, switch 1 = 1 (little endian)
  • S3, switches 5:2: 0011 (boot from NAND)
  • S3, switches 8:6: 000 (bits 2:0 of boot configuration)
  • S5, switches 3:1: 000 (bits 5:3 of boot configuration = boot from block 0, do not use I2C).
  • Powered the board on and off.
At this point, I expected the LEDs to dance, but nothing happened.  I don't know where to go from here.
One concern I have is that on page 22 of the eval card manual, it defines the switches as I described them above.  On page 49, however, there is a note that says to set switch S5 differently, and says something about NAND boot mode using I2C.  I suspect that the problem is here, but I don't understand what it means, nor do I know what to do.  I tried setting S5[4:1] to 0010, but it didn't make a difference.
I'll be glad to provide detailed information to anyone who needs it.
Thanks,
jw

Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>