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.

C6748 SERIAL BOOT BINARY QUESTION

Other Parts Discussed in Thread: OMAP-L138

Support,

We a have customer that is serial booting a C6748. 

They would like to use a linux based gumstix processor to transfer the image via the serial boot method to the DSP. They are planning to AISgen the .out file created by CCS. Then  transfer the image over the serial port.

They want to know if all that is necessary is to use the AISgen tool to prepare the .out file for the transfer and once done can the resulting bin file  be sent directly over the serial port or is there still more preparatory work?

Thsnkd for your help.

Regards,

John Wiemeyer

  • Hi John,

    To transfer the image into C6748 over the serial port, you can use the serial flasher utility available at http://processors.wiki.ti.com/index.php/Serial_Boot_and_Flash_Loading_Utility_for_OMAP-L138.

    If your host machine is linux based and to run the serial flasher utility on linux, you can use the "mono" framework

    http://processors.wiki.ti.com/index.php/Serial_Boot_and_Flash_Loading_Utility_for_OMAP-L138#Compiling

    Already, a pre-built "sfh_OMAP-L138.exe" serial flasher executable is available which can be run on linux host to transfer images into C6748 LCDK /OMAP-L138 LCDK or EVMs.

    If it is a C6748 based custom hardware board, modification of serial flasher source is needed. And those needed modifications are captured here. http://processors.wiki.ti.com/index.php/Serial_Boot_and_Flash_Loading_Utility_for_OMAP-L138#Modifications_for_Custom_Boards

    As far as AISgen, as you mentioned, the *.out file generated through CCS can be converted into  AIS format binary using it.

     

    Regards,

    Shankari

     

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

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

  • Thanks Shankari,

  • Hi Shankari,

    Customer has one more question.

    They 6748 they are using is permanently attached to the embedded linux machine and they had planned on using the serial port to transfer the image to the 6748 for execution. They did not have flash attached, is it a also a safe assumption that the above utilities work correctly for only this portion? 

    Regards,

    John Wiemeyer

     

     

  • Hi John,

    John says said:
    They did not have flash attached, is it a also a safe assumption that the above utilities work correctly for only this portion?

    The serial flasher utility actually flashes the images into flash memories like NAND, NOR, and SPI. via serial port.

     

    Regards,

    Shankari

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

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

  • Hi Shankari,

    In that case the customer will need to modify the serial Flasher so that it is more of a loader to just load the code into SRAM.  Is that correct?  Looks like the source code is there an available for modification. 

    Thanks for your help.

    Regards,

    John Wiemeyer

     

     

  • Hi john,

    I have not come across any option of loading the image directly into SRAM. Not sure how easy or difficult to modify the serial flasher code for this requirement.

    Probably I will forward your post to an expert to get better views.

     

    Regards,

    Shankari

  • HI Shankan,

    I have an update from the customer.   Looks like they solved their issue.  They had the following to say:\\

    This method of booting over the uart appears to work perfectly on the LCDK board. That is adjust the dip switches for boot over uart2, get all the set ups adjusted correctly in the AISgen tool, generate the AIS file and use the UARThost program to transfer the AIS image over to the processor. And yes when it says it is done transferring the processor begins running automatically.

    The example used was a very simple one only toggling some of the LEDs but it does show the point. The application is also going to be very small but has to run very fast and many many times a second which is perfect for running out of the cache just like the simple example. Also since the design is based on the LCDK board with no flash or DRAM, this example ran perfectly on my design using CCS so the  boot over UART works.

     

    Thanks for your help.

    Regards,

    John