본문 바로가기

IT/STM32 공부3

STM32CubeMX Project 작성및 기본코드 구성 STM32CUBEMX PROJECT 작성 및 기본코드 구성STM32CubeMX Setting을 시작합니다. 1. STM32CubeMX 초기 화면에서 "New Project"를 선택합니다. A. MCU Part Number를 기입합니다. ●아래 그림에서 1번에 MCU Part Number인 "STM32L152"를 입력하게 되면, 2번에 해당하는 part number의 목록이 보입니다. ●2번 리스트 목록에서 더블클릭합니다. 2. menu:File -> Save Project 를 합니다. 3. menu:Project -> Generate Code를 합니다. A. Project Tab에서 사용하는 IDE를 선택합니다 B. Code Generator Tab에서 .c/.h pair구성및 main.c파일에 모든 주.. 2018. 8. 8.
STM32L1 RDP Level1 Level 1: memory read protection enabledThis is the default read protection level after option byte erase. Read protection Level 1 is activated by writing any value (except for 0xAA and 0xCC used to set Level 0 and level 2, respectively) to the RDP option byte. When read protection Level 1 is set: – No Flash memory module access (read, erase, program) is performed while the debug features are con.. 2018. 7. 17.
[STM32L1][bootloader] Memory protection Flash code protection The STM32 microcontroller family is provided with the following code protection features:1. Global Read-out Protection (RDP)2. Write protection3. Proprietary Code Read Out Protection (PCROP) 1. Global Read Out Protection (RDP)The user area of the Flash memory module (data and program) can be protected against read operations. Three read protection levels are defined: • Leve.. 2018. 7. 13.