embeded/Cortex-M4 STM
stm32flash 0.5 0.7 버전과 stm32g473
구차니
2025. 11. 28. 15:36
ubuntu 22.04 패키지로 설치된 건 0.5 버전인데
stm32g473을 boot0 핀을 이용해서 내장 부트로더로 올려보려고 하니 이런 에러가 발생한다.
0x469 장치 아이디 미지원.. 쩝..
| $ stm32flash /dev/ttyUSB0 stm32flash 0.5 http://stm32flash.sourceforge.net/ Interface serial_posix: 57600 8E1 Unknown/unsupported device (Device ID: 0x469) |
소스가 0.7 인데 받아서 빌드하고 해보니 잘된다.
| $ ./stm32flash /dev/ttyUSB0 stm32flash 0.7 http://stm32flash.sourceforge.net/ Interface serial_posix: 57600 8E1 Version : 0x31 Option 1 : 0x00 Option 2 : 0x00 Device ID : 0x0469 (STM32G47xxx/48xxx) - RAM : Up to 96KiB (16384b reserved by bootloader) - Flash : Up to 512KiB (size first sector: 1x2048) - Option RAM : 48b - System RAM : 28KiB |