Semihosting Enable and printf() usage MPC5775B

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Semihosting Enable and printf() usage MPC5775B

167 Views
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 Kudos
Reply
1 Reply

123 Views
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 Kudos
Reply