STM32 MCUs Embedded software

Ask questions and find answers on STM32Cube packages, including HAL, LL and middleware, and expansion software.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! Custom Bootloader?

I am planning to do a Over the air update for a tool.And I'm planning to use a stm32l431cc ultra low power MCU with one flash bank.So here we have an application which is some 100kb.I'm confused with lot of terms.OpenBootloaderIn application programm...

Vmere.1 by Senior
  • 7060 Views
  • 8 replies
  • 0 kudos

Resolved! What is the added value of x=x; in driver code (FSMC)

I am porting ILI9341 code from Keil to Cube MX.The original code contains:  void LCD_WR_REG(vu16 regval) { regval=regval; //ʹÓÃ-O2ÓÅ»¯µÄʱºò,±ØÐë²åÈëµÄÑÓʱ LCD->LCD_REG=regval;//дÈëҪдµÄ¼Ä´æÆ÷ÐòºÅ }  vu16 seems to be __IO uint16_t i.e. volati...

Johi by Senior III
  • 2072 Views
  • 3 replies
  • 0 kudos

Resolved! eh_frame, init and fini in a C build

I see these in the linker scripts, but I do not see them in the output for a C application.I know eh_frame is for C++ exceptions, and it is not strange it is not in the output of the C application. I also read it is used for some C functionality as w...

mete by Senior II
  • 2514 Views
  • 4 replies
  • 1 kudos

Unable to build with USBPD

Hello! I am trying to build a simple project on STM32G431KBTx featuring USB PD.I am using STM32CubeMX (latest version), all libraries, etc. are also of latest revisions. I've setup USB PD parameters via GUI, and generated code for Makefile.When I cal...

Renha by Associate
  • 2614 Views
  • 3 replies
  • 0 kudos

Resolved! ADC STM32L152 with 25 channel

 Hi all,I am doing a project and need up to 25 ADC channels to read current from HAL ACS712 sensor,I have never read so many ADC channels.I saw that the STM32L152VET6 supports 25 ADC channels, so I chose it.I have a problem when configuring with ST32...

Hoi_0-1694250437569.png
Hoi by Associate II
  • 2096 Views
  • 3 replies
  • 1 kudos

STM32F070CBT6 jump to System Memory DFU

Posted on December 08, 2016 at 17:50 I'm trying to jump from an application to the DFU System Memory Bootloader. According toAN2606 this should work with my processor and the System Memory should start at address0x1FFFC800. I'm using an e...