Target error from Commit Flash write: Ee(4C).

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

Target error from Commit Flash write: Ee(4C).

552 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by pgr on Thu Feb 06 07:27:19 MST 2014
Dear all,

I regularly have some trouble to start debugging using LPCXpresso 6.1.4 and LPCLink2.
I have different error usually something like

15: Target error from Commit Flash write: Ee(4C). Fatal Error

02: Failed on connect: Ep(01). Target marked as not debuggable

or the debug launch never finish (the run button is always disabled)

I have checked and my board is correctly powered and is working nicelly.

Do you have any idea why ?

Thanks in advance
0 Kudos
Reply
6 Replies

409 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by LabRat on Thu Feb 13 07:35:29 MST 2014

Quote: pgr

Quote: lpcxpresso-support

Please check your debug/reset circuitry against:

http://www.lpcware.com/content/faq/lpcxpresso/debug-design



This ones



So we are talking about 'Design Considerations'...

I'm not sure which hardware results from this 'Considerations'.

Probably our ISP pull-up is not '10K to 100K Ohm' (or is it a potentiometer)?

Also a forgotten 'Consideration' is a Reset pull-up.

Anyway, it could be a good idea to rethink your hardware...

0 Kudos
Reply

409 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by pgr on Thu Feb 13 07:14:24 MST 2014

Quote: lpcxpresso-support

Please check your debug/reset circuitry against:

http://www.lpcware.com/content/faq/lpcxpresso/debug-design



This ones
0 Kudos
Reply

409 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by pgr on Thu Feb 13 06:54:14 MST 2014
Another log with different messages:

LPCXpresso RedlinkMulti Driver v6.0 (Jan  8 2014 13:55:09 - crt_emu_cm_redlink build 256)
Looked for chip XML file in C:/nxp/LPCXpresso_6.1.4_194/lpcxpresso/bin/LPC1763.xml
Looked for vendor directory XML file in C:/nxp/LPCXpresso_6.1.4_194/lpcxpresso/bin/NXP_directory.xml
Found generic directory XML file in C:/nxp/LPCXpresso_6.1.4_194/lpcxpresso/bin/crt_directory.xml
Emu(0): Conn&Reset. DpID: 2BA01477. CpuID: 410FC230. Info: (null)
Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.
Loaded LPC175x_6x_256.cfx: LPC175x_6x (256K) Apr 22 2013 12:14:30  On-chip Flash Memory
Connected: was_reset=false. was_stopped=false
v LPCXpresso Free License - Download limit is 256K
Target error from Commit Flash write: Ee(4C). Fatal Error
Target error from Read register: Ep(08). Cannot access core regs when target running.
0 Kudos
Reply

409 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by LabRat on Thu Feb 13 06:36:49 MST 2014

Quote: pgr
...custom board but we followed the [color=#f00]design recommendation[/color]...



Which one?
0 Kudos
Reply

409 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by pgr on Thu Feb 13 06:09:04 MST 2014
Hi thanks for your reply,

It's a custom board but we followed the design recommendation and debugging on it works most of the time.
Note that our firmware use the different sleep mode of the CPU.

Please find below the debug log. Nothing is missing it stop to this line and never go further...

Thanks in advance


LPCXpresso RedlinkMulti Driver v6.0 (Jan  8 2014 13:55:09 - crt_emu_cm_redlink build 256)
Looked for chip XML file in C:/nxp/LPCXpresso_6.1.4_194/lpcxpresso/bin/LPC1763.xml
Looked for vendor directory XML file in C:/nxp/LPCXpresso_6.1.4_194/lpcxpresso/bin/NXP_directory.xml
Found generic directory XML file in C:/nxp/LPCXpresso_6.1.4_194/lpcxpresso/bin/crt_directory.xml
Emu(0): Conn&Reset. DpID: 2BA01477. CpuID: 410FC230. Info: (null)
Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.
Loaded LPC175x_6x_256.cfx: LPC175x_6x (256K) Apr 22 2013 12:14:30  On-chip Flash Memory
Connected: was_reset=true. was_stopped=false
v LPCXpresso Free License - Download limit is 256K
Writing 33848 bytes to 0000 in Flash (assumed clock: unknown)
Erased/Wrote page  0-7 with 32768 bytes in 3351msec
Erased/Wrote page  8-8 with 1080 bytes in 241msec
Flash write Done
Stopped (Was Reset)  [Reset from Unknown]
0 Kudos
Reply

409 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Mon Feb 10 01:45:59 MST 2014
What is your target board? Is it an off-the-shelf, standard board, or one of your own design?

What is your target MCU?

Please check your debug/reset circuitry against:

http://www.lpcware.com/content/faq/lpcxpresso/debug-design

How are you powering your board? Remember that programming flash requires additional power.

Please post the debug log from a failed connection…
http://www.lpcware.com/content/faq/lpcxpresso/debug-log

Regards,
LPCXpresso Support
0 Kudos
Reply