isp and ulink2 programmer

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

isp and ulink2 programmer

785 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpc_doctor on Tue Jan 14 00:10:30 MST 2014
i was programming lpc11xx with flash magic. then
after i programmed with ulink2 programmer,
i can not programming with flash magic again. it says baud rate error.
Do you have any experience abaut this?
0 Kudos
7 Replies

555 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Wouter on Thu Jan 16 01:24:08 MST 2014
That indeed sounds like a broken LPC.
I don't know how your FT232 programmer looks like and whether it uses 3.3V or 5V I/O, but do note that the LPC's 5V tolerant I/O pins are only 5V tolerant when VCC is applied.
0 Kudos

555 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpc_doctor on Wed Jan 15 07:56:50 MST 2014
hi,

i could programming another lpc with same ft232 programmer and ulink2.

But the lpc boad l previously mentioned is not programming anymore. i think isp pin is damaged.
i checked voltage over this pin can be high or low by ft232 programmer. So there is not any open circut with this isp pin.

i think inside of lpc, isp pin is damaged.
i will change it new one.
Thanks for help.
0 Kudos

555 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpc_doctor on Tue Jan 14 04:19:28 MST 2014
i didnt check TX pin is correctly working. i must be test by loopback you said.
Rx pin tested by uart receive.
Dtr pin tested by serial terminal. it resets the lpc.
Rts  pin is not tested.


i will try to programming  another lpc with ft232 programmer.
Then i will write result.


0 Kudos

555 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpc_doctor on Tue Jan 14 04:00:23 MST 2014
Can you still access the LPC through SWD (ulink2)?

[color=#f03]yes. i can program still with ulink2[/color]

- When trying to connect to the LPC with flash magic, does the application on the LPC still run? (if so, ISP mode is not entered)

[color=#f00]Yes it is running. But many times i programmed it with flash magic. Flash magic firstly sends reset signal then isp pin is low. so it initiate itself by the time programming. [/color]

- Are you sure you've selected the right COM port?
[color=#f00]Yes, when i open com port it sends mesage i wrote from uart. [/color]
- Are you sure the FT232 is working OK? e.g. try a loopback test by connecting RX/TX together.
[color=#f00]Yes it is working. Provious answer is proof. [/color]
- Do you get any response from the LPC when sending '?' through the terminal?
[color=#f00]i didnt try this one. [/color]

is it possible ulink2 programmer is locked isp programming.?

0 Kudos

555 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Wouter on Tue Jan 14 02:59:12 MST 2014
Flash magic indeed has the possibility to do this. It's probably best to verify these signals are OK, either by scope/logic analyzer, or by controlling these pins by your own.

Few questions to be able to help you better:
- Can you still access the LPC through SWD (ulink2)?
- When trying to connect to the LPC with flash magic, does the application on the LPC still run? (if so, ISP mode is not entered)
- Are you sure you've selected the right COM port?
- Are you sure the FT232 is working OK? e.g. try a loopback test by connecting RX/TX together.
- Do you get any response from the LPC when sending '?' through the terminal?
0 Kudos

555 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpc_doctor on Tue Jan 14 02:11:01 MST 2014
Thanks.
i think flash magic makes this. it first makes LPC to bootleader mode, then program it.
i am using ft232 and dtr and rts pins is connected reset and isp pins.
i was using flash magic before programmed with ulink2. 
0 Kudos

555 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Wouter on Tue Jan 14 01:51:55 MST 2014
A new, empty device boots up in ISP mode by default. However, when the boot code of the LPC detects a valid flash image, it will boot the application on power up instead of booting into ISP mode.

To force booting into ISP mode, you need to pull the ISP pin (P0_1) low during reset. This should enable programming through ISP again.
0 Kudos