Project

General

Profile

flash and boot utils

Added by Stéphane Peter over 11 years ago

Hello,

I rebuilt the SPI serial flash tool (sfh_OMAP-L138.exe) from the MDK_2013_05_15 sources. Therefor I changed the cross compiler location (I’m working with Cygwin under windows) such as make finished without errors or warnings. But with the new generated executable, I was not able to flash my images anymore. The flash procedure stops and prompts “Waiting for SFT on the OMAP-L138”.
Do I need to patch the sources with ccl specific stuff or should it work out of the box?
Have you plans to migrate to the actual version 2.40?

Thanks
Stéphane


Replies (3)

RE: flash and boot utils - Added by Michael Williamson over 11 years ago

Hello,

Are you using the serial flash tool instead of u-Boot to program application images?

Are you rebuilding the tool to add or alter functionality?

We weren't planning a near term migration of the tool, as we normally only use it to recover a board that someone has accidentally erased the first stage UBL and/or u-Boot image. Also, it's not obvious what the need to migrate versions (the tool meets our current requirements). Is there some feature you are specifically after?

Thanks.

-Mike

RE: flash and boot utils - Added by Stéphane Peter over 11 years ago

Hi Mike,
We are using the serial flash tool to replace the preprogrammed U-Boot with an own SysBios based loader application.
In order to minimize human interaction, we plan to control the Reset and Boot pins via RS232 control signals within the serial flash tool.
Can you provide a simple cook book, how you created your working sfh tool?
Thanks
Stéphane

RE: flash and boot utils - Added by Stéphane Peter over 11 years ago

Hi Mike,

I finally took the newest flash loader sources from TI (v2.40) and followed the wiki instructions (http://processors.wiki.ti.com/index.php/Rebuilding_the_Flash_and_Boot_Utils_Package)
At the end, I only had to change the DEVICE_UART_PERIPHNUM in device_uart.h from (2) to (1) and I got a working sfh-exe. Does it work by hazard? Do you have different DDR, SPI or PLL settings compared to TIs EVMs?

Stéphane

    (1-3/3)
    Go to top
    Add picture from clipboard (Maximum size: 1 GB)