ISP Documentation

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

ISP Documentation

1,663 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Tchelobh on Mon Jan 21 06:28:50 MST 2013
Hi folks, my first post here.

I'm a hw eng, and i'm designing my first lpc1114 board. I'm having trouble to find a document that describes the hardware side of the ISP programming. I'm with doubts like "Do i have to connect DTR/CTS signals?", should i put the reset signal on the connector or should i put a button in the reset?".

I'm intended to use FlashMagic in production.

Also, one more doubt. Its viable to use the SWD interface in large scale production? Do i have to use uVision, with the code "exposed" to flash over SWD?

Regards,
0 项奖励
回复
8 回复数

1,631 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Mon Jan 21 13:14:35 MST 2013

Quote: Tchelobh
But the thing is that i'm planning to use an LPC11C14 with the C_CAN module in a future version...



:confused:

Then it's easier to add a jumper to pull PIO0_3 low ;)
0 项奖励
回复

1,631 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Tchelobh on Mon Jan 21 13:03:30 MST 2013

Quote: Zero
:confused:

Instead of what :confused: You've no C_CAN in LPC1114 :rolleyes:



Yeah, and thanks for the warning!
But the thing is that i'm planning to use an LPC11C14 with the C_CAN module in a future version...
0 项奖励
回复

1,631 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Mon Jan 21 12:24:33 MST 2013

Quote: Tchelobh
I've also pulled PIO0_3 to 3.3V (via 10k res) to assure that ISP will be over UART.



:confused:

Instead of what :confused: You've no C_CAN in LPC1114 :rolleyes:
0 项奖励
回复

1,631 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Tchelobh on Mon Jan 21 11:56:18 MST 2013

Quote: Zero
I would always recommend to add a jumper (if there's not enough space for buttons) for ISP and Reset. Boards without them are just a PITA :eek:

Together with a TxD / RxD / Gnd connector and USB<->Serial Converter (http://flic.kr/p/bCdFve) you can easily program your production board :)

A simple 4-wire SWD connector (http://flic.kr/p/9eJn73) is also very useful, but not imperative for production boards ;)



Well, agreed.

I've put a button in Reset and a jumper in ISP. Also, two jumpers to multiplex the RXD and TXD between the ISP connector and my RS232/USB converter. I've also pulled PIO0_3 to 3.3V (via 10k res) to assure that ISP will be over UART.

I've also changed my SWD connector to a 10-pin one.

Thanks for the tips.
0 项奖励
回复

1,631 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Mon Jan 21 08:49:46 MST 2013
I would always recommend to add a jumper (if there's not enough space for buttons) for ISP and Reset. Boards without them are just a PITA :eek:

Together with a TxD / RxD / Gnd connector and USB<->Serial Converter (http://flic.kr/p/bCdFve) you can easily program your production board :)

A simple 4-wire SWD connector (http://flic.kr/p/9eJn73) is also very useful, but not imperative for production boards ;)
0 项奖励
回复

1,631 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by MikeSimmonds on Mon Jan 21 08:45:38 MST 2013
[FONT=Tahoma][SIZE=1]As far as I know, Flash Magic connects to the UART not to the debug connector.
But I haven't needed to use it yet.

SWD/JTAG is for the debugger -- I believe it can 'live' without the reset line
but can use it when it wants to reset the processor

Having a switch (also) on the reset line allows for a manual reset (obviously)
It is your design choice as to whether you want that capability.

We put both on our board -- not so much for the end in the field placement
but for convienience when debugging/testing etc.

Nothing wrong (and a lot right) with making 100% sure before you jump.

Cheers, Mike


[/SIZE][/FONT]
0 项奖励
回复

1,631 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Tchelobh on Mon Jan 21 07:38:03 MST 2013

Quote: MikeSimmonds
[FONT=Tahoma][SIZE=1]

The docs are pretty clear -- just Rx and Tx.

[/SIZE][/FONT][FONT=Tahoma][SIZE=1][/SIZE][/FONT][FONT=Tahoma][SIZE=1]
Be aware that you are supposed to [I]buy[/I] a license for production use.

[/SIZE][/FONT][FONT=Tahoma][SIZE=1][/SIZE][/FONT][FONT=Tahoma][SIZE=1]
Why not both?


[/SIZE][/FONT]



Yeah, i'm aware that its clear.. I just was afraid.. :P

And yeah, i've already bought the license. I'm against all kind of piracy.

And about the reset signal, flash magic needs it on the ISP connector? That was my doubt.

Sorry about the dumb questions. That's not lazyness, i'm just trying to be 100% sure of what i'm doing.

Thanks.
0 项奖励
回复

1,631 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by MikeSimmonds on Mon Jan 21 06:37:41 MST 2013

Quote:
[FONT=Tahoma][SIZE=1]I'm having trouble to find a document that describes the hardware side of the ISP programming.[/SIZE][/FONT]

[FONT=Tahoma][SIZE=1]

The docs are pretty clear -- just Rx and Tx.

[/SIZE][/FONT][FONT=Tahoma][SIZE=1]
Quote:
I'm intended to use FlashMagic in production.

[/SIZE][/FONT][FONT=Tahoma][SIZE=1]
Be aware that you are supposed to [I]buy[/I] a license for production use.

[/SIZE][/FONT][FONT=Tahoma][SIZE=1]
Quote:
should i put the reset signal on the connector or should i put a button in the reset?

[/SIZE][/FONT][FONT=Tahoma][SIZE=1]
Why not both?


[/SIZE][/FONT]
0 项奖励
回复