• Memory alignment issues with global buffer
    We have a cortex M4F controller, using Keil uVision5 to compile and J-Link base to debug our applications. In our application we have a uint8 type global buffer of some x size, our issue is when we do...
  • How to align a local variable at word-aligned address
    Hi Does anyone know how to force a local variable to be aligned at word address? The DMA transfer needs word-aligned address. Thanks. Joseph
  • Problem with alignment of variable in memory
    I'm using an AT91SAM7 uC and have inherited some C code which is giving me fits. When I run this code I get a data abort error. I've tracked down the offending line of code, and it appears to be caused...
  • Alignment of variables for Cortex-M0
    Note: This was originally posted on 12th October 2012 at http://forums.arm.com [font=verdana, sans-serif][size=2]Hi guys,[/size][/font] [font=verdana, sans-serif][size=2]I'm currently working with a Cortex...
  • Realview aligning variables
    Note: This was originally posted on 22nd August 2011 at http://forums.arm.com Hi In Keil RealView is there some compiler or linker command switch that will ensure that all declared variables will be aligned...