GP2X Stopping The 940


MadDog

Member
Joined
Mar 4, 2006
Messages
262
Age
55
Location
UK
Website
www.maddoggames.com
I've got the 940 running some code of mine thanks to the excellent demo article by Dzz. But when the app shuts down the 940 is still running its code, which makes the system a bit unstable, kills my putty session and the frontend challanging to navigate with bouncing balls on screen. ;)

I'm forced into rebooting.

I've set the 0x0904 reg "g_pusRegs[0x0904>>1] &= (~(1<<0));" to pause it but it still keeps going. Apart from a daft bug i've not found in my code is there anything else I should be doing to make it stop.
 
Try setting bit 7 of 0x3B48 to 1 to keep the 940 in reset. I've had problems with toggling the clock control - it sometimes locks up the 940 when you re-enable it.
 
Back
Top