2562 views|6 replies

5303

Posts

454

Resources
The OP
 

[Lazy self-care fish tank control system] PRINTF output in RTT mode under Keil environment [Copy link]

 

[Lazy self-care fish tank control system] PRINTF output under RTT in Keil environment

Today I tried using SEGGER's RTT print output program PRINTF

1. In printf.h, we need to make a compilation choice to select the printf output we need

2. Add macro definitions in the project properties

3. Open SEGGER's J-Link RTT Viewer

4. Select the interface type: j-link USB default rate

5. Prompt to select device

6. Run debug

7. This way you can debug without occupying other hardware peripherals

image.png (17.05 KB, downloads: 0)

image.png

Latest reply

Didn't Segger provide the porting file for RTT? It seems that it can be used directly by attaching it.   Details Published on 2021-5-10 22:43
 
 

1662

Posts

0

Resources
2
 

It turns out that you need to select the printf output you need

The evaluation was very careful

Comments

The ON function is pretty good!  Details Published on 2021-5-6 21:48
 
 
 

5303

Posts

454

Resources
3
 
Hot Ximi Show posted on 2021-5-6 21:27 It turns out that you need to choose the printf output evaluation you need very carefully

The ON function is pretty good!

 
 
 

5303

Posts

454

Resources
4
 

When the phone sends, DEBUG will get stuck

Try again, the problem there

 
 
 

1412

Posts

3

Resources
5
 

Thanks for sharing, very detailed

Personal signature

没有什么不可以,我就是我,不一样的烟火! 

 
 
 

7422

Posts

2

Resources
6
 

Didn't Segger provide the porting file for RTT? It seems that it can be used directly by attaching it.

Comments

No need to transplant, the macro definition is already included in the ON project  Details Published on 2021-5-11 08:02
Personal signature

默认摸鱼,再摸鱼。2022、9、28

 
 
 

5303

Posts

454

Resources
7
 
freebsder posted on 2021-5-10 22:43 Didn't Segger provide the porting file for RTT? It seems that it can be used directly by hanging it up.

No need to migrate, ON's project already includes

Macro definition can be

 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list