This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Port BOX2D on ARM LPC2106 Debug freeze

Hi All i am new in ARM community. I try to port BOX2D to My test board with LPC2106 with 132x176 LCD and joystick.

Rutine for controlling hardware is working good. Now i testing porting BOX2D physics engine to Keil. with little change in source code compilling with no error and no warning , but if I try to debug, debug if freezing after startup cpu. Debug is freeze in line

 IMPORT  __main
 LDR     R0, =__main
 BX      R0


I try to solve this problem but all my work is bad, Code work only if i delete line 164 in main and comment many needed code

Source Code is Optimalising for runing On ARM and PC with SDL support. Compiling devcpp variant working perfectly

Keil Source
milikiller.ic.cz/.../Box2D_keil.zip

DevCpp Source
milikiller.ic.cz/.../box2D_devcpp.zip