수행기록퀘스트3
- 보드의 Stlink를 pc와 연결후 CleanSENSING1.bat 실행: bootloader 프로그래밍 수행.
/******************************************/
Clean FP-AI-SENSING1
/******************************************/
Full Chip Erase
/******************************************/
STM32 ST-LINK CLI v3.6.0.0
STM32 ST-LINK Command Line Interface
ST-LINK SN: 066DFF535157808667105642
ST-LINK Firmware version: V2J37M27
Connected via SWD.
SWD Frequency = 4000K.
Target voltage = 2.6 V
Connection mode: Connect Under Reset
Reset mode: Hardware reset
Device ID: 0x415
Device flash Size: 1024 Kbytes
Device family: STM32L4x1/L4x5/L4x6
Hard reset is performed.
Core is held in reset
/******************************************/
Install BootLoader
/******************************************/
STM32 ST-LINK CLI v3.6.0.0
STM32 ST-LINK Command Line Interface
ST-LINK SN: 066DFF535157808667105642
ST-LINK Firmware version: V2J37M27
Connected via SWD.
SWD Frequency = 4000K.
Target voltage = 2.6 V
Connection mode: Normal
Reset mode: Hardware reset
Device ID: 0x415
Device flash Size: 1024 Kbytes
Device family: STM32L4x1/L4x5/L4x6
Loading file...
Flash Programming:
File : ..\..\..\..\..\Utilities\BootLoader\STM32L476RG\BootLoaderL4.bin
Address : 0x08000000
Memory programming...
栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢 100%
Reading and verifying device memory...
栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢栢 100%
Memory programmed in 0s and 829ms.
Verification...OK
Programming Complete.
/******************************************/
Install FP-AI-SENSING1
/******************************************/
STM32 ST-LINK CLI v3.6.0.0
STM32 ST-LINK Command Line Interface
ST-LINK SN: 066DFF535157808667105642
ST-LINK Firmware version: V2J37M27
Connected via SWD.
SWD Frequency = 4000K.
Target voltage = 2.6 V
Connection mode: Normal
Reset mode: Hardware reset
Device ID: 0x415
Device flash Size: 1024 Kbytes
Device family: STM32L4x1/L4x5/L4x6
Loading file...
Unable to open file!
/******************************************/
Dump FP-AI-SENSING1 + BootLoader
/******************************************/
SENSING1.bin size is bytes
피연산자 빠짐
Dumping 0x4000 + = bytes ...
..........................
STM32 ST-LINK CLI v3.6.0.0
STM32 ST-LINK Command Line Interface
Command -Dump needs 3 or 4 parameters! Use -? for help.
/******************************************/
Reset STM32
/******************************************/
STM32 ST-LINK CLI v3.6.0.0
STM32 ST-LINK Command Line Interface
ST-LINK SN: 066DFF535157808667105642
ST-LINK Firmware version: V2J37M27
Connected via SWD.
SWD Frequency = 4000K.
Target voltage = 2.6 V
Connection mode: Connect Under Reset
Reset mode: Hardware reset
Device ID: 0x415
Device flash Size: 1024 Kbytes
Device family: STM32L4x1/L4x5/L4x6
MCU Reset.
- 빌드 수행
Compiler: IAR 8.50.1
(원본 소스(SENSING1)를 SENSING1_Tiel로 복사하여 빌드함.)
- SENSING1_BL.bin 파일 라이팅
- 라이팅 후 동작 테스트
안드로이드 PlayStore에서 ST BLE 키워드로 앱을 찾기 후 “ST BLE Sensor” 앱을 설치.
앱을 실행한 첫 화면
코드에서 다음과 같이 수정함.
실행 결과화면
수정한대로 ID명(TIEL)+버전 이 출력되었음.
기타 동작화면
HAR 실행 영상
로그인 후
참가 상태를 확인할 수 있습니다.