2018년 10월 12일 금요일

STM32F40x study

F/W 문제로 부팅이 되지 않거나 기기가 벽돌이 된 경우 아래 내용을 참고해보자. BOOT1/BOOT0핀을 0/1 상태로 세팅하면 flash 부팅을 이용하지 않기 때문에 디버거를 사용할 수 있을 것 같다. (Core205R 보드의 경우 아래(⑤)와 같이 BOOT CONFIG 스위치(BOOT0 제어)가 제공되는데, 바꿔봐야 소용 없다 ㅡ.ㅡ)



RM0090 Reference Manual p.69 참조

2.4 Boot configuration

  • Due to its fixed memory map, the code area starts from address 0x0000 0000 (accessed through the ICode/DCode buses) while the data area (SRAM) starts from address 0x2000 0000 (accessed through the system bus). The Cortex®-M4 with FPU CPU always fetches the reset vector on the ICode bus, which implies to have the boot space available only in the code area (typically, Flash memory). STM32F4xx microcontrollers implement a special mechanism to be able to boot from other memories (like the internal SRAM).
  • In the STM32F4xx, three different boot modes can be selected through the BOOT[1:0] pins as shown in Table 2.

Table 2. Boot modes

Boot mode selection pins Boot mode Aliasing
BOOT1 BOOT0
x 0 Main Flash memory Main Flash memory is selected as the boot space
0 1 System memory System memory is selected as the boot space
1 1 Embedded SRAM SRAM is selected as the boot space


댓글 없음:

댓글 쓰기

[Scrap] Zero to Hero: Guide to Object Detection using Deep Learning: Faster R-CNN,YOLO,SSD

Zero to Hero: Guide to Object Detection using Deep Learning: Faster R-CNN,YOLO,SSD https://cv-tricks.com/object-detection/faster-r-cnn-yo...