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.

How to flash NOR flash for TMDXICE3359

Dear all:

 Per another post, it seems my TMDXICE3359 board comes with older version bootloader (1.00.00.02) and I try to burn the boot loader into NOR Flash.

 It seems I can burn it successfully, but after power on reset, I got nothing (no message shown on terminal, only D3 light on, others off). Below is what shown on console when burning.

[CortxA8] NOR Flashing Tool Started
[CortxA8] Error Type1 : 0
[CortxA8] Enter Operation [1 - Flash ] [2 - Erase] :
1
[CortxA8] Enter the File Name
c:\boot_NOR.bin
[CortxA8] Enter the Sector [0-15] :
0
[CortxA8] Load .bin file to 0x80100000 and Enter 0 to continue
0
[CortxA8] Erasing sectorBase 8000000
[CortxA8] Erasing sectorBase 8004000
[CortxA8] Erasing sectorBase 8006000
[CortxA8] Erasing sectorBase 8008000
[CortxA8] NOR Write complete.

The question is:
1.  The second line shows "Error Type1: 0", which not mentioned on user manual. Is it a normal message?
2. What's the option should I select when loading boot_NOR.bin into memory 0x80100000, 8/16/32 bits? swap should check or not?
3. How to dump NOR flash data to check if it properly burned?
4. What further steps I can do to check the flow?
 
  • 1.  Yes. Its is a normal debug message. 
    2. 32 bit. Swap unchecked.   
    3. Currently, NOR flashing tool does not support data verification. 

    The possible way to verify the burned content is through Code composer studio.. This can be done as given below,
    • Connect target with CCS.
    • Put a Hardware break-point  at address 0x08000000 ( This is the entry point for boot loader)
    • Once the control reaches at the entry point, save the memory contents ( starting from 0x08000000 to size of boot_NOR.bin ) to local system using "Save memory" option.
    • Compare these boot_NOR.bin and the newly saved file .
          
    4. Placing a hardware break-point at 0x08000000 is the first thing that we can do. If the control does not reach there, it means NOR doesn't have the boot loader yet. 


    Do you have the SD card attached to the board ? if not, please copy the ***_SD.bin to SD card ( renamed to app) and try again.
  • Dear Shahid:

     Thanks for the information. By changing the load memory option to 32 bits, I can run the boot loader from NOR flash and it can boot the app from SD card.