AnsweredAssumed Answered

PN7462 Flash write problem

Question asked by hw wong on Oct 25, 2018
Latest reply on Oct 29, 2018 by hw wong

I have previously successfully downloaded (and Flashed) and run the "PN7462AU_ex_phExMain" example on the 

OM27462CDK development kit.

 

I have a simple board with the same PN7462 with SWD interface. It seem to be able to download the firmware but "flashing it" cause error.

QUESTION: 

1. Is there anything else that needs to be configured (besides writing " user_ee.bin" onto EEPROM at locations 0x201200 which I have already done) on a PN7462

2. What part of the hardware/configuration is likely to be "faulty".

 

Below is the detailed message when trying to download/flash and run the example:

(Window with title: Error reported by target)

15: Target error from Commit Flash write

Cannot access core regs when target runnng.

(in another window  with title: Problem Occured)

'Launching xxx(some config name) encountered a problem.

Error in final launch sequence.

(under details)

Error in final launch sequence

   Failed to execute MI command:

        -target-download

Error message from debugger back end:

Error finishing flash operation

Error finishing flash operation

 

 

Console window:

,,,,

Opening flash driver PN7xxxxx_158.cfx

Sending SYSRESETREQ to run flash driver

Writing 148676 bytes to address 0x00203000 in Flash

Erased/Wrote page 0-72 with 148676 bytes in 3470msec

Closing flash driver PN7xxxxx_158.cfx

Flash Write Done

Flash Program Summary: 148676 bytes in 3.47 seconds (41.84 KB/sec)

============= SCRIPT: PN7xxxxx_Reset.scp=============

============= END SCRIPT =======================

Target error from Commit Flash write: Ep(08). Cannot access core regs when target running.

GD8 stub (crt_emu_cm_redlink) terminating - GDB protocol problem: Pipe has been closed by GD8

(window clears)

GNU gdb (GNU Tools for ARM Embedded Processors) 7.12.0.20161204-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=i686-w64-mingw32 --target=arm-none-eabi".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".

Program stopped.
0xfffffffe in ?? ()
warning: Remote failure reply: E22

Outcomes