Skip to content

Commit

Permalink
Merge pull request #2 from ponoor/kanta-test-tool-dev
Browse files Browse the repository at this point in the history
Update test_prcedure.md
  • Loading branch information
kanta authored Jul 11, 2021
2 parents 8c952e1 + 02a2811 commit ee59dde
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions step800_hardware_tests/test_prcedure.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
1. Download and install latest Arduino IDE from https://www.arduino.cc/en/Main/Software
2. Install SAMD boards core. Procedure is explained here: https://www.arduino.cc/en/Guide/ArduinoZero
3. Specify the target board as `Arduino Zero (Native USB Port)`.
![image](https://user-images.githubusercontent.com/1097902/125183587-aa763000-e252-11eb-8f3c-67a6195e0ffc.png)
<img src="https://user-images.githubusercontent.com/1097902/125183587-aa763000-e252-11eb-8f3c-67a6195e0ffc.png" width = "600" />

#### Install Arduino Libraries for the test program

1. Open the IDE and click to the "Sketch" menu and then *Include Library* > *Manage Libraries*.
2. Type "ponoor" to the search box located on the top right of the window.
![image](https://user-images.githubusercontent.com/1097902/125183637-2f614980-e253-11eb-8df9-8bcd8fce3c03.png)
<img src="https://user-images.githubusercontent.com/1097902/125183637-2f614980-e253-11eb-8df9-8bcd8fce3c03.png" width = "600" />

3. You should be able to find "Ponoor L6470 Library". Select it and click the *Install* button.
4. Then install one another library “FlashStorage”. The procedure is same as above.
Expand All @@ -28,14 +28,11 @@

1. Download the program from here. https://github.com/ponoor/STEP400/blob/master/hardwareTestSketch/hardwareTestSketch.ino
2. Specify the target board as `Arduino Zero (Native USB Port)` .
![image](https://user-images.githubusercontent.com/1097902/125183641-37b98480-e253-11eb-9a5e-a9bc241dd2f0.png)

<img src="https://user-images.githubusercontent.com/1097902/125183641-37b98480-e253-11eb-9a5e-a9bc241dd2f0.png" width = "600" />
3. Press the “VERIFY” button. Then Arduino IDE starts the compile the program (which called “Sketch” in the IDE).
![](https://arduinotogo.com/wp-content/uploads/2016/07/ch3-buttons-labelled.png)


4. If the compiling process is done successfully, you will see a “Done compiling.” sign.

![image](https://user-images.githubusercontent.com/1097902/125183648-49029100-e253-11eb-86c9-38e77f9145b9.png)

# Programming the MCU
Expand All @@ -45,8 +42,9 @@
## 2. Connect Atmel-ICE Basic
- Connect Atmel-ICE Basic with a PC with USB microB cable.
- Connect the programming cable to the “**SAM**” connector of the Atmel-ICE Basic
![“SAM” connector is the left side of “AVR” connector.](https://media.digikey.com/Photos/Atmel%20Photos/MFG_ATATMEL-ICE-BASIC.jpg)
![Use the right connector to the Atmel-ICE Basic, and the center connector to the PCB. We won’t use the left connector.](https://images-na.ssl-images-amazon.com/images/I/511stTQfqZL._AC_SL1440_.jpg)
- For the cable, use the right connector to the Atmel-ICE Basic, and the center connector to the PCB. We won’t use the left connector.
<img src="https://media.digikey.com/Photos/Atmel%20Photos/MFG_ATATMEL-ICE-BASIC.jpg" width = "300" />
<img src="https://images-na.ssl-images-amazon.com/images/I/511stTQfqZL._AC_SL1440_.jpg" width = "300" />

- Remove the small plastic cover from `SWD` pin header on the PCB. Do not discard this cover, we will use it later.
- Then connect a programming socket (the 1.27mm pitch 10pin connector in the middle of the cable) to `SWD` pinheader on the PCB. Be aware of the small circle marking which placed the pin no.1 of the `SWD` connector. The red line of the programming cable indicates the pin no.1 side of the programming header.
Expand Down

0 comments on commit ee59dde

Please sign in to comment.