User Tools

Site Tools


nblocks:n-pro-10

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
nblocks:n-pro-10 [2020/02/07 10:38]
faizan [Table]
nblocks:n-pro-10 [2020/02/07 12:09] (current)
faizan
Line 112: Line 112:
  
 ===== Getting started===== ===== Getting started=====
-===Blinky with mbed compiler=== 
  
   * Connect the board to the battery or power supply.   * Connect the board to the battery or power supply.
   * 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. ​
-  * After a few seconds a mass storage device named CRP_DISABLED will show up on your computer  ​ 
-  
-{{:​nblocks:​n-pro-00-04.png?​400|}} 
   * 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 134: Line 130:
 } }
 </​code>​ </​code>​
-  * Delete ​the existing firmware.bin fileand replace it with the .bin file you downloaded from the mbed compiler. ​+  *Connect ​the board to j-link. 
 +{{:​nblocks:​n-pro-10-p1.jpg?​400|}} 
 +  * Open J-Flash Liteselect ​the device. 
 +{{:​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.
  
Line 141: Line 144:
 \\ \\
 \\ \\
- 
- 
- 
- 
- 
- 
  
 =====References===== =====References=====
nblocks/n-pro-10.1581089918.txt.gz · Last modified: 2020/02/07 10:38 by faizan