I have built an application using CCS for the AM1806. The application runs fine when downloaded using the CCS JTAG debug function.
I would like to now be able to download the application using the UART2 boot mode. I have set up AISgen (Ver 1.9) to read the Application file from the "MyProject\Debug\Project.out" file and generate the AIS Output file "project.bin"
When using the "OMAP-L138 UART Boot Host, Ver. 1.3" program to load this file to the target I get the following error message:
File IO): Read 95840 bytes from file C:\MyProject\Project.bin.
(Serial Port): Opening COM1 at 115200 baud...
(AIS Parse): Read magic word 0x00000020.
(AIS Parse): Boot aborted.
(Serial Port): Closing COM1.
I have verified that my target is providing the "BOOTME" message on power up.
To determine what the problem was with the magic word, I set AISgen to produce a "project.h" file so I could see the contents of the file.
Examining the "project.h" file I observed the following:
const unsigned int data_array[] = {
0x00000020,
0x41504954,
0x5853590D,
0x00050005,
0x3FFFFFFC,
0x00000000,............
Why is the magic word not the first word in the file produced by AISgen and/or why can't the OMAP-L138 UART boot host find the magic word as the second word?
Any ideas on how I can correct this?