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.

Building omapl-137 flash and boot utils

Other Parts Discussed in Thread: OMAP-L137, CCSTUDIO

I'm trying to build the flash and boot utilities for the OMAP l137.   In particular I want to build the UBL NOR bootloader for the DSP.  I have a couple of questions:

1) Is it possible to import the CCS v3.3 OMAP-L137/CCS/UBL_DSP/UBL_NOR.pjt into a newer version of code composer?  I've tried this in 4.2.1 but got a bunch of errors (which I unfortunately failed to save to report here.)  BTW, the reason I want to use 4.x or greater is that CCS v3.3 is not supported on windows 7, and we have had issues with it.

2) I have loaded this into CCS v3.3, but when I build, I get the following errors:

[start_c674x.asm] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -g -o3 -fr"C:/omapl137-flash-boot-utils-20111028/OMAP-L137/CCS/UBL_DSP/NOR" -fs"C:/omapl137-flash-boot-utils-20111028/OMAP-L137/CCS/UBL_DSP/NOR" -i"C:/omapl137-flash-boot-utils-20111028/OMAP-L137/CCS/UBL_DSP/include" -i"C:/omapl137-flash-boot-utils-20111028/OMAP-L137/CCS/UBL_DSP/../../../Common/arch/arm926ejs/include" -i"C:/omapl137-flash-boot-utils-20111028/OMAP-L137/CCS/UBL_DSP/../../../Common/ubl/include" -i"C:/omapl137-flash-boot-utils-20111028/OMAP-L137/CCS/UBL_DSP/../../../Common/gnu/include" -i"C:/omapl137-flash-boot-utils-20111028/OMAP-L137/CCS/UBL_DSP/../../Common/include" -i"C:/omapl137-flash-boot-utils-20111028/OMAP-L137/CCS/UBL_DSP/../../../Common/include" -i"C:/omapl137-flash-boot-utils-20111028/OMAP-L137/CCS/UBL_DSP/../../../Common/drivers/include" --define="UBL_NOR" --cmd_file="C:/omapl137-flash-boot-utils-20111028/OMAP-L137/CCS/UBL_DSP/devtype.txt" -mv6740 -@"../../../OMAP-L137/CCS/UBL_DSP/Debug.lkf" "start_c674x.asm"

"start_c674x.asm", ERROR!   at line 16: [E0800] Instruction invalid for C6700

   DINT           ; Disable Interrupts, FP1, EP1, cycle 0

 

"start_c674x.asm", ERROR!   at line 31: [E0800] Instruction invalid for C6700

   CALLP   .S2     _main,B3 ; FP2, EP6, cycle 17

 

2 Assembly Errors, No Assembly Warnings

 

Any ideas?

 

Thanks,
Chris 

  • 1) No, the projects in the serial flashing tool are 3.3 only and cannot be imported to CCS4/5. There are CCS4/5 projects in the Linux PSP which you can use to rebuild the UBLs however.

    2) Try using a newer version of the Codegen tools. I just tried with 6.1.10 and it built successfully.

    Jeff

     

  • Thanks for the info!  I will take a look at the Linux PSP.

    As fo #2) Justin from Timesys was able to help me figure it out.  I had to remove the -m6740 flag and replace it with the m6400+ flag.  That seemed to do the trick!

    Thanks,
    Chris