RedProbe+ Error

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

RedProbe+ Error

1,018 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by tom84 on Mon Mar 19 06:57:08 MST 2012
Hey,

I'm using LPCxpresso, a RedProbe+ and the Keil Evaluationboard.
But i get an Error:

[SIZE=2][COLOR=#008000][SIZE=2][COLOR=#008000]Invalid LPC1768 Part ID: 0x25013F37
Known LPC1768 ID(s): 0x00013F37, 0x26013F37, 0x26113F3[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#ff0000][SIZE=2][COLOR=#ff0000]03: Failed on chip setup: Ec(01). Invalid, mismatched, or unknown part[/COLOR][/SIZE][/COLOR][/SIZE]

[COLOR=#ff0000][COLOR=#ff0000][COLOR=black]What settings have to be changed?[/COLOR]  [COLOR=black]Or where can i change the chip, cause im using the lpc1758. I don't think that the problem is the 1768, but i have no clue whats wrong.....[/COLOR]
[/COLOR][/COLOR]
0 Kudos
Reply
8 Replies

1,007 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by liza on Tue Apr 10 04:34:42 MST 2012
I am experiencing a similar, but not exactly the same situation (resolved but solution is not consistent and even when worked then in the console window some errors popped up):

- when I build and debug adc_buzzer example from  examples.lpc17xx.new.zip then code builds and is downloads to my own target board and debugging works fine ALWAYS.

- but when I switch (within the same workspace) to my own project (same micro as in the above), code builds ok but when I try to start debug session then I get all kind of errors - almost always different one (in between attempts I unplugged the USB / Xpresso board etc in order to fix the problem):
1. Target error from Commit [COLOR=Blue]Flash write: Et: Flash driver not ready.[/COLOR]
2. Then at the next attempt : [COLOR=Blue]Failed on connect : EM(04). Can not provide power to DAP bus.[/COLOR]
3. then another one :
[COLOR=Blue]error :  No emulator/board available.
This could be because it is unpowered, disconnected or already in use
[/COLOR]
So I restarted LPCXPRESSO IDE and saw briefly this in 'console window' (btw : WHY IS ALL Info DISAPPEARING from there ? It would be very useful if it stayed !): [INDENT][COLOR=Blue]set remotetimeout 60000[/COLOR]
[COLOR=Blue]info program[/COLOR]
[COLOR=Blue]Debugging a target over a serial line.[/COLOR]
[COLOR=Blue]Program stopped at 0x4f0.[/COLOR]
[COLOR=Blue]Type "info stack" or "info registers" for more information.[/COLOR]
[COLOR=Blue]set mem inaccessible-by-default off[/COLOR]
[COLOR=Blue]mon ondisconnect cont[/COLOR]
[COLOR=Blue]set arm force-mode thumb[/COLOR]
[/INDENT]Whatever all that means somehow it managed to load the code and when I kicked the debugger (F8) my appication on my target board became alive and seems working fine.

I am really scared to turn anything off at the end of today ...

There probably must be some timeout or hidden setting(s) that causes it. Searched the net - no luck. But whatever it is - with 3 different errors above may be my pseudo fix of restarting the LPCXPRESSO IDE will help somebody with similar problem.

I run Win XP SP3.
0 Kudos
Reply

1,007 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by tom84 on Tue Mar 20 00:54:00 MST 2012
I just don't know :-)

turned the computer off and back on....
0 Kudos
Reply

1,007 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Mon Mar 19 09:13:44 MST 2012
...so what was the problem? It might be helpful to others.
0 Kudos
Reply

1,007 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by tom84 on Mon Mar 19 08:01:50 MST 2012
Problem solved, it works!
0 Kudos
Reply

1,007 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by tom84 on Mon Mar 19 07:42:16 MST 2012
Thanks for such a useless comment!

It's powered, connected and not in use!

I erased the Chip via Keil uvision4, bur get still the sam eerror!
And if i use the Keil Debugger and IDE, it works fine...
0 Kudos
Reply

1,007 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Mon Mar 19 07:33:06 MST 2012
Perhaps that is because your target is [COLOR=red]unpowered, disconnected or already in use[/COLOR]
0 Kudos
Reply

1,007 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by tom84 on Mon Mar 19 07:11:42 MST 2012
I changed the MCU, know i can debug, but i can't flash :-(

The Error is: [COLOR=red]Connect to emulator or board:[/COLOR]
[COLOR=red] No emulator/board available.
This could be because it is unpowered, disconnected or already in use[/COLOR]
0 Kudos
Reply

1,007 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Mon Mar 19 07:02:16 MST 2012
Did you try reading the FAQ?
Especially:
http://support.code-red-tech.com/CodeRedWiki/ChangingProjectTarget
0 Kudos
Reply