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.

AM3359: ICEv2 SD card boot issue

Part Number: AM3359

Dear Experts,

We have 4 AM3359 ICE development boards. The boards boot properly from SPI FLASH. But we cannot get the boards to boot from the SD card. We have followed the instruction in formatting the SD card and we copied various prebuilt MLO files and app files. We are using Tera Term set to 115200 BAUD. After power up we push the reset button and nothing come out.

Additionally we have a 4379 development board that we are using as a network TAP. This works properly from the SD card using the same format procedure. Obvioulsy the MLO and app files are different for the 4379 and the 3359. My point is that the SD card formatting is the same and works fine on the 4379.

We have completly erased the SPI FLASH on the 3359 and the boot jumpers are factory set. To erase the flash we used the SPI Flashing Tool (SPI_FLASH_WRITER_AM335X.out) through CCS to erase the SPI FLASH. It claims that it was successful.

We tried using a 32 and an 8 GByte SD cards that were formatted with FAT16 and FAT32. There was no difference.

We are stumped and need your help.

Thank you.

Drew

  • Hi Drew,

    The to format the SD card for ROM bootloader, you will need the HP format tool:

    https://download.cnet.com/HP-USB-Disk-Storage-Format-Tool/3000-2094_4-10974082.html 

    Ming

  • Hi Ming,

    We tried that before and it did not work. I down loaded another copy from the link you provided and it did not work again. Nothing comes out of the Tera Term even after pushing the reset button.

    That format tool does work on the 4379 board but not on the 3359 ICE board. With different files of course.

    Hope you can help, we are stumped.

    Thanks Drew

  • Hi Drew,

    Please check your J5. For MMC/SD Boot Pin 2 and 3 shorted on J5. The ROM bootloader looks for a file named 'MLO' in the SD card and if found, loads it to IRAM and executes it. The SPI bootloader should not be present in SPI flash. Please make sure the SPI flash is erased completely.

    Ming

  • Hi Ming,

    We already checked all of that. However we checked it again and indeed pins 2 and 3 are shorted on J5. We erased the SPI FLASH using the SPI Flashing Tool (SPI_FLASH_WRITER_AM335X.out) as noted in my original post See below:

    We have completly erased the SPI FLASH on the 3359 and the boot jumpers are factory set. To erase the flash we used the SPI Flashing Tool (SPI_FLASH_WRITER_AM335X.out) through CCS to erase the SPI FLASH. It claims that it was successful.

    We need you help as we are stuck.

    Thanks,

    Drew

  • Hi Drew,

    You can try to use the C:\ti_am3_610\processor_sdk_rtos_am335x_6_01_00_08\prebuilt-sdcards\evmAM335x\sd_card_img\sd_card.img.gz to make your bootable SD card. If it works, you just need to replace the app file for your application.

    The AM335x has more restrictions on how the SD card should ne formatted than the AM437x

    Ming

  • Hi Ming,

    We had tried that once, but we just now tried it again and it does not work. Nothing comes out of the Tera Term.

    The file sd_card.img.gz simply unzips to have two files, MLO and app, it is not an image file. Is that correct? I just copied them onto the SD card.

    What now?

    Drew

  • Hi Drew,

    The sd_card.img.gz can be unzipped into sd_card.img which is a SD card image file. You will need to use this image file to make your boot SD card. The C:\ti_am3_610\processor_sdk_rtos_am335x_6_01_00_08\prebuilt-sdcards\evmAM335x\sd_card_files on the other hand has the two files (MLO and app).

    Ming

  • Hi Ming,

    That worked.  Yeaaaa!

    What we were doing wrong was when I extracted the .gz file using 7Zip it showed the .img file. I then clicked on that and saw the two files: MLO and app so I dragged them to the desktop and then drug them onto the SDCARD that was formatted using the SD format utility. That did not work. However when we extracted the .img file and then used the image write software that worked. I thought the process was just like the 4379 board. But it appears that it is not.

    Now I just need to figure out how to create and .img file that holds the MLO and our app.

    Thak you for your help. We could not have done this with out you.

    Thanks,

    Drew

  • Hi Ming,

    We just realzed that once you create the image on the SDCARD, you can drag and drop the application on to the SDCARD that was previously formatted with the image. That is easy.

    Again thanks for your help.

    Drew

  • Hi Drew,

    I am glad that I can help.

    Yes, once you create the SD card with the *.img file, you can just replace the app file with your application and keep the MLO intact.

    Would you mind mark this thread as "Resolved"? Thanks!

    Ming