On Wed, 28 Apr 2004 17:17:10, Michal Bacik wrote: >I'm getting weird crashes when running ARM code. >I'm doing this on Tungsten T3: >- allocate memory (using MemGluePtrNew) >- filling-in single ARM instruction "mov pc, lr" >- calling this code in PalmOS 5 > >Problem: sometimes everything is ok, func is called and returns. But >sometimes I only get "Fatal Alert - Fatal Exception" window and need reset. >It seems to depend on size of allocated memory block - if I alloc bigger mem >block (e.g. 10KB), there're more chances that func runs. >Can someone help me and tell what's wrong? ...
You might want to ask this question over in the PalmOS pno-forum. You could be having a data cache flush or icache-invalidate related problem with your poke'd in armlet. Ron Nicholson HotPaw Productions http://www.hotpaw.com/rhn/palm -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
