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.

StarterWare bootloader on AM3359 ICE

Other Parts Discussed in Thread: AM3359, SYSBIOS, SYSBIOSSDK-IND-SITARA, AM3352

Hi all,

i' m working with an AM3359 Industrial Communication Engine ICE. While using the spi_flash_writer_AM335X from StarterWare I deleted the bootloader on the ICE. How can I rebuild/reload/restore this bootloader to the SPI flash?

I have installed: CCS V5, Starterware 2_00_00_07 on a Win XP System.

Thanks

Thomas

  • Hi,

    You can go through the below link, It may help you out.

    http://processors.wiki.ti.com/index.php/AM335X_StarterWare_Booting_And_Flashing

    Thanks,

    Laxmi

  • Hi Laxmi,

    i know this page, it describes the flash procedure for the EVM, EVM-SK and Beagle Bone.

    I am working with these instructions, but it still doesn`t work.

    Are there any differences in the booting-/flashing-procedure between these boards and the ICE?

    Thanks

    Thomas

  • Hello Thomas,

    I suspect you are using a wrong bootloader for the ICE EVM since the UART console(UART5) is different for the ICE EVM than that of the EVM, EVM-SK and beaglebone. The starterware release does not support the ICE and the IDK EVM. For the ICE and the IDK EVM there is a different SDK SYSBIOS which has starteware support for the these boards.

    Hence I suggest you to  download the SYSBIOS SDK from the following link:

    http://www.ti.com/tool/sysbiossdk-ind-sitara

    There are documentation for the SDK Release note, Getting started guide and the User guide which you can go through for better understanding of how to build the bootloader and flash the bootloader.

    I recently used the SPI flashing tool from the SYSBIOS SDK (am335x_sysbios_ind_sdk_1.0.0.5\sdk\tools\flashing tools\SPI_Flash) for programming the bootloader to the SPI flash on a ICE EVM. SPI flash bootloader programming and booting was successful.

    Hope this helps.

    Thanks & Regards,

    Benjamin

  • Hello Benjamin,

    your suggestion was right. After solving some confusion, the StarterWare bootloader is flashed into SPI flash and all is fine.

    Thanks a lot

    Thomas

  • Hi,

    I have a similar problem. I can download the bootloader to SPI Flash with the ICE demo board with the SysBios SPI_flasher. When I try to do the same with a custom board, with the same pinout and SPI flash of the ICE, the SysBios SPI_flasher (isdk_spi_flasher.out) and choose the boot_SPI.bin file, CCS5 returns the following error:

    CortxA8: Trouble Writing Memory Block at 0x80100000 on Page 0 of Length 0x6c90: (Error -1064 @ 0x324B00BD) Internal error: Access to unknown or invalid register was requested. Restart the application. If error persists, please report the error. (Emulation package 5.0.872.0)
    CortxA8: Unable to terminate memory download: NULL buffer pointer at 0x3a9f

    I've read that somebody solve this using the Starterware flasher in the SDK but, if I try it, when I launch the SPI flasher (spi_flash_writer_AM335X.out) , the console stops sending message with the following:

    [CortxA8] AM335X part detected. SF: Got idcode ef 40 17
    Checking if Winbond flash writer can be used..

    I'm working with  CCS Version: 5.3.0.00090

    x Thomas: what does "After solving some confusion" means?

    Any suggestions?

    Thanks,

    Luca.


  • - Saterware version - 02.00.01.01, processor Name: AM3352, application present in starterware code examples.
    - I compiled first Drivers,System_config,utils and platform created the library for that. after that i compiled the boot loader file and my application(Gpio_backlight) (cross compiler:arm-none-eabi-gcc )for NAND Flash compatible (make BOOT=NAND) created the (binary/../bootloader/relaese_NAND/(boot.out,boot_ti.bin,boot.bin )3 files is there, as i read in User manual use .bin extension update the board.
    - Here, I am using CCS v.6,
    1.Create the target configuration file. Rightclick on the project name and select New >Target Configuration File.
    2.Give a name to the configuration file the extension .ccxml will be added, AM3352 device and an XDS510USB emulator.
    3. Click Finish. The target configuration editor will open.
    4. Click on view --> Target configuration -->Launch target configuration.
    5. scripts --> run the .gel file.( for initialize the clock and system configuration)
    6. I get the debug information on my CCS console.
    Cortex A8 -> click on connect target.
    7. After that i changed the CPSR register T value 0 --> 1.
    8.after that Boot.bin and application.bin (starterware) updated my am3352 module, run --> load --> load program, i get boot.bin file not determine the target type of file.

    How to fix my Problem,

    Please Specify the exact steps to load the bootloader and application ??.

    I am ask you stupid question( I don't Know) it is possible to load application without using the kernel with the help of starterware(with help of MLO to load an application) ???
    Please replay me, If you get ASAP...

    I am did the above steps, CCS with the help of JTAG USB Emulator.

    Please specify the CCS Steps, To load the Bootloader and application files.
  • - Saterware version - 02.00.01.01, processor Name: AM3352, application present in starterware code examples.
    - I compiled first Drivers,System_config,utils and platform created the library for that. after that i compiled the boot loader file and my application(Gpio_backlight) (cross compiler:arm-none-eabi-gcc )for NAND Flash compatible (make BOOT=NAND) created the (binary/../bootloader/relaese_NAND/(boot.out,boot_ti.bin,boot.bin )3 files is there, as i read in User manual use .bin extension update the board.
    - Here, I am using CCS v.6,
    1.Create the target configuration file. Rightclick on the project name and select New >Target Configuration File.
    2.Give a name to the configuration file the extension .ccxml will be added, AM3352 device and an XDS510USB emulator.
    3. Click Finish. The target configuration editor will open.
    4. Click on view --> Target configuration -->Launch target configuration.
    5. scripts --> run the .gel file.( for initialize the clock and system configuration)
    6. I get the debug information on my CCS console.
    Cortex A8 -> click on connect target.
    7. After that i changed the CPSR register T value 0 --> 1.
    8.after that Boot.bin and application.bin (starterware) updated my am3352 module, run --> load --> load program, i get boot.bin file not determine the target type of file.

    How to fix my Problem,

    Please Specify the exact steps to load the bootloader and application ??.

    I am ask you stupid question( I don't Know) it is possible to load application without using the kernel with the help of starterware(with help of MLO to load an application) ???
    Please replay me, If you get ASAP...

    I am did the above steps, CCS with the help of JTAG USB Emulator.

    Please specify the CCS Steps, To load the Bootloader and application files.
    Edit tags