stm32读写片内flash

  • U0_655212
    了解作者
  • 644.5KB
    文件大小
  • rar
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-04-26 03:24
    上传日期
stm32读写片内flash,使用keil编译通过,包括完整工程。
WriteFlash.rar
内容介绍
连接好串口助手: 下载程序,按复位运行 在上位机会收到写到EEPROM的里数据 *******************************************************************************/ Example description =================== This example provides a description of how to program the STM32F10x FLASH. After Reset, the Flash memory Program/Erase Controller is locked. To unlock it, the FLASH_Unlock function is used. Before programming the desired addresses, an erase operation is performed using the flash erase page feature. The erase procedure starts with the calculation of the number of pages to be used. Then all these pages will be erased one by one by calling FLASH_ErasePage function. Once this operation is finished, the programming operation will be performed by using the FLASH_ProgramWord function. The written data is then checked and the result of the programming operation is stored into the MemoryProgramStatus variable.
评论
    相关推荐