본문 바로가기

임베디드 보드/STM32

STM32 OpenH743I-C compile & Serial Print

728x90

 

ARM Compiler OPTION

 

컴파일 속도가 늦다면 아래와 같이 Debug Information / Browse Infomation 체크를 해제하세요.

 

 

피시와 USB Serial 연결합니다.

 

https://www.waveshare.com/wiki/OpenH743I-C?spm=a2g12.12057483.0.0.54d074cbwfIveR

 

OpenH743I-C - Waveshare Wiki

Instruction This developer Kit is the new member of Open series, its core board is based on STM32H743IIT6.Interfaces are expended for easy using. About the examples We provide demo code for you to follow.The demo codes use HAL libraries, generated by STM32

www.waveshare.com

Preparation

  • Programmer: ST-Link V2
  • Programming Inteface: JTAG/SWD
  • You should use Serial assistance software to check output if the examples use serial print. OpenH743I-C integrate CP2102 chip on board, you just need to connect USART1 interface to PC by USB cable, and remove the OTG_JMP jumper, hereafter will no longer describe this setting。
  • The parameters of serial port should be: (Serial assistant software)

Baud rateData bitStop bitParity bitFlow Ctl

115200
8
1
None
None

【Note】You should pres reset button to run the code after programming.

프로그래밍

 

소스코드에서 printf 함수를 이용하여 디버그합니다.