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.

CCS/AMIC110: RTOS boot issue

Part Number: AMIC110

Tool/software: Code Composer Studio

Hi TI FAE,

I was trying to deploy the sample RTOS template app on this page
Here is my setup:

  • Evaluation board: AMIC110 ICE EVM
  • TI-RTOS: processor_sdk_rtos_am335x_6_00_00_07\demos\rtos_template_app
  • Bootloader: pdk_am335x_1_0_15\packages\ti\starterware\binary\bootloader\bin\am335x-evm\bootloader_boot_mcspi_a8host_release.bin

When on debugging phase, there is no problem occurred. But after flashing the image into EVM, there is no output have been shown.

I write the script too for generating the rtos_template_app_n335x_a8_ti.bin file and rtos_template_app_n335x_a8.bin file from rtos_template_app_n335x_a8.out

"${CG_TOOL_ROOT}/bin/arm-none-eabi-objcopy" -O binary "${PROJECT_BUILD_DIR}/${ProjName}.out" "${PROJECT_BUILD_DIR}/${ProjName}.bin" & "${TI_PDK_INSTALL_DIR}/packages/ti/starterware/tools/ti_image/tiimage.exe" "0x80000000" "NONE" "${PROJECT_BUILD_DIR}/${ProjName}.bin" "${PROJECT_BUILD_DIR}/${ProjName}_ti.bin"

I try to flashing SBL and ti-rtos using SPI and it was executed successfully.
But in the middle of execution, it stopped and showing me the log message like below:

StarterWare Boot Loader
BOARDInit status [0x0]
SoC : [AM335X]
Core : [A8]
Board Detected : [AMIC110]
Base Board Revision : [UNKNOWN]
Daughter Card Revision: [UNKNOWN]
MCSPI Instance number: 0
Channel/Chip Select number: 0
The instance address is 48030000
offset = 0x20000, size = 0x8, dst = 0x402f9d50

Copying Header of the image
Copying image from flash to DDR
offset = 0x20008, size = 0x181f0, dst = 0x80000000
Jumping to StarterWare Application...

Do I missed some of the procedure?

If yes, Could you please explain to me how to make my AMIC110 EVM board works?

I would appreciate if you help me to solve this issue.

Thank you for your support.

  • User4658440,

    Can you please indicate how you flashed the image and what offset have you programmed the application on the flash? The RTOS template app may not be designed to work as is from SPI boot so can you please check the .map file for the application and confirm that the symbol Entry is located at base of DDR memory at 0x80000000. Have you tried to boot any other application like GPIO LED blink example?

    The procedure to debug booting of applications using SBL is described here so you can try to load the symbols and check to see what causes the application to fail while booting. 

    http://software-dl.ti.com/processor-sdk-rtos/esd/docs/latest/rtos/index_Foundational_Components.html#software-debug-steps

    Regards,

    Rahul

  • Hi TI FAE,

    Thank you for your reply,

    I try to execute this sample program (spi_flasher\isdk_spi_flasher.out) and below is flashing log message

    [CortxA8]
    AM335x ISDK Flasher Version - 2.0.1 for ICEv2
    SPI id selected - 0
    Manufacturer ID read is 0xef.
    Device ID read is 0x16.
    Enter Operation [1 - Flash ] [2 - Erase] :
    1
    Enter the binary type [0-Bootloader, 1-Other ]
    1
    Enter the Offset in bytes (In HEX. eg:- bootloader :0x0 app : 0x20000)
    0x20000
    Load .bin file to 0x80100000 and Enter 0 to continue
    0
    Flash erase offset = 131072 , length = 106496
    Writing...
    Verifying...
    Flashing Done

    Until this flashing part everything work fine, but after that when I execute the program, It did not work.

    So I try another program to execute (GPIO blink LED) using the same flashing approach before and the program works.
    (\ti\starterware\binary\gpio_app_led_blink\bin\am335x-evm\gcc\gpio_app_led_blink_a8host_debug_ti.bin)

    I already open the .map file (file attached) for making sure symbol entry is located on DDR3 memory 0x80000000 and I think it looks fine.
    Could you please check the .map file which I attached below for making sure does my RTOS template app are supported or not with the EVM?

    I would appreciate if you help me to solve this issue.

    Thank you for your support.

  • Because .map file cannot be attached on this forum, I change the extesion into txt just in case.

    Please change the extension back into .map after download is finished.

    Thank you