• Packed structs unaligned access
    I'll start with a code sample typedef struct { uint16_t len; uint16_t crc; uint8_t data[1]; } __attribute__ ((packed)) packet_t; typedef struct { uint64_t timestamp; uint8_t val1, val2, val3...
  • Cortex: support of unaligned data access
    Hi The Cortex-M3 should support unaligned data access to save RAM space without the lost of performances. Is there a possibility to enable this features for an entire project or do I have to use...
  • ARM: STM32F7: hardfault caused by unaligned memory access
    I was having some issue executing from SDRAM (now working) and looked into this support document: http://www.keil.com/support/docs/3777.htm For part 2 of this note - should: RCC->APB2ENR...
  • Debugging a Usage Fault for an unaligned memory access
    Note: This was originally posted on 4th July 2013 at http://forums.arm.com Hi, I am experiencing a hard fault in Cortex M3. After reading some topics in forums and blogs, I added the following code for...
  • Debugging a Usage Fault for an unaligned memory access
    Hi, I am experiencing a hard fault in Cortex M3 and bit#30 FORCED is set in the Hard Fault Status Register (0xE000ED2C). Referring to the Cortex M3 Technical Reference Manual: [color="#0000FF"] [30] FORCED...