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.

Problem running SYS/BIOS Examples

Other Parts Discussed in Thread: DM3730, OMAP3530

Hi everybody

I am using  CCS  Version: 5.1.1.00031, DM3730, XDS100v2 on windows 7 32 bit

On my C64x+ side , i was trying to run SYS/BIOS  examples, there i was getting error like ../../gptimer/Timer.c could not locate.

then i locate that file as it was asking. then i load my code again , but it is going in automatic running and from Timer.c  I can see Program counter as below, that means code is going on waiting state at this point ..

 

In short I am not able to run even this example, i have worked on SYS/BIOS earlier on OMAP3530, but didn't faced this kind of situation.

Note: i guess SYS/BIOS project is missing Timer.c somewhere in there include files.

Does anybody have clue on this

With Regards

Nitin Mewada

  • Hi Nitin,

    are you using the simulator here, if so, which one?

    Is this related to your other post here: http://e2e.ti.com/support/embedded/bios/f/355/t/166807.aspx?PageIndex=2

  • Hi Tom 

    Let me explain this way.

    I have experience of SYS/BIOS using CCv5.0 on the OMAP3530 (BeagleBoard) , here i have no issues.

    Now I switched to Beagle board-XM which have DM3730 as SoC, okay.  In this cores are same as  OMAP3530 except their clocks and some additional functionality (no need to discuss here). 

    Now on this i am trying to run SYS/BIOS on C64x+ side using CCSv5.1 version. I will tell you what i did in sequence as follows.

    1. For target configuration file of DM3730, i have included additional files for this as indicated in CCS Download page. 

    2. Then i tried to connect my board. It works, good news, i tried writing some codes on RTSC platform projects, this also runs fine.

    3. Now when i tried to run SYS/BIOS project on C64x-+ simulator, i got some error about timer, same as i posted above, so i used System_Flush() function, then problem solved. it works fine.

    4. Next thing is to try the SYS/BIOS code on hardware, which is C64x+ DSP of DM3730, then here i am getting that timer error, i tried using System_flush();, but no clues. same error is generated again and again.

    FYI,  I had selected  evm3530 platform device while selecting platform for DM3730 board, because there is no option for DM3730, and as far as i know OMAP3530 and DM3730 are sister version. so if select OMAP3530, it should work,.

    I know,  here i am choosing evm3530 as RTSC platform and my board is DM3730. Is this could be a problem? i don't think so, i think it could be some issue related to timer support on the board.  If so what changes i should make? if  not, then what do you think of this ?  I guess i explained my problem clearer to you now. if you still have the doubts regarding my problem then comment on me.

    With Regards

    Nitin Mewada

  • Hi Nitin,

    Correct, the OMAP3530 platform should work for the DM3730.

    Which versions of XDCtools and SYS/BIOS 6 are you using?

    Where in your code are you placing your System_flush() statement to avoid the the timer error?

    The simulator, will only help to simulate the CPU and does not support the majority of the peripherals available in the device. As the simulator doesn't support the GPtimer, you can select another platform that has the same C64x+ core, but uses a different timer for its System ticks (timer64). Try selecting the ti.platforms.sim64Pxx  or ti.platforms.evm6457 platform, both of these platforms use the timer64 and both of them worked for me with the C64x+ CPU Cycle Accurate Simulator (Little Endian).

    As for the hardware, I don't know why the ti.platforms.evm3530 platform doesn't work on the actual development kit. I would need to try to replicate the problem first. Can you send your project's .cfg file?

  • Hi Tom,

    Ya, i was using the same ti.platforms.sim64Pxx for the simulation purpose.

    I am using  Code Composer Studio  Version: 5.1.1.00031, which have XDCTools of  3.22.04.46  version and SYS/BIOS of 6.32.05.54 version. 

    So, Tom if you are giving some shots on this problem then try to run this code on the C64x+ DSP core using RTSC platform based target.

     I am attaching the my project  in my post, so you can look at it.1586.test.rar

    With Regards

    Nitin Mewada

  • Nitin,

    Please see this post. After enabling GPTimer5 you will be able to run the hello example.

    http://e2e.ti.com/support/embedded/bios/f/355/t/166807.aspx#646287

  • Hi Nitin and Tom,

    From the discussion here, it sounds like you guys may be able to help me.

    I have a beagleboard xm and boot it using Adaneo's Windows CE7 BSP.

    My goal is to have a main program running under Windows CE which on occasion will run certain mathematical operations on the C64x+ DSP on the board.

    If you could direct me as to the correct path for developing this application (ie - how to have the main program talk to the DSP) I would greatly appreciate it. I'm just trying to get started here and am a bit lost.

    Thanks!

    Avi

  • Avi,

    I think you should start a thread on the http://e2e.ti.com/support/embedded/wince/default.aspx forum. I expect you'll get better support there.

    Todd

  • Hi,

    Welcome to TI's world.

    Since past couple of months i am not working on TI's boards. But i suggest you to use free version of TI's code composer studio for your simple mathematical work on C64+ DSP. There is plenty of material here,   http://processors.wiki.ti.com/index.php/Main_Page

    Good Luck 

    With regards,

    Nitin