Semihosting Enable and printf() usage MPC5775B

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

Semihosting Enable and printf() usage MPC5775B

168件の閲覧回数
engineer_attila
Contributor III

Hi folks, 

I struggled the use printf() in MPC5775B. (I connected the P&E Micro JTAG)

I enabled "Enable semihosting" from Debug Configuration and changed the Libraries support to "newlib Debugger Console" . But when i lanch the probram i couldn't see any thing. 

 

No source available for "SWT1_IRQHandler() at 0x40011800" 

Disassembly 
          SWT1_IRQHandler:
40011800:   e_b     0x40011800 <SWT1_IRQHandler>
40011804:   se_illegal      
40011806:   se_illegal      
40011808:   se_illegal      
4001180a:   se_illegal      
4001180c:   se_illegal      
4001180e:   se_illegal 

When program reach the printf ,everthing stop 

How can i printf the debugger console

Best regards.

0 件の賞賛
返信
1 返信

124件の閲覧回数
jiri_kral
NXP Employee
NXP Employee

Hi, 

do you have latest PE Micro plugin version? The latest PE Micro plugin for PPC is v2.0.5

0 件の賞賛
返信