LPC1343 Bootloader Problem

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPC1343 Bootloader Problem

742件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Carrigan on Wed Jul 18 08:42:46 MST 2012
Hello-

I have made a custom USB application board of an LP1342/43 based off of the Olimex P1343 board (https://www.olimex.com/dev/pdf/ARM/LPC/LPC-P1343-schematic.pdf).  I prototyped using the P1343 board and everything worked fine, but now  that my custom boards are here and populated I am having a problem where  I can flash the 1342 (didn't need the full 32k of flash the 1343  offers), but when I plug it into a computer it still enumerates as the  MSC bootloader. Both pin 0_3 and 0_1 are left floating, as can be seen  in the following image of my circuit.

http://www.flickr.com/photos/82923994@N03/7597652396/

I am programming the circuit successfully using the JTAG header with a Segger JLink. When the USB bootloader does come up, I can check the contents of the .bin file and see that my program is in fact on there, so why won't it run when I plug it into USB?

Can anyone provide me some feedback to help troubleshoot this?

Thanks!
0 件の賞賛
返信
3 返答(返信)

708件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Carrigan on Fri Aug 03 14:55:50 MST 2012
Pulling up 0_1 lets the program start properly, thanks!

Now to troubleshoot everything else...:confused:
0 件の賞賛
返信

708件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by serge on Wed Jul 18 13:22:51 MST 2012
My idea: It is never a good idea to leave GPIO0_1 and GPIO0_3 floating. That is asking for problems. Use pullups to avoid starting ISP mode and your program will run provided the .bin file is a valid one.:p
0 件の賞賛
返信

708件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ex-kayoda on Wed Jul 18 09:05:18 MST 2012
Did you try to pullup ISP (PIO0.1) and ground it for ISP (with VBUS high) already?

Or VBUS http://www.flickr.com/photos/58892165@N08/5406160762/

Or your bin file isn't valid (checksum?) ;)
0 件の賞賛
返信