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.

Convert the .out SSC file to a Linux file to run on a BeagleBone card:

Other Parts Discussed in Thread: AM3359

      I have developed a program to drive an external hardware card for the BeagleBone. I developed the program using CCS version 5.2. With CCS I can download the program, debug it and input commands to it via the USB port into the BeagleBone. However, I now need to install the program in the Micro SD card. How do I convert the .out file that CCS outputs to a file that can be installed as a program on the SD memory card?

regards

Larry Nichter

  • Larry,

    To accomplish that you will have to check how the bootloading process of the AM3359 device works, but unfortunately the details will be better covered by the experts in the device forum (I will move this thread there).

    Despite that, a few tips follow:

    - I think that AM3359 is simliar to OMAP35x and DM37x, therefore it expects a file named "MLO" in the first 64k blocks of the SD card.

    - This file is usually a raw binary file (not a COFF or EABI executable that is generated by CCS), therefore it needs to be converted to this format by using the utility tiobj2bin, typically installed at: C:\ti\ccsv5\utils\tiobj2bin

    - Your application must initialize the hardware programatically and not via a GEL file, which belongs only to a debug environment. Therefore you can open the GEL file, check which routines initialize the required peripherals and incorporate them into your application. Check section 5 of this somewhat old (but still useful) application note.

    Hope this helps,

    Rafael

  • Larry,

    One last detail: you can also look at the bootloader example of the AM335x Starterware software package.

    http://www.ti.com/tool/starterware-sitara

    Regards

    Rafael

  •   Rafael, do I really need an bootloader? The BeagleBone comes with a bootable CD. I would like to convert my .out file and add it to the existing CD as an executable file .

    Regards

    Larry