STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

JOkam.1 by Associate
  • 543 Views
  • 2 replies
  • 0 kudos

Why is a single 23-bit value not correctly written to the flash memory when I use 'HAL_FLASH_Program()'?

HelloI've managed to get the 'FLASH_EraseProgram' example program for the Nucleo-F413ZH that comes with 'STM32Cube_FW_F4_V1.25.0' working on a Nucleo-F413ZH board.It erases sectors 2 to 15 and fills them with data - i.e. 0x78563412 that shows up repe...

ron_w by Associate III
  • 1502 Views
  • 4 replies
  • 0 kudos

X-CUBE-CELLULAR on B-U585-IOT02A Hard faults when executing AT+CGMR handler. The SID_CTXT.device_info pointer is NULL when memcpy is called to copy the response into the struct. On L4, the pointer is NULL also but the code continues.

at_modem_signalling.c fRspAnalyze_CGMR() line 1583. In L4 the compiler is v5, on U5 the compiler is v6. It seems the main issue is that the device_info pointer is not initialized before this code executes. CS_get_device_info() is called later after C...

MSher.1 by Associate III
  • 361 Views
  • 0 replies
  • 0 kudos

Resolved! STM32L4xx USB Composite Device

Hello everyone, I am making a USB Composite Device according to the article - https://sudonull.com/post/68144-CDC-MSC-USB-Composite-Device-on-STM32-HAL. I use stm32l4xx, instead of the HAL_PCDEx_PMAConfig() functions, I use the HAL_PCDEx_SetTxFiFo()/...

alfinikov by Associate III
  • 926 Views
  • 1 replies
  • 1 kudos

STM32 UART bootloader on brand new chip.

Hi, I have some questions about the STM32 UART bootloader. I've never used this technology, so the questions might be trivial, but I couldn't find detailed information on the internet.Question 1 - In all the tutorials I found, development boards or e...

DFU Mode with L152 / L082

I am developing a project for the L082 (as we have stock of these) but am currently using the L152 discovery board to get things started. This is going well but I thought that I would try the DFU mode to allow easier field software updates. I tried...

GSewe by Associate II
  • 635 Views
  • 2 replies
  • 0 kudos

Needing help customizing the USB setup on STM32H750 to connect as a "Generic Bulk Device" under the "Universal Serial Bus devices" in the Device Manager.

Switched from another processor to the STM32H750 on updated boards, and trying to keep the PC communication the same so it is seamless (or as seamless as can be) for the user experience. Previous boards connected up to Windows as a Generic Bulk Devic...

0693W00000JNcQEQA1.png
JColl.6 by Associate II
  • 1208 Views
  • 4 replies
  • 0 kudos

STM32F4 HAL V1.26.2 USB 2.0 host mode MSC over ULPI phy not stable, some functions must be back-ported to 1.25.2

We have found out two stability issues inside the current version of STM32F4 HAL driver.Chip used:STM32F429ZI, External ULPI: USB3300, Vbus control using STMPS2151STR, ESD protection, EMI protection.(see scheme appended)Compiler: GCC / GNU Arm Embedd...

Potential race conditions in H7 Ethernet example(s)

I am sorry if the question was already asked, but I cannot find something similar.I have created LwIP_UDP_Echo_Server example for STM32H735G-DK, and after some efforts it works. So far so good. Now I am porting the code to my actual project. I am stu...

bigfoot by Associate II
  • 309 Views
  • 0 replies
  • 0 kudos