취미는 놀기
[ATTiny1616] atprogram command 본문
1. Use command option
-t = debugger (medbg, atmelice, jtag etc...)
-i = interface ( updi,jtag, etc...)
-d = device name ( attiny1616, attiny416 etc...)
-o = offset ( default = 0)
-s = size (read size, write size)
2. write eeprom
atprogram -t atmelice -i updi -d attiny1616 write -ee -o 0 --values 010203
3. read eeprom
atprogram -t atmelice -i updi -d attiny1616 read -ee -s 10 -o 0
4. erase eeprom
atprogram -t atmelice -i updi -d attiny1616 erase -ee
5. write fuse
atprogram -t atmelice -i updi -d attiny1616 write -fs -o 5 --value F7
6. program(option -f = filepath, -c = program before chiperase)
atprogram -t atmelice -i updi -d attiny1616 program -f -c C:\project\Debug\ATtiny1616.elf
7. list (Mass Production for attiny debuggger read serial number)
atprogram list
'개발 (Develop) > ATTiny1616' 카테고리의 다른 글
[ATtiny1616] ATtiny416-xnano 1ms 구현 (1) | 2018.07.30 |
---|