STM32 MCUs Embedded software

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

L4 Flash erase issue

MCU is STM32L4R9 with 1MB. I'm having trouble getting the device to erase the upper half of the flash programmatically. Apparently the device ships with opt bytes set for dual bank.I connected the device to the STM32 programmer through USB and turn...

EFrie.3 by Associate II
  • 1529 Views
  • 6 replies
  • 0 kudos

Resolved! STM32 F7: lock flash CR and avoid bus fault

Hi,On a STM32 F7, I would like to lock access to the FLASH_CR by writing a wrong key to the FLASH_KEYR register. Writing a wrong key results in a bus fault (disabling the bus fault raises it to a hard fault).Could someone help me with a way to write ...

LeeK by Associate II
  • 3164 Views
  • 7 replies
  • 3 kudos

Resolved! STM32G0 USBPD periphery seems to be deaf

Hello,I am developing a USB PD sink application on custom board with STM32G0B1VETI am using periphery UCPD2. I followed AN5418 to set up eveyrthing in CubeMX and add the specified pieces of code.Hovewer, ithe USBPD stack doesn't seem to send or recie...

Tadeas_Pilar_0-1695580295446.png

Resolved! USB HOST bootloader, start application

Starting from this video (https://www.youtube.com/watch?v=CGUC1wqSLCE) I'm trying to write my bootloader for DFU from an USB stick. The code works but I would like to tweak it such that:if at boot an USB stick is detected, than start the update, othe...

DamianoF by Associate II
  • 1489 Views
  • 2 replies
  • 1 kudos

STM32F4 + LAN8720

Hi all!I'm trying to send a page to the browser using a microcontroller. I use instructions and code from YouTube. I generate fsdata.c. I connect LAN8720 with a cable directly to the computer. As a result, the ping passes, but the site is not display...

Ping.jpg
ATima.1 by Associate
  • 1485 Views
  • 2 replies
  • 0 kudos

MKBOXPRO: Enabling 3A supply

Hi, I need to enable 3A supply on MKBOXPRO - referring to the attached schematic section; if I install 5.1K (1%?) pulldown resistors to GND, that are already provisioned for on R42,and R43, would that be all that I need to accomplish this?Another rel...

AVigh.1 by Associate II
  • 1339 Views
  • 2 replies
  • 0 kudos

STM32F411CE bootloader wrong USB VID/PID ?

When I hold BOOT0 while hitting Reset the Device boots up and configures the USB as VID/PID 0x0000/0x0002 but the STM32CubeProgrammer expects 0x0483/0xdf11.As far as I know the bootloader is in ROM (e.g. cannot be overwritten/damaged) so how can it b...

PRenn.1 by Associate III
  • 3749 Views
  • 10 replies
  • 1 kudos