
8 Jan
2007
8 Jan
'07
3:41 a.m.
Hi, Stefan,
Thanks! But it's a pity they are no useful.
What I noticed after looking at the flash access functions like flash_read_uchar() is that no access macros and even no volatile pointer access is used to read from the flash. This looks like a potential problem, that can show when using different compiler versions.
Please find attached a small patch that adds fixes this potential problem for the 3 functions flash_read_uchar/ushort/long. Please give it a try and let me know if this changed the behavior somehow.
Agree with you! It's a potential problem. Is my patch fit for it? :D
Best Regards, Zhang Wei