STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! HardFault_Handler from stm32 + Fatfs + USB

Hello,A project created in truestudio generates a HardFault_Handler.There are 2 PCBs I made. PCB A and PCB B are the same circuit and components. I have confirmed that the operation is correct while writing the code in PCB A.However, there was a prob...

SWoon by Associate II
  • 956 Views
  • 3 replies
  • 0 kudos

Why variable changes to old value?

I have stm32vldiscovery board. I generated project by stm32cubemx.I want to switch down led by external interrupt (PA0 button).I have this in main.c#include "main.h" ... uint8_t ldOn = 1;   int main(void) { HAL_Init(); SystemClock_Config(); MX_...

Alexios by Associate
  • 557 Views
  • 3 replies
  • 0 kudos

Resolved! using HAL_UART_Transmit with safety

Hi,I'm using the USART function HAL_UART_Transmit for debugging.Most of the time everything works well.But sometimes the HAL_UART_ErrorCallback is called... And all my program freeze.Could you help me with these 2 options (first is best for me) :how ...

MMath.10 by Associate II
  • 3486 Views
  • 17 replies
  • 0 kudos

STM32 USB disable work

I am using the STM32F072B development version. The program is divided into two blocks, main code (address 0x08004000) and boot code (address 0x08000000).At present, I have a big problem. When I first started the power, I can know that the boot code j...

1123 by Associate II
  • 450 Views
  • 0 replies
  • 0 kudos

Resolved! STM32L432KC Internal bootloader issue

I am trying to access the STM32L432KC internal bootloader through BOOT0(PH3) pin. Option bytes are set as - 0x0FFFF8AAie.nSWBOOT0 = 1nBOOT1 = 1BOR_LEV  = 000RDP(Read protection level) = 0xAA (read protection inactive)This is how option byte...