• Does "LDRD" instruction cause "UNDEFINSTR" error on Cortex-M4?
    Dear Experts, I'm working on a freertos project which is running at Cortex-M4 and I'm being troubled by a problme - hard fault. The following is my debugging process: I dump the registers in the...
  • Does "LDRD" instruction cause "UNDEFINSTR" error on Cortex-M4?
    Dear Experts, I'm working on a freertos project which is running at Cortex-M4 and I'm being troubled by a problme - hard fault. The following is my debugging process: I dump the registers in the...
  • Is there a way to prevent the C compiler from generating ldrd instructions (which assume 64-bit alignment)
    I'm using the GCC compiler to load packed 16-bit data (i.e. two 16-bit words in a 32-bit value). My pointer is to a 32-bit type because I want to load two 16-bit values in a single cycle but the pointer...
  • Is there a way to prevent the C compiler from generating ldrd instructions (which assume 64-bit alignment)
    I'm using the GCC compiler to load packed 16-bit data (i.e. two 16-bit words in a 32-bit value). My pointer is to a 32-bit type because I want to load two 16-bit values in a single cycle but the pointer...
  • Problem with uint32_t accesses using LDRD
    To illustrate my problem, I just implemented demonstration code: #include <stdint.h> uint64_t read(const uint32_t *wordStream) { uint32_t low = *wordStream++; uint64_t high = *wordStream++; high...