'board_android-IoT/STM32F'에 해당되는 글 31건

  1. 2025.02.20 :: How to change the readout protection on STM32F4
  2. 2025.02.20 :: Keil compiler printf(with uart) 하기
  3. 2025.02.18 :: Keil compiler printf(with uart) 하기
  4. 2024.10.29 :: STM Flash loader 1
  5. 2024.10.12 :: Keil, uVision , Compile size check
  6. 2024.09.20 :: LTE modem sample
board_android-IoT/STM32F 2025. 2. 20. 10:20

 

posted by cskimair
:
board_android-IoT/STM32F 2025. 2. 20. 10:19

Keil 컴파일러에서는 printf를 사용하기 위해서는 추가로 설정이 필요합니다.

아래 방법은 UART로 debug message를 보내기 위한 방법입니다 .

1. Header 추가

. String을 사용하기 위해서 #include"stdio.h" 을 추가합니다.

2.Option 변경

아래 그림 처럼 use MicroLIB를 check합니다.

3. UART로 데이터를 전송하기 위한 callback함수를 추가하셔야 합니다. 

     UART 2번으로 data를 전송하기 위해나 fputc()함수를 추가하였습니다.

   그리고  조금 특이한 것은 ferror()함수를 추가 하지 않으면, Reset vector에서 Main()함수로 jmp를 못합니다. (아직 이유는 모름)

 

https://blog.naver.com/compass1111/221624747254

 

Keil compiler printf(with uart) 하기

STM32F1 시리즈와 goodisplay E-ink display장치를 개발하고 있습니다. Keil 컴파일러에서는 printf...

blog.naver.com

 

'board_android-IoT > STM32F' 카테고리의 다른 글

STM32 printf redirection to UART  (0) 2025.02.28
How to change the readout protection on STM32F4  (0) 2025.02.20
Keil compiler printf(with uart) 하기  (0) 2025.02.18
STM Flash loader  (1) 2024.10.29
Keil, uVision , Compile size check  (0) 2024.10.12
posted by cskimair
:
board_android-IoT/STM32F 2025. 2. 18. 23:13

Keil 컴파일러에서는 printf를 사용하기 위해서는 추가로 설정이 필요합니다.

아래 방법은 UART로 debug message를 보내기 위한 방법입니다 .

1. Header 추가

. String을 사용하기 위해서 #include"stdio.h" 을 추가합니다.

2.Option 변경

아래 그림 처럼 use MicroLIB를 check합니다.

3. UART로 데이터를 전송하기 위한 callback함수를 추가하셔야 합니다. 

     UART 2번으로 data를 전송하기 위해나 fputc()함수를 추가하였습니다.

   그리고  조금 특이한 것은 ferror()함수를 추가 하지 않으면, Reset vector에서 Main()함수로 jmp를 못합니다. (아직 이유는 모름)

 

https://blog.naver.com/compass1111/221624747254

 

Keil compiler printf(with uart) 하기

STM32F1 시리즈와 goodisplay E-ink display장치를 개발하고 있습니다. Keil 컴파일러에서는 printf...

blog.naver.com

 

- 아래는 CubeIDE 환경용이나 잘 동작할지는 확인 필요 

https://community.st.com/t5/stm32-mcus/how-to-redirect-the-printf-function-to-a-uart-for-debug-messages/ta-p/49865

 

How to redirect the printf function to a UART for debug messages

Introduction It can be especially useful during code development to display messages in a terminal window about various system parameters to help with debugging. An easy way to do that is to use the printf function and redirect the output to a UART for dis

community.st.com

 

'board_android-IoT > STM32F' 카테고리의 다른 글

How to change the readout protection on STM32F4  (0) 2025.02.20
Keil compiler printf(with uart) 하기  (0) 2025.02.20
STM Flash loader  (1) 2024.10.29
Keil, uVision , Compile size check  (0) 2024.10.12
LTE modem sample  (0) 2024.09.20
posted by cskimair
:
board_android-IoT/STM32F 2024. 10. 29. 18:10

 

 

-

https://blog.naver.com/PostView.naver?blogId=ansdbtls4067&logNo=221510145642&parentCategoryNo=&categoryNo=&viewDate=&isShowPopularPosts=false&from=postView

 

STM32F429I-DISC1 보드의 MCU 내장 Bootloader를 이용한 펌웨어 다운로드 - 2

안녕하세요? 땜쓰 전자연구소의 소장 땜쓰입니다. 이번 포스팅에서는 지난 포스팅인 "STM32F429I...

blog.naver.com

 

 

-

https://www.st.com/en/development-tools/flasher-stm8.html

 

FLASHER-STM8 - STMicroelectronics

FLASHER-STM8 - STM8 Flash loader demonstrator (UM0462), FLASHER-STM8, STMicroelectronics

www.st.com

 

 

 

'board_android-IoT > STM32F' 카테고리의 다른 글

