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.

IAR 6.3 and bootloader starterwareAM335x 2.0.0.7:beaglebone

Other Parts Discussed in Thread: AM3359

I have a beaglebone rev A6

I used IAR 6.3 for building the bootloader in the folder C:\ti\AM335X_StarterWare_02_00_00_07\build\armv7a\ewarm\am335x\beaglebone\bootloader , the output after rebuild this project have 3 file boot.out , boot.ini and boot_ti.ini , I replace name from boot.ini to MLO . I also format SD , with using TI_SDCard_boot_utility_v1_0.exe to format to save the MLO file , when I test with terminal software , there is not thing happened , but I used the MLO , used for ccs(in folder C:\ti\AM335X_StarterWare_02_00_00_07\binary\armv7a\cgt_ccs\am335x\beaglebone\bootloader ), it works OK 

I dont know I configed IAR for it

Anyone help me resolve it ? Thank you

  • Hi,

          you mentioned that you renamed boot.bin to MLO. Instead you should rename boot_ti.bin to MLO.

    Regards

    Baskaran

  • Hi Baskaran!

    I renamed the boot_ti.ini to MLO , and aslo use tiimage.exe tool to change the boot.ini to MLO , I test it one bye one , so it dont work OK , I show the content of CCS MLO and IAR MLO , I make , they are different, I do configuartion of IAR follow this link http://processors.wiki.ti.com/index.php/AM335X_StarterWare_Environment_Setup, but beaglebone is not still booted

  • No one help me resolve it ? There is an important in my project , that is I used IAR Workbench 6.3 , not CCS 

  •   I have had simular problems with creating a bootable SD for BeagleBone. If you are getting C printerd on the terminal, the boot MLO did not get loaded. I worked several days creating and recreating SD disk on my laptop and could not get it to work. I found an note somewhere that the SD drive on laptops may not work correctly. I tried an external USB SD reader/writer and was able to build a loader that finally work. I was then able to load several on the demo programs like the UART and GPIO and they too worked. I used the MLO that already built. After that i was finallu able to load my program which it made up from many of the modules in starterware and it worked too. However,  wanted to create a second SD disk so i would have a spare. I was not successful at building a second one. I am trying to find out what speed the SD disk needs to be. I have used both a speed 4 and the fastest speed 10. If i find oun more i will let you know. good luck. Information on the BeagleBone is had to come by. I've been there. I have designed a dual motor driver for the BeagleBone. I hope to have it released soon. Good luck.

    Regards Larry

    .   

  • Hi do minh quoc,

    Upon building the beaglebone MMCSD bootloader(boot-MMCSD) and executing it worked fine. We tested the binary(MLO) on a beaglebone Rev A3 board.

    Are you able to execute properly? Please ensure to use MMCSD-Bootloader and not UART-Bootloader while building your code.

    Regards,

    Jeethan

  • Hi Jeethan , what compiler do you use for building bootloader ? Is it IAR workbench?

  • Hi do minh quoc,

    Yes.  We used IAR Embedded Workbench 6.3 for building bootloader.

     

    Regards,

    Jeethan

  • Hi Jeethan

    I have ask you a more question ? What Starterware version do you use? I use version 2.0.0.7 , After I build , 3 output files are created , and I rename the boot_ti.bin to MLO , and use TI_SDcard... to format and copy MLO to uSD card , and test it on BBone , but the board is not booted 

    But I use CCS 5.1 build the project , It work Ok

    I dont know why

    Best Regards

  • Hi Jeethan 

    As If I used UART bootloader , I would receive some characters in terminal "Starterware..." but when I tested with software terminal , my PC didnt receive anything

    Best Regard 

  • Hi do minh quoc,

    I have used StarterWare02.00.00.07 version beaglebone bootloader. I followed the same steps(as followed by you) after building beaglebone bootloader via IAR Embedded workbench6.3, i.e. renamed boot_ti.bin to 'MLO' and i also built DMTimer IAR project and renamed dmtimerCounter_ti.bin to 'app'. After this using the TI_SDCard_boot_utility_v1_0 i prepared the microSD card. After inserting the card and pressing the 'reset' button i am able to see DMTimer example getting executed on TeraTerm.

    I have attached the MLO and app(i.e. renamed dmtimerCounter_ti.bin) along with this email. Both the executables are built using IAR Embedded Workbench 6.3 and both the executables are built in release mode. Please test this set of executable if it is working on your board.

     

    Regards,

    Jeethan

    7802.Beaglebone_bootloader_IAR_6.3.rar

  • TI_SDCard_boot_utility_v1_0.exe is not reliable. I tested many times, but it didn't flag my SD card as bootable. If you use Linux, use fdisk to make the primary partition of the SD card to be bootable. Then simply copy your MLO and app to the SD card.  If you use Windows, you should use some utility to make it bootable. Without boot flag, beaglebone ignores SD card during booting procedure.

  • This is my boot_ti.bin , its header made by my tiimage is absolutely different from your MLO file ( I choose mode MMCSD_Release for build)

    6811.boot_ti.rar  

  • Ho do minh quoc,

    I tried booting the beaglebone with the MLO(boot_ti.bin) given by you. I was not able to boot.

    Can you check the project settings of the example used by you, also the dependent projects required for your example(i.e. platform, utils, system config)? Please check for "Processor Variant". Core should be Cortex-A8 and Device - Texas Instruments am3359.

    Regards,

    Jeethan

  • Hey Larry, I got the same trouble as you had. 'C' getting printed on the terminal.

    Could you please tell exactly which format did you use for formatting SD card?

    Is it necessary to make a bootable partition in SD card?

    Please help me solve the issues.