PN7642 EVK, CPU could not be halted

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

PN7642 EVK, CPU could not be halted

跳至解决方案
1,906 次查看
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

标记 (1)
0 项奖励
回复
1 解答
1,730 次查看
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 项奖励
回复
16 回复数
1,763 次查看
Parmiss
Contributor I

Hi @danielchen ,

Any updates?

0 项奖励
回复
1,859 次查看
J_B
Contributor II

Hi, 

 

I have been having the same issue. 

have you been able to find a solution? 

Thanks in advance.  

0 项奖励
回复
1,837 次查看
Parmiss
Contributor I

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

0 项奖励
回复
1,827 次查看
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 项奖励
回复
1,819 次查看
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 项奖励
回复
1,725 次查看
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 项奖励
回复
1,717 次查看
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 项奖励
回复
1,706 次查看
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 项奖励
回复
1,741 次查看
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 项奖励
回复
1,737 次查看
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 项奖励
回复
1,731 次查看
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 项奖励
回复
1,698 次查看
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 项奖励
回复
1,672 次查看
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 项奖励
回复
1,637 次查看
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 项奖励
回复
1,628 次查看
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 项奖励
回复
1,624 次查看
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 项奖励
回复