Keil compiler printf(with uart) 하기  (0) 2025.02.20
Keil compiler printf(with uart) 하기  (0) 2025.02.18
Keil, uVision , Compile size check  (0) 2024.10.12
LTE modem sample  (0) 2024.09.20
SWO (Serial Wire Output) setting  (2) 2024.07.23
posted by cskimair
:
board_android-IoT/STM32F 2024. 10. 12. 13:27

- Keil, uVision5 , how to check compile code size limit  check

> Flash size: Code + RO-data + RW-data

 

#W7500_compile_size_check  #STM32_compile_size_check #W7500

컴파일 데이타배치


Program Size: Code=10608 RO-data=268 RW-data=80 ZI-data=1632  
컴파일하면 결과가 이럻게 나오는데
 
싸이즈
1. ZI Data: Zero Initialized Data
2. RO Data are the constants.
Total RAM Size = RW Data + ZI Data
Total ROM Size = Code + RO Data + RW Data

https://blog.naver.com/gauya/220129979980

 

Keil, uVision5

  - 컴파일 데이타배치 Program Size: Code=10608 RO-data=268 RW-data=80 ZI-data=1632 &nb...

blog.naver.com

 

 

'board_android-IoT > STM32F' 카테고리의 다른 글

Keil compiler printf(with uart) 하기  (0) 2025.02.18
STM Flash loader  (1) 2024.10.29
LTE modem sample  (0) 2024.09.20
SWO (Serial Wire Output) setting  (2) 2024.07.23
Porting STM32F1 Firmware to STM32F4  (0) 2024.07.20
posted by cskimair
:
board_android-IoT/STM32F 2024. 9. 20. 14:46

 

- 개발보드:

https://ko.aliexpress.com/item/1005005675389969.html?spm=a2g0o.productlist.main.17.4adf4f10y9Q0el&algo_pvid=5dc88406-ce16-48a2-98c9-2ee7fecdf5fd&algo_exp_id=5dc88406-ce16-48a2-98c9-2ee7fecdf5fd-8&pdp_npi=4%40dis%21KRW%2121350%2121350%21%21%21110.10%21110.10%21%40210133e017268091133244640efca3%2112000033977202674%21sea%21KR%21177274289%21X&curPageLogUid=8pqk0V6Yza92&utparam-url=scene%3Asearch%7Cquery_from%3A

 

GSM 모듈 개발 코어 보드 TTL 직렬 포트 포함, A7670E, A7670SA, A7670G, A7672S, 4G Cat 1 - AliExpress 30

Smarter Shopping, Better Living! Aliexpress.com

ko.aliexpress.com

 

 

- 비교

Github 링크:

https://github.com/Xinyuan-LilyGO/LilyGO-T-A7670X

 

GitHub - Xinyuan-LilyGO/LilyGO-T-A76XX: LilyGo A7670X A7608X SIM7670G series

LilyGo A7670X A7608X SIM7670G series. Contribute to Xinyuan-LilyGO/LilyGO-T-A76XX development by creating an account on GitHub.

github.com

 

-

https://ko.aliexpress.com/item/1005003036514769.html?spm=a2g0o.tm1000010823.d2.1.7a1f11b5TisSrJ&pvid=c4ccf7a3-10c5-4cd7-9c27-23ec29976b0f&pdp_ext_f=%7B%22ship_from%22:%22%22,%22sku_id%22:%2212000023370187237%22%7D&scm=1007.51228.386262.0&scm-url=1007.51228.386262.0&scm_id=1007.51228.386262.0&pdp_npi=4%40dis%21KRW%21%E2%82%A9%2050%2C333%21%E2%82%A9%2045%2C300%21%21%2136.78%2133.10%21%402101584d17268087425621075e96ae%2112000023370187237%21gdf%21KR%21177274289%21X&channel=bigSave&aecmd=true&_gl=1*fabh5i*_gcl_au*MTQyNTg4MjI5LjE3MjEwOTg5MTI.*_ga*NDA0MjEyMjk5LjE3MTMyMzM2MzM.*_ga_VED1YSGNC7*MTcyNjgwODUyMi4xMDAuMS4xNzI2ODA4OTE1LjYwLjAuMA..

 

LILYGO® TTGO T-A7670G/E/SA R2 4G 개발 보드 LTE CAT1 SIM 모듈 ESP32 지원 GSM/GPRS/EDGE TF 카드 A7670G A7670E A7670SA -

Smarter Shopping, Better Living! Aliexpress.com

ko.aliexpress.com

 

- 기존모뎀:

-

'board_android-IoT > STM32F' 카테고리의 다른 글

STM Flash loader  (1) 2024.10.29
Keil, uVision , Compile size check  (0) 2024.10.12
SWO (Serial Wire Output) setting  (2) 2024.07.23
Porting STM32F1 Firmware to STM32F4  (0) 2024.07.20
CS5480 - Voltage, Current RMS calculation IC  (0) 2024.07.10
posted by cskimair
: