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.

[OMAP-L137] Developing OMAP code with Code Composer

Other Parts Discussed in Thread: OMAP-L137

Hi,

I'm new for this forum. I need some help with developing OMAP-l137 code.

Actually I can develop code for the C6747 part of the OMAP but I'll try to move some work (like ethernet and UART manage) from DSP to the ARM side.

I have try to write some code in Code Composer studio for ARM but I don't have no project examples. There are some links?

When I use CCS with ARM I can't use the debug tools like breakpoint, why?

 

Thanks for help.

Alex

  • Are you planning on running some Operating System on the ARM like Linux?  Or are you planning to hand code everything? 

  • Thanks Gus!

    The application is not so complicated. I'm thinking to code everything. You suggest to use os anyway? There is a version of linux for CCS?

  • Anyone can help me?

     

    When I try to use the code composer with arm i received this message.

    Breakpoint Manager: Error programming AET Job: There is no AET resource to support this job.

  • Ok,

    I've managed this. I have to quit CCS of the DSP side and halt DSP, after that I restart CCS of the ARM side. Is it correct? 

    Where I can find some header files with arm register description? 

     

    Thanks.

  • Do you know which  emulator are you using?  XDS100, XDS510 USB?  Also, can you let us know which CCS version you are using (3.3, 4.x)?

    Wrt to your previous question about whether to use an OS....

    If you use Linux or any OS with MMU enabled, then you cannot use CCS on the ARM.  If you do not use OS on ARM, then you can use CCS. But the problem is that you will not be able to easily port DSPBIOS drivers (like UART) to the ARM since that software requires BIOS or similar OS.  DSPBIOS is the OS that we typically use with the DSP.  If you are not interested in any of these drivers, then maybe this is not a big concern to you and you can continue with your plan to code everything by hand.

    Our support for coding on the ARM by hand is limited though.  We don’t have ARM side CSL examples showing how to program the ARM interrupt controller to receive interrupts and program peripherals by CSL  If you just want to know how to create an ARM CCS project, then you can refer to the flashing loading utility project included in L138 Linux platform support package.

  • Thanks Gus,

    I'm using the OMAP-L137 EVM with on-board emulator and CCS 3.3. Sorry for my lack of informations.

    I have to collect data coming from ADC connect to EMIF-A, elaborate and send to PC by Ethernet. Besides this I have to configure an other unit by RS232 and some GPIOs. I will do the acquisition and elaboration of the data with DSP side. The ethernet, serial and GPIO managed by ARM.

    Do you think is it possible? 

    Ok, if I use OS, there is some free version to use?

    I've installed and tried the included MontaVista: configure host pc, installed toolchain, compile and run "hello world" project. But it's not free?

     

    Thanks.

  • Alessandro,

    My understanding is that the MontaVista package included with the EVM is a limited and unsupported version that you can use for free.  If you wish to receive updates or support, you will need to purchase a solution from them.  Please verify this as I am not 100% sure myself.

    On the other hand, Arago is an open-source Linux package that is available for free: http://arago-project.org/wiki/index.php/Main_Page

    -Tommy

  • For your issue with the emulator, you may want to try setting the board to EMU boot.  This boot leaves the device in a clean state and may solve the issues you are seeing with the emulator.

  • Yes, of course I boot the EVM with Emulation Debug state as described in  Table 2 pag 1-6 of evm technical reference manual  

    Spesctum Digital TechRef

     

    Gus, in one of your previous message you have say:

    "If you use Linux or any OS with MMU enabled, then you cannot use CCS on the ARM.  If you do not use OS on ARM, then you can use CCS."

    I don't understand why, CCS is an IDE and not an OS. In fact I've find and downloaded a CCS project with a Freertos OS. I'm little bit confused.

     

    Thanks.

     

  • Alessandro,

    Typically, CCS3.3 has not been very friendly for debug of MMU-enabled OS (like Linux) because it's difficult to determine what code the ARM is executing.  I believe that the CCS4 team is testing a Linux Aware debug configuration ( http://processors.wiki.ti.com/index.php/Linux_Aware_Debug ) in case you are interested in trying it out.

    -Tommy