P&E Multilink Debug

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

P&E Multilink Debug

2,199 Views
a8Chcx
Contributor V

Hi,

I am using RT1064 and "P&E Mutilink USB" to debug my project. 

1) I can program internal flash over JTAG(J21) and run Hello_world again and again without any problem.

2) When I program emwin_gui_demo over JTAG and works fine at the first time. Then JTAG stop working. Even I go back to try "hello world" and always get error "Error in services launch sequence
PEmicro GDB Launch Failure : The GDB Server was not able to establish a connection to the target processor. Please check your connections and power. Verify that the launch settings in the Debug Configuration are accurate."

Can anybody help me fix this problem because I can't test anything fro now?

Thanks,

Christie

0 Kudos
Reply
3 Replies

2,071 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @a8Chcx ,

  This issue is normally caused by the abnormal code is downloaded to the flash, then the chip can't detect the valid FCB.

  Normally, you can enter the serial download mode, then do the mass erase to resolve the issues.

  Please refer to my post:

https://community.nxp.com/t5/i-MX-RT-Knowledge-Base/RT-board-recovery-for-debugger-connect-issues/ta...

 

Wish it helps you!

If you still have question about it, please kindly let me know.

Best Regards,

Kerry

0 Kudos
Reply

2,170 Views
a8Chcx
Contributor V

Hi,

I did more testing on this:

1) If I change to fuse mode and stop running emwin_gui_demo, I can program hello world again. Then I can program and run emwin_gui_demo again. Then stop working because of gui_demo

2) I tried the different graphic demo, like "lvgl demo" and got the same result.

I think it is related to graphic demo, but I do not know which part causes this?

Can anyone help me to fix it?

Thanks,

Christie

0 Kudos
Reply

2,144 Views
a8Chcx
Contributor V

Hi,

I did more testing and found:

JTAG_nTRST(pin3 of JTAG) and LCD_TOUCH_INT are using the same IO from MCU.

When initializing "LCD_TOUCH_INT" to 0, it causes P&E debug stop working.

Can anybody confirm if it is true and let me know how to fix it?

Thanks,

Christie

0 Kudos
Reply