iap_basic#
Overview#
The IAP project is a simple demonstration program of the SDK IAP driver. It reads part id, boot code version, unique id and reinvoke ISP. A message a printed on the UART terminal as various bascial iap operations are performed.
Supported Boards#
LPC845BREAKOUT
Hardware requirements
Micro USB cable
LPCXpresso845 Breakout board
Personal Computer
Board settings
No special settings are required.
Prepare the Demo
Connect a micro USB cable between the host PC and the LPC-Link USB port (J8) on the target board.
Open a serial terminal with the following settings:
9600 baud rate
8 data bits
No parity
One stop bit
No flow control
Download the program to the target board.
Running the demo
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
The following lines are printed to the serial terminal when the demo program is executed.
IAP example
PartID: XXXXX
The major version is: XXXX
The minor version is: XXXX
Unique ID: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
End of IAP Example
LPCXpresso54628
Hardware requirements
Micro USB cable
LPCXpresso54628 board
Personal Computer
Board settings
No special settings are required.
Prepare the Demo
Connect a micro USB cable between the host PC and the LPC-Link USB port (J8) on the target board.
Open a serial terminal with the following settings:
115200 baud rate
8 data bits
No parity
One stop bit
No flow control
Download the program to the target board.
Running the demo
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
The following lines are printed to the serial terminal when the demo program is executed.
IAP example
PartID: XXXXX
The major version is: XXXX
The minor version is: XXXX
Unique ID: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
End of IAP Example
LPCXpresso54S018
Hardware requirements
Micro USB cable
LPCXpresso54s018 board
Personal Computer
Board settings
No special settings are required.
Prepare the Demo
Connect a micro USB cable between the host PC and the LPC-Link USB port (J8) on the target board.
Open a serial terminal with the following settings:
115200 baud rate
8 data bits
No parity
One stop bit
No flow control
Download the program to the target board.
Running the demo
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
The following lines are printed to the serial terminal when the demo program is executed.
IAP example
PartID: XXXXX
The major version is: XXXX
The minor version is: XXXX
Unique ID: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
End of IAP Example
LPCXpresso54S018M
Hardware requirements
Micro USB cable
LPCXpresso54S018M board
Personal Computer
Board settings
No special settings are required.
Prepare the Demo
Connect a micro USB cable between the host PC and the LPC-Link USB port (J8) on the target board.
Open a serial terminal with the following settings:
115200 baud rate
8 data bits
No parity
One stop bit
No flow control
Download the program to the target board.
Running the demo
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
The following lines are printed to the serial terminal when the demo program is executed.
IAP example
PartID: XXXXX
The major version is: XXXX
The minor version is: XXXX
Unique ID: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
End of IAP Example
LPCXpresso802
Hardware requirements
Micro USB cable
LPCXpresso802 board
Personal Computer
Board settings
No special settings are required.
Prepare the Demo
Connect a micro USB cable between the host PC and the CMSIS DAP port(CN1 on the board).
Open a serial terminal with the following settings:
9600 baud rate
8 data bits
No parity
One stop bit
No flow control
Download the program to the target board.
Running the demo
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
The following lines are printed to the serial terminal when the demo program is executed.
IAP example
PartID: XXXXX
The major version is: XXXX
The minor version is: XXXX
Unique ID: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
End of IAP Example
LPCXpresso804
Hardware requirements
Micro USB cable
LPCXpresso804 board
Personal Computer
Board settings
No special settings are required.
Prepare the Demo
Connect a micro USB cable between the host PC and the CMSIS DAP port(CN2 on the board).
Open a serial terminal with the following settings:
9600 baud rate
8 data bits
No parity
One stop bit
No flow control
Download the program to the target board.
Running the demo
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
The following lines are printed to the serial terminal when the demo program is executed.
IAP example
PartID: XXXXX
The major version is: XXXX
The minor version is: XXXX
Unique ID: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
End of IAP Example
LPCXpresso824MAX
Hardware requirements
Micro USB cable
LPCXpresso824MAX board
Personal Computer
Board settings
No special settings are required.
Prepare the Demo
Connect a micro USB cable between the host PC and the CMSIS DAP port(J3 on the board).
Open a serial terminal with the following settings:
9600 baud rate
8 data bits
No parity
One stop bit
No flow control
Download the program to the target board.
Running the demo
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
The following lines are printed to the serial terminal when the demo program is executed.
IAP example
PartID: XXXXX
The major version is: XXXX
The minor version is: XXXX
Unique ID: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
End of IAP Example
LPCXpresso845MAX
Hardware requirements
Micro USB cable
LPCXpresso845MAX board
Personal Computer
Board settings
No special settings are required.
Prepare the Demo
Connect a micro USB cable between the host PC and the CMSIS DAP port(J4 on the board).
Open a serial terminal with the following settings:
9600 baud rate
8 data bits
No parity
One stop bit
No flow control
Download the program to the target board.
Running the demo
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
The following lines are printed to the serial terminal when the demo program is executed.
IAP example
PartID: XXXXX
The major version is: XXXX
The minor version is: XXXX
Unique ID: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
End of IAP Example
LPCXpresso860MAX
Hardware requirements
Micro USB cable
LPCXpresso860MAX board
Personal Computer
Board settings
No special settings are required.
Prepare the Demo
Connect a micro USB cable between the host PC and the CMSIS DAP port(J4 on the board).
Open a serial terminal with the following settings:
9600 baud rate
8 data bits
No parity
One stop bit
No flow control
Download the program to the target board.
Running the demo
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
The following lines are printed to the serial terminal when the demo program is executed.
IAP example
PartID: XXXXX
The major version is: XXXX
The minor version is: XXXX
Unique ID: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
End of IAP Example