I need help understanding what I am doing wrong. I have been trying to read the documentation and the Wikis but I am just getting more lost. Sorry for the length of the post but I wanted to show I have been trying before reaching out to the experts here.
I am new to this family of controllers, but I am not new to embedded systems and small microcontrollers.
As the subject line indicates, I am working with OMAP-L138 LCDK.
I am working in a Linux command line environment. I am not using Code Composer Studio.
I am using Minicom as my serial terminal app on my Linux host machine. I believe I have it configured correctly for using the LCDK since I can boot to the Arago Linux shell from the SD card that came with the LCDK. I also see BOOTME when SW1 has been set to have switches 2 and 4 set to ON (UART2 selected).
I want to work on a simple, no-OS project to get started. It seemed like a good first step would be to download a pre-built file. I chose the fingerprint detection example. I tried to follow the instruction at http://processors.wiki.ti.com/index.php/BIOS_C6SDK_2.0_User_Guide#How_to_Flash_Finger_Print_demo_on_LCDK under the heading 'How to Flash Finger Print demo on LCDK', but I was unsuccessful. Here are the commands I tried to use from the command line.
mono sfh_OMAP-L138.exe -p /dev/ttyUSB0 -v -flashType NAND -targetType C6748_LCDK -erase
mono sfh_OMAP-L138.exe -p /dev/ttyUSB0 -v -flashType NAND -targetType C6748_LCDK -flash_noubl c6sdk_02_00_00_00/demos/flash/lcdk/fingerprint_lcdk.bin
The erase operation seems to complete successfully. But when I try to flash fingerprint_lcdk.bin, it seems to initially operate correctly, but then it hangs with a message "Waiting for SFT on the OMAP-L138..."
After more searching the documentation and wikis, I also tried the following:
mono sfh_OMAP-L138.exe -p /dev/ttyUSB0 -v -flashType NAND -targetType OMAPL138_LCDK -flash_noubl c6sdk_02_00_00_00/demos/flash/lcdk/fingerprint_lcdk.bin
This does not hang at "Waiting for SFT on the OMAP-L138..." It actually seems to load correctly as the results look similar to when I download the uboot image ti-sdk-omapl138-lcdk-01.00.00/board-support/prebuilt-images/u-boot-lcdk.bin. But after I execute the line, when I change the SW1 swttings to switch 1 OFF and switches 2, 3, and 4 ON and press the reset button, nothing seems to happen. There are no messages displayed to the terminal. It almost seems as if there is no bootloader present to launch the application. Based on the command line found on the wiki (shown above as the 2nd command line), since -flash_noubl is used I thought the bootloader was included in the fingerprint_lcdk.bin.
I also tried the following command line to use a pre-built boot loader.
mono sfh_OMAP-L138.exe -p /dev/ttyUSB0 -v -flashType NAND -targetType OMAPL138 -flash ubl_OMAPL138_LCDK_NAND.bin fingerprint_lcdk.bin
This also seemed to download completely without producing any errors, but when I set the SW1 switches back to 1 OFF and 2, 3, and 4 ON and then reboot nothing seems to happen.
I know this should be simple, but I don't know what I am doing wrong. If I do need to add a bootloader during the download process for fingerprint_lcdk.bin, a pointer to where to find the pre-build bootloader for the LCDK and the proper command line to use would be quite helpful. Any guidance is greatly appreciated.
--dave