This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

  • Resolved

AM1705 Boot from NAND Flash

Prodigy 30 points

Replies: 5

Views: 1227

Hello Guys,


i am quite new to TIs Cors and CCS so just some short questions:

I wrote a little programm and succesfully compiled it.
So there is a .out and .hex File available.

Boot Pins are set to NAND 8-bit


1. What is the best way to flash the Programm to onboard NAND Flash on EMIFA ?

2. How to setupt the Device for proper Boot. ? Using AIS or GEL ? I am kind of confused with all these different ways. I just want to boot and go directly

to my application code.

Thanks in Advance

Timo

  • Hi Timo,
    A2) For booting the OMAPL13x, you need AIS signed boot image, you have to convert the .out to .ais through AISgen tool.
    Gel file is to initialize the all peripherals for debugging purpose via CCS IDE.
    Please refer to the following TI wiki pages.
    processors.wiki.ti.com/.../GEL
    processors.wiki.ti.com/.../GSG:CCSv5.0_Adding_GEL_files_to_a_target_configuration
    processors.wiki.ti.com/.../OMAP-L1x_Debug_Gel_Files

    A1) You can flash the images into your board through "OMAPL138 boot utils" which comes with MCSDK release and you can also use NAND writer CCS tool.

     

    Regards,

    Titus S.

    Please use the latest processor SDK package for your platform (K2H,K2E,C665x,C667x etc.,)

    http://www.ti.com/lsds/ti/tools-software/processor_sw.page

  • Hello Titus,

    Thanks for the quick reply,

    this is also valid for AM1705, right ? it has the same core..
    Im using a custom board with standard Spansion NAND Flash.

    Ok i will try with AISgen tool..
  • In reply to Timo Zehender:

    Hi Timo,

    AISgen tools are available as separate releases for both the series of devices such as OMAPL137/C6747/AM1705/AM1707 and OMAPL138/C6748/AM1808.

    You have to download the AIS gen appropriate for AM17x.

    Download link:


    Regards,
    Shankari

    -------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.
    --------------------------------------------------------------------------------------------------------

    -------------------------------

    Regards,

    Shankari

    -------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.
    --------------------------------------------------------------------------------------------------------

  • In reply to Shankari G:

    Hello Shankari,

    Thanks for the information

    I made up following steps now:

    1. Created my application in CCS with Starterware
    2. Set the sections .code to 0x6200000 (EMIFA - CS3) where i attached my NAND Flash
    3. build the application -> .out File
    4. Loaded the .out File to the AISgen Tool und made up all Settings in the AISgen GUI and created a ais.bin File

    Question: At which Location in FLASH shall i place the ais.bin ?
    Question: Which Tool is best to use ? NANDWriter ? or by UART ?

    Question: Where shall i place my application code then, so that the Bootloader hast the right statup Adress ?

    Timo
  • In reply to Timo Zehender:

    Hi Timo,

    Question: At which Location in FLASH shall i place the ais.bin ?

    For NAND flash, NANDwriter tool and "SFH write" would start to flash from NAND block no 1.


    Question: Which Tool is best to use ? NANDWriter ? or by UART ?

    All the tools were work good, it depends which you select and convenient.

    NANDWriter tool needs CCS but SFH work without CCS.


    Question: Where shall i place my application code then, so that the Bootloader hast the right statup Adress ?

    In my opinion, ARM only processor (AM1xxx) and DSP only processor (C67x) not required any bootloaders unless you have any specific requirements.

    For AM1705, you have only ARM app, so we can execute the app directly without bootloader.

     

    Regards,

    Titus S.

    Please use the latest processor SDK package for your platform (K2H,K2E,C665x,C667x etc.,)

    http://www.ti.com/lsds/ti/tools-software/processor_sw.page

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.