At 09:42 AM 10/28/2003, Vijayasaradhi D. wrote:
Hi All,

I have generated an ARMLet using CodeWarrior 9.2.
I compiled the code WITHOUT any changes to the code that is generated by the Wizard. It generated ARM0001.bin file and prc file. I compiled both the targets to make sure that ARM0001.bin is included in prc file.


When I run the prc file on the Treo600 device it resets the device. According to the code it should draw randomly-colored pixels on the screen.

Is there anything I am missing here ?

There is a major math library bug in the 9.2 tools that wasn't caught until after release. An easy fix for this specific PACE Native Object is to look at the "Run" function, and change the "% 256" operations to "& 0xFF". This avoids using the MOD operator from the math library and avoids triggering the bug.


In the meantime, you can contact Metrowerks technical support to get a hotfix for this problem. We are working on a 9.3 update which has quite a few ARM library and code generation fixes right now, but I don't know when it will be made available.

--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com



-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Reply via email to