Problems loading LPC1769 with Red Suite for Mac

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

Problems loading LPC1769 with Red Suite for Mac

193 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ttrostel on Wed Oct 05 16:16:50 MST 2011
I'm having trouble loading one of the example projects on the LPCXpresso LPC1769 Rev B board with Red Suite 4 version 4.1 for the Mac.

The project being loaded is GPIO and here is the dump of the log:

Pc: (  0) Reading remote configuration
Ni: Code Red Technologies Debug Driver v4.0 (Sep 23 2011 09:44:53)
Nc: Looked for chip XML file in /Applications/redsuite_4.1.1_136_TP/redsuite/bin/LPC1769.xml

Nc: Looked for vendor directory XML file in /Applications/redsuite_4.1.1_136_TP/redsuite/bin/nxp_directory.xml

Nc: Found generic directory XML file in /Applications/redsuite_4.1.1_136_TP/redsuite/bin/crt_directory.xml

Pc: (  5) Remote configuration complete
Pc: ( 30) Emulator Connected
Pc: ( 40) Debug Halt
Pc: ( 50) CPU ID
Nc: Emu(0): Conn&Reset. DpID: 2BA01477. Info: LPCLINK_1_1
Nc: SWD Frequency: 250 KHz. RTCK: False. Vector catch: False.
Nc: Packet delay: 0  Poll delay: 0.
Nc: NXP: LPC1769  Part ID: 0x00000000
Pc: ( 65) Chip Setup Complete
Nt: Connected: was_reset=false. was_stopped=true
Ce:v Evaluation license, no download limit
Pc: ( 70) License Check Complete
Nt: Loading ELF file 'GPIO.axf' at location 00000000
Nt: Writing 3836 bytes to 0000 in Flash (assumed clock: 4.0MHz)
Pb: 1 of 1 (  0) Writing pages 0-0 at 0x00000000 with 3836 bytes
Pb: (100) Writing Flash ended with an error.
Ed:05: File 'GPIO.axf' load failure: Et: Flash driver not ready.

Pc: (100) Target Connection Failed

Why am I getting "Flash driver not ready"?  What's the work around for this problem?

Thanks in advance.
0 Kudos
2 Replies

178 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ttrostel on Thu Oct 06 19:35:26 MST 2011
As it turns out the PLL was stuck in a strange state.  By shorting pins 51 to 54 I could circumvent the normal boot process.

This allowed me to re-program the LPCXpresso and carry on.
0 Kudos

178 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Thu Oct 06 00:34:40 MST 2011
From Project Explorer, select the project, right-click and choose
[FONT=Courier New][SIZE=2]Launch configurations->Delete Launch Configurations[/SIZE][/FONT]

Then try to launch your debug session again.

If that doesn't work, then please can you try powering up your board in ISP mode, then try launching the debug session again...

http://support.code-red-tech.com/CodeRedWiki/DebugAccessChip

If these don't work, then given that your are actually using the Red Suite Mac technology preview rather than LPCXpresso, can you please email us directly via:

http://www.code-red-tech.com/support.php

Regards,
CodeRedSupport
0 Kudos