Hi, I have a project using STM32F407 micro. Every few days I get a reset on the device even though there is no interaction with the device. I have it running on the debugger with ST-Link connected and when this reset occurs I inspect the CSR register...
Posted on April 25, 2017 at 15:46Hi, I'm doing a project on an STM32F407 device. I'm getting an intermittent Hardware Fault (see attached). From the stacked PC address the error appears to be happening when vsnprintf had been called and is running. ...
Posted on March 31, 2015 at 14:32I have a bootloader which needs to read an 8 byte char array from the application area to identify it's version information. So bootloader is located at 0x08000000Application firmware at : 0x08020000the char array ...
Posted on February 27, 2015 at 11:58
Just wondering if it's possible to send/receive I2C data using re-starts instead of Stop/Start.
So I transmit data with:
if( HAL_I2C_Master_Transmit(&hi2c2, ADDR_DS, i2c_data, 5, 1000) == HAL_OK...
Posted on August 11, 2014 at 12:00
Hi,
I'm having a peculiar issue when jumping from my application code back to my bootloader. Before jumping back to the bootloader I disable all peripheral as shown in the code below. But when the HAL_NVIC_...
Thanks again KnarfB. Yeah, so if I get RCC_FLAG_PINRST on it's own then that would mean the NRST got pulled down. I will try a scope to catch this. Also, great advice on the HardFault Handler. Would it be a good idea to also create handlers for the b...
Thanks KnarfB. I do have this 100nF capacitor. So I was just wondering if there could be any hardfault or stack overrun situation that could cause this type of reset, or would the RCC_FLAG_SFTRST flag be also set in this scenario?
Posted on May 09, 2018 at 23:20It appears these are the functions need for Enabling and Disabling of SysTick Interrupt in HAL implementation.from stm32f4xx_hal.c__weak void HAL_SuspendTick(void){ /* Disable SysTick Interrupt */ SysTick->CTRL &= ...