PN7462-Problem to Flash

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

PN7462-Problem to Flash

1,194 Views
sanath_rai
Contributor III

Hello ,

We are working on PN7462 NFC controller.we have been working on PNEV7462C development board which works fine now we have our custom borad 5Vinput voltage. Everything(schematics ,circuit design) same as the development board.but when we flash it using MCUexpresso IDE we are getting below error.what might be the issue?

-->

MCUXpresso IDE RedlinkMulti Driver v10.3 (Nov 28 2018 02:33:57 - crt_emu_cm_redlink build 748)
Found part description in XML file PN74xxAU.xme
Reconnected to existing link server
Connecting to probe 1 core 0 (using server started externally) gave 'OK'
============= SCRIPT: PN7xxxxx_Connect.scp =============
DpID = 0BB11477
APID = 0x04770021
============= END SCRIPT ===============================
Probe Firmware: LPC-LINK2 CMSIS-DAP V5.173 (NXP Semiconductors)
Serial Number: I3F2M0AU
VID:PID: 1FC9:0090
USB Path: \\?\hid#vid_1fc9&pid_0090&mi_00#8&61fd9c0&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
Using memory from core 0 after searching for a good core
debug interface type = Cortex-M0 (DAP DP ID 0BB11477) over SWD TAP 0
processor type = Cortex-M0 (CPU ID 00000C20) on DAP AP 0
number of h/w breakpoints = 4
number of flash patches = 0
number of h/w watchpoints = 2
Probe(0): Connected&Reset. DpID: 0BB11477. CpuID: 00000C20. Info: <None>
Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.
Content of CoreSight Debug ROM(s):
RBASE E00FF000: CID B105100D PID 04000BB471 ROM (type 0x1)
ROM 1 E000E000: CID B105E00D PID 04000BB008 Gen SCS (type 0x0)
ROM 1 E0001000: CID B105E00D PID 04000BB00A Gen DWT (type 0x0)
ROM 1 E0002000: CID B105E00D PID 04000BB00B Gen FPB (type 0x0)
NXP: PN7462AU-C3-00
DAP stride is 1024 bytes (256 words)
Inspected v.2 On-chip Flash Memory PN7xxxxx_158k.cfx
Image 'PN7xxxxx_158k Mar 8 2016 16:35:06'
( 65) Chip Setup Complete
Connected: was_reset=true. was_stopped=false
Awaiting telnet connection to port 3330 ...
GDB nonstop mode enabled
Opening flash driver PN7xxxxx_158k.cfx
Sending VECTRESET to run flash driver
Flash device supported (158KB = 79*2K at 0x203000)
Writing 107408 bytes to address 0x00203000 in Flash
driver "ProgramPage" timeout (500 ms) PC: 00100358
Closing flash driver PN7xxxxx_158k.cfx
Target error from Commit Flash write: Ec: Flash driver "ProgramPage" timeout (500 ms) PC: 00100358
GDB stub (crt_emu_cm_redlink) terminating - GDB protocol problem: Pipe has been closed by GDB.

0 Kudos
3 Replies

993 Views
Kan_Li
NXP TechSupport
NXP TechSupport

What is the MCUXpresso version?  What is the project you tried to download? Could you try to download as mentioned in 6.7 Updating Flash via SWD interface from UM10883? Please kindly clarify.

Have a great day,
Kan


-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos

993 Views
sanath_rai
Contributor III

Hi Kan_Li,

It got resolved. Issue was with IC placement on our custom board.

We removed the IC and replaced it .it works now.

New Issue

I am building my application on Door access application which works with 5V(VBUS )power supply in EVM board.

This application does not work for 3.3v in EVM board.

we have made changes according to UM10883 for 3.3 and 5v system.

 

Any particular changes to be made in software or hardware?

Regards,

Sanath Rai

0 Kudos

993 Views
Kan_Li
NXP TechSupport
NXP TechSupport

Hi Sanath Rai,

Did you change VBUS option as below?

pastedImage_1.png

If yes, I also tried and it works well as expected.

pastedImage_2.png

The board version is PNEV7462B.

Have a great day,
Kan


-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------