Can Red Probe Program the LPC1114 in ISP mode

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

Can Red Probe Program the LPC1114 in ISP mode

6,444 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mkongc on Thu May 20 20:08:53 MST 2010
Hi,

I have got a Red Probe and just wandering can it program the LPC1114 in ISP mode. If the answer is yes then how to do that.

Thanks

Ken
0 Kudos
Reply
11 Replies

6,358 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by NXP_Europe on Tue Jul 13 00:12:37 MST 2010
Hi sojiro,
Yes that works fine!!

See proven example schematics in the attachement.

Kind regards,
0 Kudos
Reply

6,358 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by sojiro on Mon Jul 12 04:54:11 MST 2010
So if i use a MAX3232 or MAX232+level shifter
I should be able to communicate my LPC1343 board with MSTerminal too?
0 Kudos
Reply

6,358 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by NXP_Europe on Mon Jul 12 00:55:20 MST 2010
Hi All,
Just to clarify..
The standard UART functionality is RS232 and some have RS485 support added upon the RS232!!

Kind regards,
0 Kudos
Reply

6,358 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by domen on Mon Jul 12 00:01:25 MST 2010
They're normal UARTs, just use a level shifter, and connect it to an RS232 port.
They also support RS485, true.
0 Kudos
Reply

6,358 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by sojiro on Fri Jul 09 10:37:36 MST 2010
Those two uControllers support UART for rs485 protocol
They do not support rs232 protocol

But from what it seems both mkongc and nerd62 tried ISP with a usb-rs232 cable

How can this happen?
unless i miss something
0 Kudos
Reply

6,358 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by domen on Thu Jul 08 23:50:22 MST 2010

Quote: sojiro

but LPC1114 as LPC1343 have only UART port for rs485 not rs232



Eh?
Care to elaborate?
0 Kudos
Reply

6,358 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by sojiro on Thu Jul 08 03:30:54 MST 2010
Sorry for posting to this old thread but i think there is a mistake

nerd62 said that a TTL-232R-3V3 cable is needed
but LPC1114 as LPC1343 have only UART port for rs485 not rs232

So what should i buy?
0 Kudos
Reply

6,358 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mkongc on Fri May 21 04:44:55 MST 2010
Hi nerd62,

I can program the LPC1114 now through ISP mode. Thank you very much.

For those who want to program the LPC1114 board through ISP mode, you have to generate a HEX file first. If you don't know how to generate a HEX file. The following is the link which will show you how.

http://www.microbuilder.eu/Blog/09-12-16/Building_Intel_Hex_Files_with_LPCXpresso.aspx
0 Kudos
Reply

6,358 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by nerd62 on Fri May 21 01:26:08 MST 2010
Hi mkongc!

I also had accidentally disabled the serial programming interface at my LPCXpresso board. It's quite simple to fix it.

You need four things:
1) FlashMagic installed on your PC. See http://www.flashmagictool.com for download.

2) A UART cable with 3V3 logic level. The easiest way is to take the ready-to-use-cable TTL-232R-3V3 from FTDI. You can buy it e. g. at Farnell with order no. 1329311. At FTDI website you can get the necessary USB driver.

3) A small cable with a 6-pole header 2.54 mm. Plug it into the FTDI cable. The black wire (pin 1, GND) has to be connected with pin J6-1 (GND) on your LPCexpresso board, the orange wire (pin 4, TXD) should be connected with pin J6-10 (PIO1_6, RXD) and the yellow wire (pin 5, RXD) should be connected with pin J6-9 (PIO1_7, TXD)

4) A small self made veroboard with two buttons and four wires. See at the picture at attachment and the connections for more info.

Now do the following:
1) Press and hold down the "BOOT" button
2) Press and release the "RESET" button
3) Release the "BOOT" button
4) Start FlashMagic and download the HEX file to your LPCXpresso board. You have to set the proper LPC device and COM port. Use 38400 Baud, Interface None and Oscillator 12 MHz. After selecting your HEX file and pressing the "Start" button FlashMagic and the bootloader on the LPC device will do the rest for you.

For re-enabling the SWD port it's sufficient to erase the flash memory (see menu ISP->Erase flash ...)

You can also use the serial cable for debug purposes via a terminal program. ;-)

Have much fun, Nerd62 ;-)
0 Kudos
Reply

6,358 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mkongc on Fri May 21 00:02:34 MST 2010
Hi,

Thank you for your reply. I have accidentally disable the JTAG on  LPC1114 board. So I can't program it through LPC-Link. I have 2 options at the moment.

1. use ISP mode reprogram the chip through UART0 port. However, I can't get it work. I have checked the UART0 port is connect correctly and short the PIO0_1 pin to the ground and reset the chip, however, the program (Flash Magic) still can't talk to it. Any suggestion.

2. Use the Red Probe to reprogram the chip through ISP mode. (I'm not sure I can do it or not). By the way I have also purchase a Red Suite 3 NXP version (256k) is that help.

Thanks
0 Kudos
Reply

6,358 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Thu May 20 23:22:57 MST 2010
Hi,

I'm not sure I understand the question.

Red Probe is a JTAG/SWD emulator, and thus will program the device using that interface.

If you are asking if Red Probe can connect to the LPC1114 on an LPCXpresso board, the answer is, yes, but you will have to disconnect the LPC-Link and solder an then wire-up a 10-pin header onto the LPC1114 board.

If I have misunderstood the question, please be more explicit in your request.
0 Kudos
Reply