TI E2E Community
Sitara Processors Forum
TI Flash Tool v1.6 on AM3703
I am currently trying to utilize the Flash Tool to flash a custom AM3703. Right now, I am seeing the same error as some have reported. Namely,
¯ -omap 3
¯ -com 52
¯ -t 60
¯ -p CUSTOM_AM37XX_BOARD
¯ chip_erase NANDINFO1BITBOOT 0
¯ Leaving parameter file:temp_script.txt
¯ Looking for device (omap com52)
¯ Please turn off device, then turn it on again
¯ Awaiting ASIC id
¯ AsicId items 04
¯ AsicId id 01 05 01 36 30 07 07
¯ AsicId secure_mode 13 02 01 00
¯ AsicId public_id 12 15 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
¯ AsicId root_key_hash 14 15 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
¯ Searching 2nd for: CUSTOM_AM37XX_BOARD 363007 07 GP
¯ Loading second file Targets\2nd-Downloaders\dnld_startup_omap3_gp_8g.2nd
¯ Entering parameter file:omapflash2nd.txt at line: 9
¯ Reading board configuration file Targets\Configurations\configuration_custom_am37xx.txt
¯ Reading definition file .\targets\definitions\definitions_omap3.txt
¯ -board_config Targets\Configurations\configuration_custom_am37xx.txt
¯ Leaving parameter file:omapflash2nd.txt
¯ Sending size of second file (0x00006804 bytes)
¯ Transferring second file to target (0x6804 bytes)
¯ Closing boot connection
¯ Found device (omap com52)
¯ Waiting for 2nd
And then it eventually times out.
I've read from other posts that this is related to the configuration. Just wondering, if there is some documentation outlining how the configuration file (configuration_custom_am37xx.txt) should be tailored to accommodate the memory. We are currently using Micron 8G NAND MT29F8G08ADBDAH4-IT:D and Mircon 2G SDRAM MT46H64M32LFCM-6 IT:A TR.
We have tried both the GUI and the command line version, with the same outcome. We have modified omapflash2nd.txt to look for dnld_startup_omap3_gp_2g.2nd for CUSTOM_AM37XX_BOARD. But the configuration (or mis-configuration) seems to be in the configuration_custom_am37xx.txt file.
Any assistance on this would be most appreciated.
Try to use https://gforge.ti.com/gf/download/frsrelease/506/4425/Flash_v1.5.zip
and also try with option am7xx(micron).
I just uninstalled Flash Tool 1.6, and installed Flash Tool 1.5 from the link you suggested. I am still seeing the same error. I've tried on both a Windows 7 host machine and a Windows XP machine, with the same outcome. I've also tried both AM37xx (Micron) and Custom AM37xx Board as the target. Is there some configuration I should be concerned about? I could not quite understand all the details in the configuration_em37xx_micron_2g.txt file, or the configuration_custom_am37xx.txt file. And I have not been able to find any reference explaining the details in those files. Thanks in advance for any further information.
Output from the Flash Tool v1.5:
¯ -com 55
¯ -p EVM_MDDR_MICRON_2G
¯ chip_erase NAND 0
¯ Looking for device (omap com55)
¯ Searching 2nd for: EVM_MDDR_MICRON_2G 363007 07 GP
¯ Loading second file Targets\2nd-Downloaders\dnld_startup_omap3_gp_2g.2nd
¯ Entering parameter file:omapflash2nd.txt at line: 16
¯ Reading board configuration file Targets\Configurations\configuration_evm37xx_micron_2g.txt
¯ -board_config Targets\Configurations\configuration_evm37xx_micron_2g.txt
¯ Found device (omap com55)
¯ Reception failed - timeout after 60 s during peripheral boot (waiting for 2nd)
Console program failed, exit code: 2
From the log i can see you are using the uart, why cant you use USB boot option as try?
All the boards you have the same issue?
The board is a custom AM3703 module. It only has UART3 available.
Yup. Tried on three boards. The same problem consistently.
Are you able to do atleast complete Erase of nand flash?
Nope. Getting the "waiting for 2nd" timeout error from trying to erase the NAND.
Can you try the pserial.exe and communicate with boot rom and you can directly run code into SRAM.
I hope this will help you?
Is it helps?
Still no luck.
Tried pserial.exe on a 32-bit XP host machine, and got the following output:
C:\omap-u-boot-utils-pack-r0.2\bin\winXP\x32>pserial.exe -p COM41 -f MLOWaiting For Device ASIC ID: Press Ctrl+C to stop [applied power to the target at this point]ASIC ID Detected.Sending 2ndFile:Downloading file: 100.000% completed(44760/44760 bytes)
At this point, the program stops responding, and COM41 is not accessible by Hyperterm, as it complains that the port is currently being used by another application.
Don't know why pserial.exe didn't work the first couple of times I tried. Power cycled everything, and then tried again.
Got the pserial.exe to run at least:
C:\omap-u-boot-utils-pack-r0.2\bin\winXP\x32>pserial.exe -p COM41 -f MLOWaiting For Device ASIC ID: Press Ctrl+C to stopASIC ID Detected.Sending 2ndFile:Downloading file: 100.000% completed(44760/44760 bytes)File download completed.
Not sure if I can utilize the same steps using MLO and u-boot.bin the same way. But when I tried to transfer u-boot.bin via the Hyperterm (following the instruction to set the port settings, transfer file with Xmodem, etc.), it eventually timed out with the dialog box saying "No response from remote system".
Thanks for you patience and your help on this!
From the message i can see you have successfully downloaded your code into SRAM of OMAP.
Now why cant you initiate a debug led blinking to make sure your code is running and system is live?
Do you receive any symbols in hyperterm?
Still got stuck with flash tool?
Yeah. Tried to reset after pserial.exe transferred the x-loader to SRAM. But nohng. I then tried to flash the same x-loader to a DM3730 EVM NAND, and that worked (see the console traffic). We are using the Abatron BDI3000 to find out what the heck is going on.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.