This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
documentation:electronics:samdisp [2021/01/12 11:30] ferdi created |
documentation:electronics:samdisp [2021/02/15 16:00] daniele |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== The board ===== | + | ===== SAMD ISP ===== |
- | Based on the [[http:// | + | Based on the [[http:// |
- | In the schematic below, only few additional components are present, apart from the ATASAMD11C14. Notably a 100mA voltage regulator ([[http:// | + | In the schematic below, only few additional components are present, apart from the ATASAMD11C14. Notably a 100mA voltage regulator ([[http:// |
- | \\ {{uploads: | + | {{https:// |
+ | |||
+ | \\ The board layout uses the ground layer to simplify the connection of the GND signal, and an USB mini connector, to avoid the eventual problems given by the milled USB traces. | ||
+ | |||
+ | {{https:// | ||
+ | |||
+ | {{https:// | ||
+ | |||
+ | ===== Programming ===== | ||
=== Prerequisites === | === Prerequisites === | ||
Line 17: | Line 25: | ||
* **USB Mini/Micro cable(s)** A USB micro cable is needed to power/ | * **USB Mini/Micro cable(s)** A USB micro cable is needed to power/ | ||
* **[[https:// | * **[[https:// | ||
- | * **[[uploads:6f85a1408f478af49985db5e1c58bb2f:converter_board|Converter Board]]** Small board-hack that allows the ATMEL-ICE to connect with higher picther SMD headers. | + | * **[[https:// |
An important note is, it is always needed to power the devices separately during programming. As power source the USB port is recommended. | An important note is, it is always needed to power the devices separately during programming. As power source the USB port is recommended. | ||
Line 27: | Line 35: | ||
* **[[https:// | * **[[https:// | ||
* **[[https:// | * **[[https:// | ||
- | * **[[uploads:b605e1bbaf9e3c5106394d36c4c5df92:free_dap_d11c_mini|SAMD ISP firmware]]**. This firmware for the SAMD ISP makes it working as an ISP programmer. | + | * **[[https:// |
=== ATMEL-ICE === | === ATMEL-ICE === | ||
Line 41: | Line 49: | ||
* Install the [[https:// | * Install the [[https:// | ||
- | Once the drivers are installed you can connect the board you want to program. Because of the small picth of the ATMEL-ICE connectors, you may need to use the [[uploads:6f85a1408f478af49985db5e1c58bb2f:converter_board|converter board]]. The following pictures shows how to connect the ATMEL-ICE to the SAMD ISP. If the green LED is on, then ATMEL-ICE successfully detects the connection with the chip that will be programmed. | + | Once the drivers are installed you can connect the board you want to program. Because of the small picth of the ATMEL-ICE connectors, you may need to use the [[https:// |
- | {{uploads:00cd69403d6ade8c2f52365a6d4414c0:ice_isp.jpg|ice_isp}}When using the Arduino IDE to upload the bootloader or the code, the following options are selected: | + | {{https:// |
- | {{uploads:e27ce85dcab224917257466633d003b4:program_arduino_ide.jpg|program_arduino_ide}}To program using the EDBG command line tool follow the steps below: | + | {{https:// |
* Donwload [[https:// | * Donwload [[https:// | ||
Line 71: | Line 79: | ||
Following is an image about how to connect the SAMD ISP with a fresh one. | Following is an image about how to connect the SAMD ISP with a fresh one. | ||
- | {{uploads: | + | {{https:// |
'' | '' | ||
- | {{uploads:a64237ad63190813971d1cda38355cf7:edbg_windows.JPG|edbg_windows}}Type '' | + | {{https:// |
- | {{uploads:4b7bb46ae72d724aa01189699cc79a1b:edbg_targets.JPG|edbg_targets}}Once the SAMD ISP firmware has been uploaded, the programmer will be recognized. | + | {{https:// |
- | {{uploads: | + | {{https:// |
- | {{uploads:c669fb25a0b60b9fb3e5c7f083d080a1:programmer_selection.JPG|programmer_selection}}To upload a code that has been compiled by the Arduino IDE, it is possible to manually copy the compiled bin from the temp folder the IDE is using to store the builds. To find the path is sufficient to enable the verbose output in the Arduino IDE preferences, | + | {{https:// |
- | {{uploads: | + | {{https:// |
Depending on which bootloader you have installed into the SAMD ISP, or other SAM microcontrollers, | Depending on which bootloader you have installed into the SAMD ISP, or other SAM microcontrollers, | ||
- | {{uploads:464a056c5d499c8e5b4b4d84d55a36c5:MattairBootloader.jpg|MattairBootloader}}Once the proper bootloader is installed, the board will be recognized by the Arduino IDE, and a new serial port will be available. | + | {{https:// |
- | {{uploads:6a72f76b9355e4f14ce4f2057a2356c0:MattairTech_bootloader.jpg|MattairTech_bootloader}}At this point to upload the code, you just need to push the upload button of the Arduino IDE. | + | {{https:// |
===== Downloads ===== | ===== Downloads ===== | ||
Line 95: | Line 103: | ||
== SAMD ISP Files == | == SAMD ISP Files == | ||
- | * [[uploads:951dd7b4fcacc99c6aed488bedb31b18:ISP_ATSAMD11C14|Eagle Schematic]] | + | * [[https:// |
- | * [[uploads:cb09e03f6c63f0b8424dfeb200fefda3:ISP_ATSAMD11C14|Eagle Board]] | + | * [[https:// |
- | * [[uploads:5549cde082653b9a912eca2d41d74b40:traces|Traces PNG]] | + | * [[https:// |
- | * [[uploads: | + | * [[https:// |
- | * [[uploads:f004605eeb2b416b544b7b1c7cad7b20:ISP_ATSAMD11C14|SAMD ISP Eagle Library]] | + | * [[https:// |
== Software == | == Software == | ||
Line 105: | Line 113: | ||
EDBG v. B74: | EDBG v. B74: | ||
- | * [[uploads:d7c86196954d785fc96b83a26568916a:edbg_linuxc|EDBG Linux C]] | + | * [[https:// |
- | * [[uploads:1efbf55f0ac8252fdd8480ba73fa6ded:edbg_linuxgcc|EDBG Linux GCC]] | + | * [[https:// |
- | * [[uploads:d44cc86232397aacd171b11d50b5f34b:edbg_macc|EDBG Mac C]] | + | * [[https:// |
- | * [[uploads: | + | * [[https:// |
- | * [[uploads:89359d786315fdb478feb2d30118896d:edbg_win|EDBG Windows]] | + | * [[https:// |
SAMD ISP firmware: | SAMD ISP firmware: | ||
- | * [[uploads:b605e1bbaf9e3c5106394d36c4c5df92:free_dap_d11c_mini|free_dap_d11c_mini.bin]] | + | * [[https:// |
===== Useful Links ===== | ===== Useful Links ===== | ||
[[http:// | [[http:// |