printf in TeraTerm

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

printf in TeraTerm

3,315件の閲覧回数
mehdikarimibiuk
Contributor V

n/a

ラベル(1)
タグ(4)
0 件の賞賛
返信
5 返答(返信)

2,433件の閲覧回数
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello Mehdi:

I looked again at your project and detected that you are missing some settings. You added a second Serial_LDD component, but there is already one when you add the ConsoleIO component. You just need to configure that one to your needs (UART0, PTB16, PTB17 and baud rate). This Serial_LDD is hidden below the ConsoleIO component. Check the next picture:

Console.png

However, all this is explained in the tutorial from the link. Let me know if you still have problems.

Regards!

Jorge Gonzalez

0 件の賞賛
返信

2,433件の閲覧回数
mehdikarimibiuk
Contributor V

n/a

0 件の賞賛
返信

2,433件の閲覧回数
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello Mehdi:

Those configurations are correct. I checked your schematics and the connections seem to be correct, although I have never used that RS-232 voltage transceiver. Please check with the datasheet, unless that connection has worked before, is that so?

Your code seems ok to me, so another test would be to check your pin outputs with an oscilloscope.

Have you been able to run a debug session, or just flash the MCU with the Flash programmer?

/Jorge Gonzalez

2,433件の閲覧回数
mehdikarimibiuk
Contributor V

n/a

0 件の賞賛
返信

2,433件の閲覧回数
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello Mehdi:

I checked your project. If you already have the ConsoleIO component, then there is no need to add other UART components. You can find a well explained and detailed tutorial in the next link:

Tutorial: Printf() with (and without) Processor Expert | MCU on Eclipse

That tutorial is for Freedom KL25 and using GCC tools, but procedure is the same for your K10 and Freescale build tools.

Regards!

Jorge Gonzalez

0 件の賞賛
返信