Hi'
New to this Arduino stuff - first post.
I have a Arduino Ethernet board (.org)
Airduino IDE ver 1.81
Atmel AVRISP mkll (HW rev 1, SW ver 1.18)
I have replaced the mega 328P on the board (long story)
Now I'm trying to burn the bootloader without luck.
I have selected "AVRISP mkll" and "Arduino Ethernet"
Here is what happens when I press "Burn Bootloader"
Arduino: 1.8.1 (Windows 10), Board: "Arduino Ethernet"
C:\Users\xxxxxx\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino8/bin/avrdude -CC:\Users\xxxxxx\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino8/etc/avrdude.conf -v -patmega328p -cstk500v2 -Pusb -e -Ulock:w:0x3F:m -Uefuse:w:0x05:m -Uhfuse:w:0xde:m -Ulfuse:w:0xff:m
avrdude: Version 6.3, compiled on Dec 16 2016 at 13:33:19
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Error while burning bootloader.
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "C:\Users\xxxxxxx\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino8/etc/avrdude.conf"
Using Port : usb
Using Programmer : stk500v2
avrdude: usbdev_open(): did not find any USB device "usb" (0x03eb:0x2104)
avrdude done. Thank you.
I can download firmware with the AVRISP using AVR studio without problem.
I could burn the bootloader with AVR studio but what .hex file should I use and what fuse bits to set.
I can see it suggets the following:
Extended 0x05
High: 0xde
Low: 0xff
The High and Low fuse bits suggest 256W size bootloader and ext. 8>16 Mhz clk (14CK_65MS)
The extended I believe means BOD level at 2.7 V
I recall I have read somewhere that I must change the driver for the AVRISP but I cant find the information now. The Arduino documentation does not help me - or I don't look the right places.
Thank you