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.

AM3354 booting issues

Other Parts Discussed in Thread: AM3354

Hi All,

  II am a beginner with ARM series processor. I am unable to make the AM3354 to make boot from SD card in our custom made board. When the board power up it starts boot from ROM and prints "CCCCCCCCC" and then stay stuck. I don't have a JTAG to verify where exactly the problem is happening. In SD card all the data signals and clock is coming for a small interval and after that no communication between controller and SD card( I have verified with CRO).  Can any one suggest me how to debug this problem ? 

Kind regards

Anandu 

  • Hi Anandu,

    Which platform are you using? A custom board or one of the official TI evaluation boards?

    What the "CCCCCCC" characters mean is that the board is trying to boot from UART, but no connection can be estabilished. This may occur due to wrong sysboot configuration or because you have nothing useful to boot from on your SD card and the ROM code advances to try and boot from the next source in the current SYSBOOT configuration. You can check all available SYSBOOT configurations inside the AM335x TRM - section 26.1.5.2.1 SYSBOOT Configuration Pins.

    Best regards,
    Miroslav

  • Hi Miroslav Kiradzhiyski,

       Thanks for the answer . We have made our own board similar to TI sitara board evaluation board. We have one more board and it is working perfectly with the boot config we are trying and it  boots without any problem. In this board also we are not finding any visible H/W  issues. Can you suggest us some way to debug this issue?

    Best Regards

    Anandu S

  • Hi,

    Check if the SD card is properly formatted and all the required files are present inside the boot partition. There is a create-sdcard.sh script inside <sdk_folder>/bin/ that you may use to format the SD card and copy over the necessary images. You may also try to boot with this SD card on the other board or boot with another SD card on the problematic board to check if the SD card is physically working.

    You can also check the levels of the sysboot pins. If you have peripherals connected to the sysboot pins, they may pull-up or pull-down the sysboot pins incorrectly.

    Best regards,
    Miroslav

  • Hi Miroslav,

     Now i tried to boot from UART0 instead of SD card. Once it start booting from UART0 by printing "CCCCC" i just start the upload of u-boot-spl.bin, and it is getting downloaded. After that I am not getting any response from the processor. What can be the possible reason for this?. In the other board  I have  tried the same procedure and it is working fine. Can you please help me out?

    Regards

    Anandu

  • Hi,

    Are you sure the other board doesn't fall-back to another boot method? Please make sure all other boot sources are empty - NAND flash, SD card slot.

    Also please describe the steps you execute for UART boot. The correct procedure is:

    1. Set the SYSBOOT pin configuration for UART boot.

    2. Send the u-boot-spl.bin file via U-Boot. Note that you have only 3 seconds to start the transfer - otherwise the UART boot will timeout. This information is from TRM section 26.1.8.5 UART Boot Procedure.

    3. After the transfer is complete you need to send the u-boot.img file and only after that, the board will boot into U-Boot.

    Best regards,
    Miroslav

  • Hi Miroslav,

     Thank you very much for the immediate responses.

    Following is the sysboot config currently I am using.

    SYSBOOT[4:0] = 00100

    I hope this is correct.

    Once it start wait for UART boot loader u-boot-spl.bin  loaded through UART with the help of Teraterm using 1K XModem. It showing that the upload is success.

    But after that I am not getting any response through the console. In the other board  I was getting some boot logs, after that it was waiting for U-boot image to load but here I am not getting any responses


    Best Regards

    Anandu S


  • Hi Anandu,

    Your SYSBOOT configuration is OK. Here is what I think is happening:

    The ROM code is waiting for the u-boot-spl.bin file via UART. Once this file is received in the internal RAM, the SPL takes over the control and tries to initialize the on-board DDR. This is where I think something is going wrong - perhaps the DDR fails to get initialized on one of your boards and this is why there is no response from the system.

    I don't know if you have followed these steps here: http://processors.wiki.ti.com/index.php/AM335x_EMIF_Configuration_tips , but even if you had, please go through them again. Note that this procedure needs to be performed once for each different layout, so if your two boards have different layouts, you can't use the same EMIF configuration for both of them.

    Best regards,
    Miroslav