Browse
STMicroelectronics Community
FAQs
Sign In
Product forums
STM32 MCUs
STM32 MCUs Products
STM32 MCUs Boards and hardware tools
STM32 MCUs Software development tools
STM32 MCUs Embedded software
STM32 MCUs TouchGFX and GUI
STM32 MCUs Motor control
STM32 MCUs Security
STM32 MCUs Wireless
STM32 MPUs
STM32 MPUs Products
STM32 MPUs Boards and hardware tools
STM32 MPUs Embedded software and solutions
STM32 MPUs Software development tools
MEMS and sensors
MEMS (sensors)
Imaging (sensors)
Automotive and Transportation
Automotive MCUs
AutoDevKit Ecosystem
GNSS positioning
Edge AI
Analog and audio
Interface and connectivity ICs
Power management
ST25 NFC/RFID tags and readers
STM8 MCUs
Other: hardware
Other: software
Knowledge base
STM32 MCUs
STM32 MPUs
MEMS and sensors
Analog and audio
EMI filtering and signal conditioning
Interface and connectivity ICs
Power management
Quality & reliability
Academy
About
Community guidelines
Feedback forum
Community blog
Developer news
Llai.930
Associate II
since
2019-11-03
2023-06-14
User statistics
3
Posts
0
Solutions
0
Kudos given
0
Kudos received
STMicroelectronics Community
About Llai.930
Options
Report User
User Activity
Posts
Replies
IAR for STM8, FLASH_EraseBlock stuck in release mode
2019-11-04
#define RAM_EXECUTION (1) configured with STM8AF52xxUse FLASH_EraseBlock in debug mode to erase normally.In release mode (medium or high optimization) use FLASH_EraseBlock to die.why?
Re: IAR for STM8, FLASH_EraseBlock stuck in release mode
2019-11-07
Has anyone encountered a similar problem?
Re: IAR for STM8, FLASH_EraseBlock stuck in release mode
2019-11-04
I use STM8S_StdPeriph_Driver\src\stm8s_flash.cIN_RAM(void FLASH_EraseBlock(uint16_t BlockNum, FLASH_MemType_TypeDef FLASH_MemType)) { uint32_t startaddress = 0; #if defined(STM8S105) || defined(STM8S005) || defined(STM8S103) || defined(STM8S00...