forgot to share the info, someone points me the bug : SGCC made a clear a3, where move 0,a3 is needed...and clear write AND READ!!
it's the read at the readonly mem which made the crash
in SGCC don't use
*pw = 0;
but
register uint tmp;
tmp = 0;
*pw = tmp
Kaneda