• STM32F103C6 doesn't receive the complete data thorugh i2c as a slave with interrupt enabled, mantains SCL low after first data byte
    I'm trying to send a dat from master to a slave (the STM32F103C6) with HAL function for polling mode is working well and it is receiving all the data I send (I got all ACKs) but when I try to do the...
  • Dynamic Vector Table in RAM...
    I would like to have the option of relocating my vector table to RAM at runtime, in a library (ie if the code doesn't need to do this, it doesn't, and the RAM isn't allocated or is eliminated by section...
  • Autodetect SDRAM size in uBoot Bootloader via ARMv7 processor exception handler
    Hi There, I am writing some bootload code for the TI Sitara AM5726 processor which has Dual Arm-v7 Cortex-A15 cores. The uBoot bootloader is the code that runs before starting the Linux Kernel and is...
  • Cortex-M: Does the event register only get set when an IRQ changes from not pending to pending?
    I recently had a race-condition in an application on a Cortex-M4 microcontroller, because I used a wrong order of __SEV() and __WFE() instructions to put my chip to sleep. While debugging this issue,...
  • Debug single step and interrupts not executing
    I am trying to track down a hard to find issue on a Cortex-M4. Leading to a lot of single stepping. I have noticed that the CPU does not seem to process interrupts as expected when single stepping....