Skip to content
Snippets Groups Projects
README.md 1.63 KiB
Newer Older
Krisjanis Rijnieks's avatar
Krisjanis Rijnieks committed
The cobra project... Starts here...
Neil Gershenfeld's avatar
Neil Gershenfeld committed

Neil Gershenfeld's avatar
Neil Gershenfeld committed
# fiber laser

# AVRtiny 1-series

# ARM

Neil Gershenfeld's avatar
Neil Gershenfeld committed
# Minimill

- user interface
    - 
- path planning
    - Neil (mods)
- motion control
    - Neil 
- network
    - Nicolas
francisco's avatar
francisco committed
    - Fran
Neil Gershenfeld's avatar
Neil Gershenfeld committed
- motor control
    - Kris
- power
    - Duaa
- drives, motion
    - Denis
yuichitamiya's avatar
yuichitamiya committed
    - Yuichi
Neil Gershenfeld's avatar
Neil Gershenfeld committed
- end effectors
    - spindle

## Programming with EDBG Atmel ICE

Once you have your [hello.serial-UPDI.FT230X](http://academy.cba.mit.edu/classes/embedded_programming/index.html#programmers) or [hello.CMSIS-DAP.4.D11C](http://academy.cba.mit.edu/classes/embedded_programming/index.html#programmers) ARM programmer board ready, use [EDBG](https://github.com/ataradov/edbg). Clone it with `git`, install dependencies and run `make all` to compile it. It will produce an executable `edbg` in its home folder. If you have an Atmel ICE with the board connected, use a modified version of the command below to program the ARM board.

```
edbg -t samd11 -bpv -f free_dap_d11c_mini.bin -s J41800032510
```

`-t` stands for your ARM chip type. In this case it is D11C or samd11. You can check it from the datasheet. You can check all the EDBG supported types by running `edbg -t list`.

`-b` stands for verbose output.

`-p` stands for program, to program the chip.

`-v` stands for memory verification.

`-s` stands for the serial number of your programmer. 

### Serial Number

You can tell the serial number of your programmer as follows. 

**On Linux** use `dmesg` command.

**On Mac** use `lsusb` command.

Try to disconnect your programmer, run the command, connect it and run the command again to compare the output and find the correct device and its serial number.