generated from TDD-Templates/cmake_cpputest_template_avr
Added instructions using powershell commands
This commit is contained in:
parent
721fe66cf4
commit
ae15f4ea66
36
README.md
36
README.md
|
@ -19,7 +19,41 @@ saved position read out of EEPROM memory.
|
||||||
- avrdude(<=7.0)
|
- avrdude(<=7.0)
|
||||||
- CMAKE(<= 3.20)
|
- CMAKE(<= 3.20)
|
||||||
|
|
||||||
## Instructions
|
## Instructions(Windows)
|
||||||
|
|
||||||
|
### Flashing the Project
|
||||||
|
|
||||||
|
**On Windows(usbtinyisp)**
|
||||||
|
|
||||||
|
1. Install the usbtiny driver:
|
||||||
|
1. plug in usbtiny device
|
||||||
|
2. Install the drivers from: [adafruit](https://learn.adafruit.com/usbtinyisp/drivers)
|
||||||
|
2. open Powershell
|
||||||
|
3. navigate to the repo directory *cd Downloads\gf_002*
|
||||||
|
4. enter the command below.
|
||||||
|
|
||||||
|
```ps1
|
||||||
|
./avrdude.exe -p t13 -c usbtiny -B 125kHz -U flash:w:.\pre_built\attiny13_6-9Mhz.hex -U lfuse:w:0x6A:m -U hfuse:w:0xFF:m -U lock:w:0xFF:m
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
**On Windows(usbASP)**
|
||||||
|
|
||||||
|
1. Install the usbasp driver:
|
||||||
|
1. plug in usbasp device
|
||||||
|
2. run the 'zadig-2.8.exe' program
|
||||||
|
3. select the libusb 32 on the right by clicking the down arrow to select.
|
||||||
|
2. open Powershell
|
||||||
|
3. navigate to the repo directory *cd Downloads\gf_002*
|
||||||
|
4. enter the command below.
|
||||||
|
|
||||||
|
```ps1
|
||||||
|
./avrdude.exe -p t13 -c usbasp -B 125kHz -U flash:w:.\pre_built\attiny13_6-9Mhz.hex -U lfuse:w:0x6A:m -U hfuse:w:0xFF:m -U lock:w:0xFF:m
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Instructions(UNIX)
|
||||||
|
|
||||||
### Building Hex Files
|
### Building Hex Files
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue