omap-l138 Burn Program – write program to NAND flash

Source: Internet
Author: User
Tags prepare


This article describes the method of using Texas Instruments xds100v2 USB emulator to burn write omap-l138 program to NAND flash and boot from NAND flash. 


1 software used






(1) aisgen_d800k008;



(2) Omap-l138_flashandbootutils_2_40.tar;



(3) Omapl138-dsp-led-v4.zip;



(4) DSP project generated by the A.out file, that is to be burned into the NAND flash in the. out file, the board power after the omap-l138 will be loaded from NAND flash Add the program and run;



Aisgen_d800k008 and Omap-l138_flashandbootutils_2_40.tar can be downloaded from the official website, from Http://processors.wiki.ti.com/index.php/Boot_ images_for_omap-l138 go in and look for 


2 software to prepare .



(1) Install aisgen_d800k008, no longer repeat;



(2) Prepare NAND writer and use CCS to open the ARM project file under the Omap-l138_flashandbootutils_2_40\omap-l138\ccs\nandwriter directory Nandwriter_ ARM.PJT, generates the Nandwriter_arm.out file, which runs from the ARM core, writes the program file to be run by the DSP side to NAND flash, and if it needs to burn to another storage device, Select the appropriate writer for the corresponding CCS project that the official prepares for us, as shown in the following figure.









(3) Open omapl138-dsp-led-v4\omapl138-dsp-led\arm\ with CCS OMAPL138-DSP-LED-ARM.PJT the ARM project file under CCS directory, compile and generate omapl138-dsp-led-arm.out;



(4) using Aisgen to Omapl138-dsp-led-arm.out and DSP core to run a.out file merge, generate AIS format file, Aisgen configuration as shown below.









Device type is selected according to the version of its chip, if not clear can refer to the previously written blog http://blog.csdn.net/blueday406/article/details/74012370,Boot mode select NAND FLASH,DSP application file Select Omapl138-dsp-led-arm.out and DSP-generated a.out files, click the "+" sign below to add A.out,ais Output File input. bin file to save the directory and filename, in order to be able to display all the files, the above image I omitted the path of the individual files, because of this, click Generate AIS will have one or more parameter errormust is Tips for corrected.



The Flash panel is configured as shown in the figure below, my NAND flash data bits are 8 bits, Ccs3setup retains the default configuration, and click Generate AIS to generate the. bin file.



3 Burn write NAND flash






Connect jumper, configure boot Mode selection for NAND 8, connect to arm core in CCS DSP project (only need to connect to arm core when burning NAND flash), the following figure is after connecting arm core success:









Left-click on the Texas Instruments xds100v2 USB emulator/arm9_0 (Suspended), clicking on the CCS menu bar Run, load, load program, loading Nandwriter_ Arm.out, then click on the toolbar's Run button, Nandwriter_arm.out run on the ARM core, the console panel will have output, according to the output of the prompt operation to complete the NAND flash burning, the operation process as shown in the following figure:









Nand Flash burned to write successfully.


4 Verification



I am through the DSP program control a GPIO port output high and low level of the pulse, to the Development Board after re-power with the oscilloscope to test whether the Gpio has a pulse output to determine whether the successful start from NAND flash.





Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.