STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Flash write/Read program does not work with debugger

I am working with G071 neucleo board. I am trying to debug a program that writes and reads for EEPROM emulation. However, it does not work as expected in dubug mode. The example program provided by ST for Flash runs well in run mode ( Without debugge...

NGT by Associate
  • 570 Views
  • 1 replies
  • 0 kudos

Resolved! External SRAM issue

Hello,I hope someone can help with this riddle.We just started working with our custom board, based on stm32h743 (untill now we worked with eval stm32h743-eval board).The internal memories, GPIOs and other interfaces works OK, but we have the followi...

ranran by Senior II
  • 955 Views
  • 4 replies
  • 0 kudos

Sector Erasing in STM32--chip crashes on 256kB erase

I am working on erasing sectors sequentially in my MCU, from Sector 2 through Sector 7 (the size of flash where my firmware will live). I have found that sequential sector erases will occasionally fail, and any attempt to erase a sector of size 256k...

rsoc by Associate III
  • 977 Views
  • 4 replies
  • 0 kudos

stm32l496 SDMMC Correct Sequence for writing multiple blocks

I am in the process of porting some code from stm32F405 to stm32L496 in the hope of reducing current consumption.One of the things my code does is write to an SD card, and because it writes a lot of data, I useSD_CMD_WRITE_MULT_BLOCKAnd then repeat {...

Danish1 by Lead III
  • 1011 Views
  • 1 replies
  • 0 kudos

NAND Flash File system

I am working on raw NAND Flash memory with STM32L496 DISCOVERY board, and want implement file system which should include wear-leveling and bad block handling without any operating system .which file system should i use???is there any porting documen...

aahme.4 by Associate II
  • 510 Views
  • 0 replies
  • 0 kudos

Resolved! get interrupt state

How to get interrupt state (enabled or disabled) via HAL?In my void I need to do HAL_TIM_OC_Stop_IT() only if this interrupt enabled.

NVIC_SCBDeInit is in contraddiction with Cortex manual (??)

At the end of NVIC_SCBDeInit I see these instructions:[...]SCB->CFSR = 0xFFFFFFFF;SCB->HFSR = 0xFFFFFFFF;SCB->DFSR = 0xFFFFFFFF;The first one is a status register. Why writing it?For the second one the manual states:"This register is read, write to c...

sirpak by Associate II
  • 424 Views
  • 0 replies
  • 0 kudos