From: István R. <ist...@gm...> - 2015-02-09 22:31:35
|
Sorry for being so newbie, but still have some trouble. I set succesfully the debugwire fuse avrdude -F -c jtag2isp -P usb -B 10 -b 115200 -p t45 -e -U flash:w:myfile.hex -U lfuse:w:0xe2:m -U hfuse:w:0x9f:m -U efuse:w:0xff:m ... then start avarice avarice -2 -j usb -P attiny45 -w --erase --program --file gdbinit-myfile localhost:4242 & ... then start avr-gdb avr-gdb -x gdbinit-myfile ... and it becomes to operate, but exits with an error message: ... ... Connection opened by host 127.0.0.1, port 58268. 0x00000000 in __vectors () Loading section .text, size 0x230 lma 0x0 jtagWrite(): numByte does not match page size gdbinit-myfile:3: Error in sourced command file: Remote communication error. Target disconnected. The content of gdbinit-myfile is: file myfile.out target remote localhost:4242 load break main continue What do I still do wrong? |