PN7642 EVK, CPU could not be halted

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

PN7642 EVK, CPU could not be halted

ソリューションへジャンプ
1,911件の閲覧回数
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,735件の閲覧回数
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,768件の閲覧回数
Parmiss
Contributor I

Hi @danielchen ,

Any updates?

0 件の賞賛
返信
1,864件の閲覧回数
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,842件の閲覧回数
Parmiss
Contributor I

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

0 件の賞賛
返信
1,832件の閲覧回数
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,824件の閲覧回数
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,730件の閲覧回数
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,722件の閲覧回数
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,711件の閲覧回数
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,746件の閲覧回数
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,742件の閲覧回数
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,736件の閲覧回数
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,703件の閲覧回数
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,677件の閲覧回数
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,642件の閲覧回数
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,633件の閲覧回数
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,629件の閲覧回数
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 件の賞賛
返信