• Stack pointer gets corrupted
    At the beginning of main I have two variables, namely: unsigned char audioDataBuffer1[512]; unsigned char audioDataBuffer2[512]; Later in the code I use them as buffers for audio data from SD...
  • Stack corruption
    Hello, I am working on AT91SAM9G20, Keil 5.10. I am passing a constant structure pointer to a function. typedef struct { int Test; int OkFlag; }StructNode; typedef const StructNode *const...
  • User Stack Pointer Corruption with Double Precision Arithmetic
    When using C167 simulation and double precision arithmetic, I ran into a problem. Things didn't seem to be working properly, so I inspected the generated assembly and found that the user stack pointer...
  • flashFS gets corrupt
    Hi, I'm using REX5 and flashFS 6.9.4 on nor flash AT45DB041E (based on the AT45DB641E provided by Keil). The file system is ok in FAT12 but suddenly without any reason gets corrupted after write...
  • class "this" gets corrupted
    Hello, I am having a very strange behavior on my project. I am calling a class method that access a certain atribute. I have debugged the application and on the second method call I have noticed...