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

Starterware/TMDSLCDK138: Procedure to Flash and boot the LCDK

$
0
0

Part Number:TMDSLCDK138

Tool/software: Starterware

Tried to boot the code from flash but failed.

I created an ARM project which simply toggle an GPIO pin high and low. (The project is created from blank. No BIOS, NDK....etc included.) I set the build configuration to Release. Ran it with the debugger. Checked with the Oscope and see the GPIO pin was toggling as expected.

The bootloader project is imported from C:\ti\OMAPL138_StarterWare_1_10_04_01\build\armv5\cgt_ccs\omapl138\lcdkOMAPL138\bootloader

I copied the Entry Point address in the map file of the GPIO ARM project under Release folder, then assign it to "unsigned int entryPoint". Then built the boot.out file.

Move the boot.out file under C:\ti\OMAPL138_StarterWare_1_10_04_01\tools\ais_gen. Got the AIS GEN config file from:

http://processors.wiki.ti.com/index.php/L138/C6748_Development_Kit_(LCDK)#Procedure_to_Flash_and_boot_the_LCDK

Open the AIS GEN and load the config file. Then created boot.ais file and put it under C:\ti\OMAPL138_StarterWare_1_10_04_01\tools\flash_writer

For the ARM project, I built the project and created arm.out file and put it under C:\ti\OMAPL138_StarterWare_1_10_04_01\tools\out2rprc. Then used the out2rprc tool to create arm.bin file and move it under C:\ti\OMAPL138_StarterWare_1_10_04_01\tools\flash_writer.

Switch the SW1 to 0101. Run the command "sfh_OMAP-L138.exe -flash boot.ais arm.bin -targetType OMAPL138_LCDK -flashType NAND -p COM6" and got the following output:

(AIS Parse): Read magic word 0x41504954.

(AIS Parse): Waiting for BOOTME... (power on or reset target now)
(AIS Parse): BOOTME received!
(AIS Parse): Performing Start-Word Sync...
(AIS Parse): Performing Ping Opcode Sync...
(AIS Parse): Processing command 0: 0x58535901.
(AIS Parse): Performing Opcode Sync...
(AIS Parse): Loading section...
(AIS Parse): Loaded 13500-Byte section to address 0x80000000.
(AIS Parse): Processing command 1: 0x58535901.
(AIS Parse): Performing Opcode Sync...
(AIS Parse): Loading section...
(AIS Parse): Loaded 1440-Byte section to address 0x800034BC.
(AIS Parse): Processing command 2: 0x58535906.
(AIS Parse): Performing Opcode Sync...
(AIS Parse): Performing jump and close...
(AIS Parse): AIS complete. Jump to address 0x80000000.
(AIS Parse): Waiting for DONE...
(AIS Parse): Boot completed successfully.

Waiting for SFT on the OMAP-L138...

Flashing UBL boot.ais (23512 bytes) at 0x00000000

100% [ ████████████████████████████████████████████████████████████ ]
Image data transmitted over UART.

100% [ ████████████████████████████████████████████████████████████ ]
UBL programming complete


Flashing application arm.bin (2608 bytes)

100% [ ████████████████████████████████████████████████████████████ ]
Image data transmitted over UART.

100% [ ████████████████████████████████████████████████████████████ ]
Application programming complete


Operation completed successfully.

Switch the SW1 back to 0111 and press reset button on the board. However, not seeing the GPIO toggle. Booting is failed. 

Basically, the steps I wrote above follow the procedures under processors.wiki.ti.com/.../OMAPL138_StarterWare_Booting_And_Flashing

Can you give me some suggestions on this issue? Is there something else I missed?

Thanks,


Viewing all articles
Browse latest Browse all 17527

Trending Articles



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