STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

local bootloader

I want to use local bootloader of mcu. First i used to sm32f407vg mcu, than i would to use stm32l052 mcu but i didn't this wit mcu. my tryed code is under of question. i am waiting the advice.void JumpToBootloader(void) {  void (*SysMemBootJump)(voi...

Snm.1 by Associate III
  • 377 Views
  • 0 replies
  • 0 kudos

How to implement locking between ISR and main() in a HAL-based architecture. What is the added value of __HAL_(UN)LOCK() in the HAL UART source code as it is currently implemented?

Hello,I need an ISR that fills a circular buffer. Data will be consumed in the main() loop and critical section/mutex locking functionality is required to manage properly. So I looked at the HAL UART code for inspiration and came across __HAL_LOCK(hu...

Johi by Senior III
  • 2353 Views
  • 6 replies
  • 1 kudos

Third-party TCP/IP stack porting

Hello,-> I want to use a third-party TCP/IP stack with the STM32H745-Discovery, and I have gone through LWIP for reference, upon which I got to know that when we enable LWIP and Ethernet from Cube MX it generated ethenetif.c/.h and lwip.c/.h files an...

TChau.2 by Associate
  • 573 Views
  • 2 replies
  • 0 kudos

[BUG] Missing compiler and CPU memory barriers

NOTE! This is a bug report for all STM32 MCUs with Ethernet peripheral, but it has a highly valuable information for all software development on/for any platform.Compiler barriersThe compiler is not required to keep the code order of non-volatile var...

Piranha by Chief II
  • 6037 Views
  • 9 replies
  • 9 kudos

X-CUBE-STL library for STM32U5

Hi, we're transitioning our platform from a STM32F412 to a STM32U575, and in our project we are currently using the X-CUBE-STL libraries to perform runtime safety monitoring functions.It seems that the package does not yet support the STM32U5 family....

SBone.3 by Associate II
  • 1144 Views
  • 1 replies
  • 0 kudos