1. STM32F103CBT6 vs STM32F103C8T6
- 128KB vs 64KB flash memory
2. STM32F103CBT6 + SPI_LCD(ILI1394)
- FLASH_PAGE_F1.c
> https://github.com/controllerstech/STM32/blob/master/FLASH_PROGRAM/F1%20SERIES/FlASH_PAGE_F1.c
//#define _64K_FLASH 1 // if 64K FLASH is available #ifdef _64K_FLASH //64KB FLASH avaiable , STM32F103C8T6 uint32_t addressTagFlash =0x0800FC00 ;//0x0800FC00 =>last 1K of 64K flash ; or 0x0800F800 for lower 2K range #else //128KB flash available , STM32F103CBT6 uint32_t addressTagFlash =0x0801FC00 ;//0x0801FC00 =>last 1K of 128K flash ; or 0x0801F800 #endif ...... Flash_Write_Data( addressTagFlash, (uint32_t *) TagSaveInfo , sizeof( TagSaveInfo) / sizeof(uint32_t)) ;//0x0801FC00: last 1KB of 128KB Flash Flash_Read_Data( addressTagFlash, (uint32_t *) temp_TagSaveInfo , sizeof( temp_TagSaveInfo)/sizeof(uint32_t) ) ; |
-추가
Facing problems with saving data to flash memory on stm32g030c8t6.
I tried implementing a driver by following the Flash example present of the GitHub page and a blog I found online: How to Program Flash memory in STM32 » ControllersTech The driver code according to this blog is: STM32/FlASH_PAGE_F1.c at master · contro
community.st.com
-F 시리즈는 아래 eeprom emulation을 지원하지 않음.
How to use flash memory as a EEPROM in STM32G071CBT6
Hello! I'm using the STM32G071CBT6 controller for my project. I need to store certain values in EEPROM for my project, but unfortunately, this controller doesn't have built-in EEPROM functionality. Despite this limitation, I'm determined to find a solution
community.st.com
'board_android-IoT > STM32F' 카테고리의 다른 글
Serial wire viewer - problem solved(CubeIDE , Keil) (0) | 2023.11.18 |
---|---|
STM32F , SWV기능 사용하기 , printf in IDE (0) | 2023.11.09 |
Target is not responding, retrying (0) | 2023.10.21 |
Keypad double click detect (0) | 2023.10.11 |
convert usb serial port to bluetooth communication (0) | 2023.04.01 |