
22 Dec
2010
22 Dec
'10
11 a.m.
Dear Jens Scharsig,
I have parsed the code again and again. In result I found the problem in generated code.
In fact, the 4.2.2 code does access byte wise to soc (AT91) control registers, but should write data as an single word.
But I have no idea to prevent this.
By chance, the structure declaration has a packed attribute? Or other quirks which might make the compiler think the field _might be_ unaligned?
Best Regards, Reinhard