• Stack pointer gets corrupted in debugger
    Hi everyone I am usinng the NXP KL43L256Z4 Cortex M0+, compiler MDK-ARM uVision V5.25.2 When I am in a breakpoint, I change any register value (ex. R6 = 0xFFFFFF), in the next step the Stackpointer...
  • 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...