User manual

LPC4357 Developer’s Kit - User’s Guide
Page 50
Copyright 2012 © Embedded Artists AB
pins to make it compatible with other OEM boards and the OEM Base Board. Note however
that the pins for USART#0, P2_0 and P2_1, are available as special test points on the pcb,
TP4 and TP5, respectively. The pins for USART #3, P2_3 and P2_4 are also available as
special test points on the pcb, TP6 and TP7, respectively. TP4/TP5 are found in the upper
right corner of the pcb and TP6/TP7 are found in the upper left corner of the pcb.
- IAP over Ethernet or USB
IAP is short for In-Application Programming. In this case, the LPC4357 must have a small
bootloader installed that allow application code to be downloaded over Ethernet, USB or
some other communication channel. The bootloader must be created by the user and is
typically specific for the application. This method is not supported by any sample applications
from Embedded Artists.
Embedded Artists support site contains sample applications for the LPC4357 Developer’s Kit. Source
code and pre-compiled binary images (hex-files) can be downloaded from there.
5.4.1 ISP over USB Program Download
When using ISP over USB, both USB interfaces can be used. Set the active USB interface via the
bootmode sliders (to either USB0 or USB1 booting). See sections 3.3 and LPC4357 User’s Manual for
details. See Figure 30 for details about which USB connector to use.
In case USB0 booting has been selected, use J32.
In case USB1 booting has been selected, insert a jumper in J15 and use J19.
Figure 30 Booting via USB Channel #0 or #1
Three situations will be described below. In all case, the DFUSec application from NXP must be
downloaded and installed. Select latest version (currently v1.10). Download it from here:
http://www.lpcware.com/content/project/dfu-download-programming-utility-and-security-lpcdfusec-tool/,
or go to http://www.lpcware.com/ and search for “lpc_dfusec”.
1) Download to internal SRAM (code size ≤32Kbyte)
Make sure that the application fit within 32Kb and setup linking to place it in SRAM starting at
address 0x10000000.
Force USB Connect
J15 should be inserted
USB mini-AB Connector
J19 USB1 booting
Host/Device Select
JP17
Upper: USB Device
Lower: USB Host
Host/Device Select
JP19/JP18
Left: USB Device
Right: USB Host
Mini-B USB Connector
J32 USB0 booting