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?


------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
avarice-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/avarice-user

Reply via email to