At 2:32 PM -0500 2002/04/11, Borislav Kolev wrote:
>Can you *fry* device or cause data loss by *reading* from an illegal address?!

Only in certain cases where reading an address resets a hardware timer (which could 
cause starvation if performed at the wrong time or in a very tight loop for example).

More likely though, you'll just cause a data abort of some kind and/or the device will 
spontaneously reset. Exactly what happens depends on the specifics of the hardware of 
course. But generally speaking, reading from potentially invalid memory addresses 
should not cause data loss. Writing to invalid memory addresses may however.

Regards,

Jim Schram
PalmSource Inc.
Partner Engineering

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

Reply via email to