UG-649
Evaluation Board User Guide
Rev. PrB | Page 8 of 9
UPGRADING THE OSD BINARY USING U-BOOT
u-boot can also be used to program the OSD binary (located in UT27). You can use the following steps to upgrade the OSD binary on
your board (if you determine this is necessary). Note that these instructions assume you are using version 4.78 of Tera Term for Windows
(which is free to download and use). Note: we have experienced YMODEM issues with previous versions of TeraTerm, so we strongly
suggest using version 4.78 or higher.
1.
At the bfin> prompt, type the following command:
run spiloopon
2.
You should see the following output:
gpio: pin pg9 (gpio 25) value is 1
gpio: pin pf5 (gpio 5) value is 0
gpio: pin pf7 (gpio 7) value is 1
3.
Type the following command:
sf probe 0:3
4.
You should see the following output:
SF: Detected M25P128 with page size 256 KiB, total 16 MiB
bfin>
( Note: you may need to enter this command 2-3 times in order to detect the M25P128 correctly.)
At the prompt, type the following command:
loady
You should see the following output:
## Ready for binary (ymodem) download to 0x00800000 at 115200 bps...
1.
In Tera Term, under
File
, click
Transfer
, then
YMODEM
, and select
Send…
2.
Select the OSD binary file (for example,
OSD_1.80RC3_20140312.bin
) and click
Open
.
3.
You should see the YMODEM send dialog box progress slowly from 0% to 100%. If the software stalls at Packet 1 or Packet 2 for a
few seconds, you may need upgrade Teraterm to version 4.78. (Note: we have noticed that if the software stalls, it typically results in a
wrong file size. We believe this was an issue with YMODEM transfer in Teraterm and the version 4.78 appears to have fixed it.)
4.
After the transfer is complete, you should see something similar to the following output:
CCxyzModem - CRC mode, 0(SOH)/7739(STX)/0(CAN) packets, 3 retries
## Total Size = 0x0078e6e5 = 7923429 Bytes
5.
bfin>
At the prompt, type the following command to erase the contents of UT27 (serial flash memory for ADV8005 OSD)
sf erase 0x0 0x800000
You should then see the following output:
bfin>
6.
At the prompt, type the following command to program UT27 with the OSD binary
sf write $(loadaddr) 0x0 $(filesize)
You should then see the following output:
bfin>