Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

Custom OMAPL138 UBL

$
0
0

Hello all,


I am using an OMAPL138 in a custom board with the boot switches tied to NAND16 configuration (can't change to UART boot)


I do all my tests in an LCDK138 board...with SFH I burn the UBL and the application and everything is OK since I can switch to UART boot. I need to find another way apart from sfh to download files since the custom board is tied to NAND boot. I need to flash the UBL image with the boot switched to NAND.

Based on the Starterware bootloader sources, I use UART2 to receive data and burn them to flash..I sent 1.5MB (application file) to NAND block 6 etc and UBL finds it and program is running (UBL with JTAG).

So I thought to burn also the generated boot.ais file to NAND block 1 and after a reset hopefully everything will be ok.

Running UBL with jtag everything works fine...but when I burn the UBL to block 1 nothing is happening after a reset..I am sending debug info on UART 2 from the UBL but nothing after reset..

Switched to boot mode and used sfh....then I extracted NAND block 1 info to a bin file and compared it to mine to see if sfh writes something berore or after the file, Some more bytes (1page + what is left from the last one) are added...extracted them as well and tried to burn the UBL with boot switches to NAND..again nothing. I confirmed that everything in NAND block 1 is the same whether I download or sfh does.

Any hints / tips??

running UBL with jtag and trying to flash boot ais with boot switches to NAND...UBL is flashed but not running after a reset...

Thanks a lot


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>