[En-Nut-Discussion] IP Checksum calculation broken. Reenabled old algorithm for the meantime.

Bernard Fouché bernard.fouche at kuantic.com
Mon Jun 18 14:37:02 CEST 2012


Le 18/06/2012 14:07, Harald Kipp a écrit :
> I'm not yet familiar enough with the Cortex platform. But it looks 
> strange to me, that no alignment is required at all. I expected at 
> least 16-bit alignment.
The Cortex-M3 core doesn't require word alignement, but for some special 
cases like the LDM/STM instructions, stack push/pop, LDREX/STREX and 
bitband operations. If the address isn't aligned the core just takes 
more time to execute the instruction but does the job anyway.

    Bernard



More information about the En-Nut-Discussion mailing list