I'm trying to use the watchdog on a STM32F401.The watchdog initialization is as follows: hwwdg.Instance = WWDG; hwwdg.Init.Prescaler = WWDG_PRESCALER_8; hwwdg.Init.Window = 127; hwwdg.Init.Counter = 127; hwwdg.Init.EWIMode = WWDG_EWI_DISABLE;In norma...
I'm using cJSON on a STM32F401 and I'm a bit worried with possible problems regarding with memory allocation.If a call malloc(1) (so asking the heap for 1 byte only) how many bytes are really used on the Heap?I would assume correct answer with be 16 ...
I'm using a STM32F401RE and developing on STM32CubeIDE.Since I have a Bootloader on address 0x08000000 and I had to move the Application to 0x0800C000 by changer the linker file:MEMORY{ RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 96K/* FLASH (rx) ...
I'm using a STM32F401RE.I'm trying to perform a Reset using the Application Interrupt and Reset Control Registerhttps://developer.arm.com/documentation/dui0497/a/cortex-m0-peripherals/system-control-block/application-interrupt-and-reset-control-regis...
I'm using a STM32F401 that has its FLASH located at address 0x08000000.I'm trying to use the Vector Table Offset Register. I need to put the Vector Table at address 0x0800C000.My first question would be what do I need to put in VTOR?0x0800C000 (absol...
That is indeed a good point.I was asking for the minimum unit of allocation which I think is 16 bytes.But you are right, there is a header with pointers (next and previous) and the size of the block given...So if one allocates small strings it could ...
I just put a breakpoint at:Reset_Handler: ldr sp, =_estack /* set stack pointer */and at this point using the Eclipse registers window I can see that both PRIMASK and FAULTMASK are 0.