• 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...
  • Alignment in Cortex-M3 and RVDS
    Note: This was originally posted on 6th May 2011 at http://forums.arm.com Hi all, I am using RVDS 4.1 for debugging a Corex-M3 based target. I am facing an alignment issue. My code is making 2-byte as...
  • 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...
  • 32Byte alignment
    I'm using CARM in uVision3. I have to use the variable which is aligned to 32 byte boundary. For example, ... int Var1, Var2; struct{ char Index[16]; char Bucket[16][32]; }Var_3, Var_4; ....