This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
nblocks:n-pro-dap [2019/08/09 15:07] 127.0.0.1 external edit |
nblocks:n-pro-dap [2020/02/27 07:43] (current) engineer |
||
---|---|---|---|
Line 1: | Line 1: | ||
======n-PRO-DAP====== | ======n-PRO-DAP====== | ||
~~CLOSETOC~~ | ~~CLOSETOC~~ | ||
+ | <WRAP no_pdf > | ||
+ | |||
+ | |||
+ | |||
+ | ~~TODOLIST ns:nblocks:n-pro-DAPcompleted:no~~ | ||
<WRAP right 220px nblock round :en> | <WRAP right 220px nblock round :en> | ||
- | <WRAP centeralign>//**n-PRO-00**// </WRAP> | + | <WRAP centeralign>//**n-PRO-DAP**// </WRAP> |
- | {{:nblocks:n-pro-00-03.jpg}} | + | {{:nblocks:n-pro-dap-09.jpg}} |
<WRAP centeralign> | <WRAP centeralign> | ||
- | n-PRO-00</WRAP> | + | n-PRO-DAP</WRAP> |
| License | GPL 2.0 | | | License | GPL 2.0 | | ||
| Status | Tested | | | Status | Tested | | ||
Line 14: | Line 19: | ||
</WRAP> | </WRAP> | ||
- | n-PRO-00 is an easy to use ARM Cortex-M0 rapid prototyping board. The board targets smaller control applications as well as low-power applications. The [[nblocks:formfactor|n-Blocks pro form factor]] makes the board perfect for integration. | + | [[nblocks:n-PRO-DAP|n-PRO-DAP]] is a development support board for the n-Blocks. |
- | <WRAP centeralign>{{:nblocks:n-pro-00-01.jpg?400|}}</WRAP> | + | <WRAP centeralign>{{:nblocks:n-pro-dap-02.jpg?300|}}</WRAP> |
===== Overview===== | ===== Overview===== | ||
- | <poem> | + | [[nblocks:n-PRO-DAP|n-PRO-DAP]] board can facilitate USB drag and drop firmware programming of ARM based CPU boards. It comes with the NXP Semiconductor's LPC11U35 MCU which belongs to the enhanced line of LPC11U3x, ARM-Cortex M0 based, low-cost 32-bit MCU family. The LPC11U35 operate at CPU frequencies of up to 50 MHz and brings unparalleled design flexibility and seamless integration to today’s prototyping and development solutions. The low profile connectors allows the user to connect peripheral boards as and when required. |
- | [[nblocks:n-PRO-00|n-PRO-00]] featuresLPC11U35 microcontroller from NXP. It contains a Cortex-M0 core that can operate at frequencies up to 50 MHz. Internal PLL:s can create the core clock of 48 MHz from the external 12.0000 MHz crystal. A USB clock reference of 48 MHz can also be created this way. Since no cables are needed, it's hassle free and can be used for quick development of prototypes. | + | |
- | [[nblocks:n-dap|n-DAP]] can be connected in piggyback style to provide [[nblocks:mbed enable|mbed-enable]] feature. | ||
- | </poem> | ||
- | \\ | + | ===DAP interface=== |
+ | The n-PRO-DAP (if flashed with a binary image) behaves as a USB to JTAG/SWD bridge between the computer and target's debug access port, using the ARM CMSIS DAP for user friendly programming and debugging. It enables firmware development for n-Blocks boards using the ARM mbed platform and can also be used with industry standard tools such as Keil and IAR. | ||
+ | |||
+ | The CMSIS-DAP Interface Firmware provides: | ||
+ | * **USB MSC Mass Storage Device for drag and drop programming of the target chip** | ||
+ | * **USB CDC Communications Device Class for Serial Communication with the target chip** | ||
+ | * **USB HID CMSIS-DAP for debugging** | ||
+ | * **USB bootloader for updating the interface firmware itself**\\ | ||
\\ | \\ | ||
===== MCU Features ==== | ===== MCU Features ==== | ||
Line 62: | Line 72: | ||
=====Main Features Of The Board===== | =====Main Features Of The Board===== | ||
<WRAP left 600px :en> | <WRAP left 600px :en> | ||
- | * Small size | + | * Three User LEDs |
+ | * USB 2.0 FS with Micro connector | ||
* Drag-and-drop programming | * Drag-and-drop programming | ||
* SWD/JTAG connector | * SWD/JTAG connector | ||
- | * 5V USB or 4.5-5.5V supply | + | |
| | ||
</WRAP> | </WRAP> | ||
- | * Built-in USB drag 'n' drop FLASH programmer | + | * Built-in USB drag 'n' drop FLASH programmer |
* Reset and Bootloader enable push-buttons | * Reset and Bootloader enable push-buttons | ||
* Cortex debug interface connector | * Cortex debug interface connector | ||
+ | * 5V USB or 4.5-5.5V supply | ||
Line 77: | Line 89: | ||
=====Board Pinout===== | =====Board Pinout===== | ||
- | **to be updated** | ||
- | <WRAP centeralign>{{:nblocks:n-pro-00-02.jpg?300|}}</WRAP> | + | <WRAP centeralign>{{:nblocks:n-pro-dap-01.jpg?300|}}</WRAP> |
+ | \\ | ||
+ | <WRAP centeralign>{{:nblocks:n-pro-dap-nbusa.jpg|}}</WRAP> | ||
+ | \\ | ||
+ | <WRAP centeralign>{{:nblocks:n-pro-dap-nbusb.jpg|}} </WRAP> | ||
+ | \\ | ||
+ | <WRAP centeralign>{{:nblocks:n-pro-dap-nbusc.jpg|}} </WRAP> | ||
\\ | \\ | ||
+ | <WRAP centeralign>{{:nblocks:n-pro-dap-nbusd.jpg|}} </WRAP> | ||
+ | \\ | ||
- | \\ | ||
- | \\ | ||
- | ===== Geting started===== | ||
- | **to be updated** | ||
\\ | \\ | ||
\\ | \\ | ||
- | =====Flash Memory Programming===== | + | ===== Getting started===== |
- | **to be updated** | + | ===Programming n-PRO-10 using n-PRO-DAP=== |
+ | * Plug the USB cable to the n-PRO-DAP board. | ||
+ | * Connect the n-PRO-10 board on top using the connectors. | ||
+ | {{:nblocks:n-pro-dap-gs2.jpg?400|}} | ||
+ | * After a few seconds a mass storage device named DAPLINK will show up on your computer | ||
+ | |||
+ | {{:nblocks:n-pro-dap-gs1.jpg?700|}} | ||
+ | * Select target on mbed online compiler | ||
+ | * Create a blinky program like below | ||
+ | <code c++> | ||
+ | #include "mbed.h" | ||
- | \\ | + | DigitalOut led1(P0_20); |
- | \\ | + | |
- | + | ||
- | =====USE-CASE examples===== | + | |
- | **to be updated** | + | |
+ | // main() runs in its own thread in the OS | ||
+ | int main() { | ||
+ | while (true) { | ||
+ | led1 = !led1; | ||
+ | wait(0.05); | ||
+ | } | ||
+ | } | ||
+ | </code> | ||
+ | * Download the bin file from the mbed compiler. | ||
+ | * Drag and drop the file on the DAPLINK. | ||
+ | * Press RESET, and the n-PRO-10 board will now be running your code. | ||
\\ | \\ | ||
\\ | \\ | ||
- | |||
- | |||
- | =====Gallery===== | ||
- | |||
- | **to be updated** | ||