This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
nblocks:n-pro-10 [2020/02/07 11:46] faizan |
nblocks:n-pro-10 [2020/02/07 12:09] (current) faizan |
||
---|---|---|---|
Line 116: | Line 116: | ||
* Press the reset button, green LED will indicate that you have power connected. | * Press the reset button, green LED will indicate that you have power connected. | ||
* Select target on mbed online compiler | * Select target on mbed online compiler | ||
- | * Create a blinky program like below | + | * Create a blinky program like below. Compile and it will get downloaded. |
<code c++> | <code c++> | ||
#include "mbed.h" | #include "mbed.h" | ||
Line 130: | Line 130: | ||
} | } | ||
</code> | </code> | ||
+ | *Connect the board to j-link. | ||
+ | {{:nblocks:n-pro-10-p1.jpg?400|}} | ||
* Open J-Flash Lite, select the device. | * Open J-Flash Lite, select the device. | ||
- | {{:nblocks:n-pro-01-p1.jpg?400|}} | + | {{:nblocks:n-pro-10-p0.jpg?600|}} |
+ | * Select the bin file downloaded from mbed compiler. | ||
+ | {{:nblocks:n-pro-10-p2.jpg?600|}} | ||
+ | * Click on Program device | ||
+ | {{:nblocks:n-pro-10-p3.jpg?400|}} | ||
* Press RESET, and the board will now be running your code. | * Press RESET, and the board will now be running your code. | ||
- | {{:nblocks:n-pro-10-p1.jpg?400|}} | + | |
==USB Serial Port== | ==USB Serial Port== | ||
* To use the debug serial port out of the LPC1769 to emulate a serial port over USB see example [[https://developer.mbed.org/handbook/USBSerial|here.]] | * To use the debug serial port out of the LPC1769 to emulate a serial port over USB see example [[https://developer.mbed.org/handbook/USBSerial|here.]] | ||
\\ | \\ | ||
\\ | \\ | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
=====References===== | =====References===== |