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.

TMDXICE3359 boot app from SD card fail.

Other Parts Discussed in Thread: SYSBIOS

Dear all:

Do anyone try to load pre-built  examples from SD card successfully?

My TMDXICE3359 can run LED-blink demo (factory default: run  boot loader & LED demo from SPI flash) successfully.

After copy the prebuilt app (either LED, UART and Ethercat demo with name "app") into SD card and plug in the board, it seems not work after reset. Just D3 and D24 is light on, others diodes are off, it seems the board hangs. If I remove the SD card and reset, the LED-blink demo works fine again (The board and SPI boot  is OK).

When loading either demo from SD card, I can see terminal shows:

*** StarterWare AM335x Boot Loader. Build - 1.0.0 ***
Copying application image from MMCSD to RAM

Copying to RAM completed successfully
 Image Copy Successful, Executing Application..

It seems loading app OK but runs fail. Is there any thing I can do to check the problem?

  • What SDK version are you using? Version 1.0.0.3 is live since a few days.

    Regards.

  • Hi,

    which version of pre-built binaries are you using ?

    I believe that  you are using pre-built binary version 1.0.0.3 which is not compatible with 1.0.0.2 boot loader( From your log I can see that the bootloader version is 1.0.0.2). please see the below given link for details.

    http://processors.wiki.ti.com/index.php/AM335x_SYSBIOS_Industrial_SDK_01.00.00.03_Release_Notes#New_In_This_Release

    If there is a version mismatch between boot loader and application, I would recommend you to flash the latest boot loader to SPI flash and try again. Falshing instructions are available here - http://processors.wiki.ti.com/index.php/AM335x_SYSBIOS_Industrial_SDK_Getting_Started_Guide#Flashing_Binaries_to_SPI_Flash_on_ICE.C2.A0Using_CCS

    Please  let me know if there are any questions.

    Regards,

    Shahid

  • Hi:

      The installed directory on PC said it's "am335x_sysbios_ind_sdk_1.0.0.3." I think it's version 1.0.0.3.

    I try to rebuild the examples from CCS 5.1.1.00031. After import the projects, the Ethercat & i2c_led can build successfully, however uartecho failed to build with following message:


    **** Build of configuration Debug for project uartecho ****

    C:\TI\ccsv5\utils\bin\gmake -k all
    gmake: Target `all' not remade because of errors.

    **** Build Finished ****
    
    
    I have no idea what's wrong, can you check it?
    
    
    Both Ethercat & i2c_led can download via CCS5  to board and runs ( I check the message dumped from UART to see what's running).
     I then copy the binaries to SD cards and rename it as "app". I found that :
    
    
    ethercat_SD.bin/ethercat.out renamed as app: fail to run inside SD card.
    ethercat.bin renamed as app: ok to run inside SD card.
    
    
    The i2c_led is the same condition:
    
    
    i2c_led_SD.bin/i2c_led.out renamed as app: fail to run inside SD card.
    i2c_led.bin renamed as app:  ok to run inside SD card.
    
    
    It seems the name xxx_SD.bin is not suitable for SD card.
  • For uart_echo project, did you build the RTSC configuration( .cfg ) file after importing the project ? If not , just double click the .cfg file.This will build the configuration file for you. Once that is done, build the project.

    As you have pointed out,

    ethercat.bin and i2c_led.bin will successfully get executed as the existing boot loader on your board is an older version. But, ethercat_SD.bin and i2c_led_SD.bin has header attached to it and hence will not work with your existing bootloader. To execute these binaries, you will have to flash the newer version of bootloader on your board as mentioned in my previous post.

  • Hi:

     I got it. I will update the bootloader to newer version and test again. 

     And I can build the uart_echo project now after double click the uart_echo.cfg. Thank you.

    Can you tell me why need to double click the cfg file. It seems no need to do this when I use CCS4 with other projects.  Which manual should I check?