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.

c64x+ Run time error

Hello,

         I am using CCS v4. While trying to debug my code i am getting following prints:

MyFP [Debug] - C64x+ CPU Cycle Accurate Simulator, Little Endian_0/TMS320C64+ [Project Debug Session]
Device
Thread [main] (Suspended)
0 main() at MWFpTester.cpp:41 0x00003024
1 c_int00() at boot.c:27 0x0002e980
C64x+ CPU Cycle Accurate Simulator, Little Endian_0/TMS320C64+ (4:45:40 PM)
C64x+ CPU Cycle Accurate Simulator, Little Endian_0/TMS320C64+: CIO (4:45:40 PM)


When i try to run the code it stuck while executing "fseek()" command.

Can u please help me with this..

  • Hi,

    I tried to reproduce this issue with a small Console I/O example code I have here (with a fseek function call), but was not successful. I am running CCSv4.2.4 on a XP/32bit PC and using the exact same simulator as you.

    I am not running anything massively complex or with large data transfers, therefore it is possible this may be influencing the correct operation of the simulator, therefore could you check a couple of things?

    - Inspect the heap usage by enabling the heap monitor. Go to menu Window --> Preferences --> General --> select the box Show heap status. If you are running out of heap, you can always check this thread on how to increase it.

    - I would also go through the General IDE and Debugger sections of the CCSv4 Troubleshooting page. These sections have helped people in the past with debugging problems.

    One other more radical alternative is to try CCSv5 to simulate your code, as it is a more up-to-date release with several bug fixes and new features. 

    Hope this helps,

    Rafael