LCD of PBMCUSLK (project board 2)

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

LCD of PBMCUSLK (project board 2)

ソリューションへジャンプ
3,758件の閲覧回数
q8Nsde
Contributor I
 i have PB\MCUslk,
when i download my application on  MCU , the output must appear on the LCD , but it didnt
 
 
note:the LCD is on but there is no result appear on it
ラベル(1)
タグ(1)
0 件の賞賛
返信
1 解決策
1,505件の閲覧回数
CrasyCat
Specialist III
Hello
 
CodeWarrior for HC08 V5.1 is configured to redirect stdout (printf) to a SCI.
If you want to see output of your printf on your LCD:
  - Start CodeWarrior
  - Open the file {Install}\lib\hc08c\src\termio.c
  - Select "File" -> "Save As"
  - Save the file in your project source directory and give is a meaningful name (for example
     term_LCD.c)
  - Add that file to your project
  - Modify the implementation of the functions TERMIO_Init and  TERMIO_PutChar to respectively
     initialize the LCD device and send a character there.
  - Define an empty TERMIO_GetChar as you will not be able to get input char from the LCD.
  - Build the application.
 
That should do it.
 
CrasyCat

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
1,505件の閲覧回数
CrasyCat
Specialist III
Hello
 
According to Freescale web page, PBMCUSLK is available for different microcontrollers. So I need more information to answer your question.
 
- Which CPU are you targeting (HC08, HC12, Coldfire, ..)
- Which version of CodeWarrior are you using?
  To retrieve that info:
  - Start CodeWarrior
  - Select Help -> About Freescale CodeWarrior
  - Click on "Install Products"
  - CodeWarrior version used is displayed on top in the Installed Products dialog.
 
Finally how are you trying to print something to the LCD? Are you expecting stdout (printf) to be redirected there?
 
CrasyCat
0 件の賞賛
返信
1,505件の閲覧回数
q8Nsde
Contributor I
hello CrasyCat,
as answetrof your questions:
 
 CPU im targeting  is HC08
version of CodeWarrior is 5.1
if u need any more information ask it
 

 
 
0 件の賞賛
返信
1,505件の閲覧回数
q8Nsde
Contributor I
and,
yes i expect output on LCD , as my application software that i loaded in  the cpu programmed
0 件の賞賛
返信
1,506件の閲覧回数
CrasyCat
Specialist III
Hello
 
CodeWarrior for HC08 V5.1 is configured to redirect stdout (printf) to a SCI.
If you want to see output of your printf on your LCD:
  - Start CodeWarrior
  - Open the file {Install}\lib\hc08c\src\termio.c
  - Select "File" -> "Save As"
  - Save the file in your project source directory and give is a meaningful name (for example
     term_LCD.c)
  - Add that file to your project
  - Modify the implementation of the functions TERMIO_Init and  TERMIO_PutChar to respectively
     initialize the LCD device and send a character there.
  - Define an empty TERMIO_GetChar as you will not be able to get input char from the LCD.
  - Build the application.
 
That should do it.
 
CrasyCat
0 件の賞賛
返信