PN7642 EVK, CPU could not be halted

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

PN7642 EVK, CPU could not be halted

Jump to solution
1,909 Views
Parmiss
Contributor I

Hi,

I am using an OM27642DB and was trying to get LPUART example to work.
Now the cpu is running all the time (seems to be in a loop) and JLink cannot halt it anymore. I tried resetting/halting with Jlink commander too but didn't help.

How can I take it out of this mode?

Best regards,
Parmiss

Tags (1)
0 Kudos
Reply
1 Solution
1,733 Views
J_B
Contributor II

Hi, I read in another post that : 

"If the PNEV7642A is not connected to the LPC55S16 dev board, the AD_NFC_HOSTSEL2 line is unterminated and allowed to float."  

https://community.nxp.com/t5/NFC/PN7642-Mass-Storage-Device-Activation/m-p/1786251

but this seems unlikely after looking at the schematic for kit I am using.  

 

View solution in original post

0 Kudos
Reply
16 Replies
1,766 Views
Parmiss
Contributor I

Hi @danielchen ,

Any updates?

0 Kudos
Reply
1,862 Views
J_B
Contributor II

Hi, 

 

I have been having the same issue. 

have you been able to find a solution? 

Thanks in advance.  

0 Kudos
Reply
1,840 Views
Parmiss
Contributor I

Not yet. We'll update if I find a solution.

0 Kudos
Reply
1,830 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi @Parmiss :

 

Which part number of PN76 you are using?  which SDK version?   I would suggest you use the latest version.

I never heard this issue before,  anyway, I will try to reproduce this on my side later today.

 

Regards

Daniel

0 Kudos
Reply
1,822 Views
Parmiss
Contributor I

Hi @danielchen ,

I am using an OM27642DB, part number could be 700-54813 rev A.

I used the latest SDK version 2.12.5.

Now both my devboards are stuck and I cannot program them. There are many similar cases on the forum that say the debugger just says "CPU cannot be halted".

Please prioritize this as we need to know if we should find another solution than PN7642 asap. Already lost a lot of time.

Regards,

Parmiss

0 Kudos
Reply
1,728 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi  @Parmiss 

 

I would suggest you check  the firmware version. Please see below firmware compatibility

danielchen_0-1716985532054.png

 

You can run pnev7642fama_check_nxpfw_update demo first to update the firmware to the latest.

 

Regards

Daniel

 

0 Kudos
Reply
1,720 Views
J_B
Contributor II

Hi @danielchen  

Are there any other ways to check what firmware is currently on the chip? 

Your aforementioned process, is not much use.  Since the issue we have is, not being able to re-flash these devices. 

kind regards  

0 Kudos
Reply
1,709 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi @J_B 

 

If the part number is C100 ( for example, PN7642EV/C100),  then the default firmware is FW 1.00.

 

 

Regards

Daniel

0 Kudos
Reply
1,744 Views
J_B
Contributor II

Hi @Parmiss,  

Have you tried using NXP's NFC cockpit to try re-flash the firmware? 

I could not force my device into mass storage mode, but it may work for you. 

 kind regards 

 

0 Kudos
Reply
1,740 Views
Parmiss
Contributor I

Hi @J_B 

I have been trying to do it by shorting J25 but no luck. Do you know of any other instructions?

Best regards,

Parmiss

0 Kudos
Reply
1,734 Views
J_B
Contributor II

Hi, I read in another post that : 

"If the PNEV7642A is not connected to the LPC55S16 dev board, the AD_NFC_HOSTSEL2 line is unterminated and allowed to float."  

https://community.nxp.com/t5/NFC/PN7642-Mass-Storage-Device-Activation/m-p/1786251

but this seems unlikely after looking at the schematic for kit I am using.  

 

0 Kudos
Reply
1,701 Views
Parmiss
Contributor I

Hi @J_B ,

Thank you very much for sharing this. It solved my problem. Just connect J38 pin8 to 3v3 and updated the binary in mass storage mode and now it works. Hope it solves your problem too.

Best regards,

Parmiss

0 Kudos
Reply
1,675 Views
J_B
Contributor II

Hi  @Parmiss

Where did you find an updated binary for the device?    

Glad to hear yours is up and running. 

kind regards.  

0 Kudos
Reply
1,640 Views
Parmiss
Contributor I

Hi @J_B ,

As mentioned in this post: https://community.nxp.com/t5/NFC/Problems-between-NFC-Cockpit-and-PN7642/td-p/1677071 

NFC Cockpit binary, found in ...:\nxp\NxpNfcCockpit_v7.1.0.0\firmware\PN7642.

Best regards,

Parmiss

0 Kudos
Reply
1,631 Views
J_B
Contributor II

Hi @Parmiss 

thank you very much, even though my device is a c100 it required the firmware from Cockpit ver: 8.0.0.0 

(in the folder : firmware, PN7642,ver2.0,NxpNfcCockpit_05_03_00_Flash.bin ) 

I am now able, to re flash the device using the Seger j-link . 

thank you for your assistance with this,  

happy developing! 

 

0 Kudos
Reply
1,627 Views
Parmiss
Contributor I

Glad to hear! Which fw version you need depends on the SDK version you use. We should run the update example first thing before trying any SDK example.

0 Kudos
Reply