• 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 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 during global objects creation
    Hello, The progject I'm working on suppresses global objects creation using $Super$$__cpp_initialize__aeabi_, because some .cpp code contains OS calls so the construction is deferred to after the...
  • 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...
  • Corrupted main.c
    So, my laptop decided to go BSOD on me while i was working in keil, i had saved the file 5 minutes ago yet i fear the proyect has gone corrupt. Any sugestions? I had onedrive autosave turned on, but...