I have a blank Atmega328p sitting on a Serial Arduino Board.I have hooked up a USBasp programmer to burn the bootloader.
I have not tried with this part number but following should work.
Keep in mind the library versions of libusb0.dll you are using.
Some parts of this post are questions to some and some are answers,see if this can help.
I found discussions in this thread relevant to my problem,so i am posting it here.
I have used USBasp as Programmer Board which helps me to upload the code directly to the mcu using avrdude.
Changes done in boards.txt
The board is directly shown under the head Tools ->Boards -> marduino/m48
1) The problem is some times there is content mismatch error like this .
Binary sketch size: 1146 bytes (of a 7168 byte maximum)
avrdude: verification error, first mismatch at byte 0x00d8
0x62 != 0x60
avrdude: verification error; content mismatch
Is this problem because the device is not getting erased properly ?
Because when i erase this device using any Avrdude/Usbasp GUI the board seem to work fine.
Questions are :o
What all types of parameters we can add to boards.txt , is there any document available on this ?
I just wish to erase the device before Arduino begins programming the MCU, so that any possibility of content mismatch is removed.
(Keeping in mind that device is not being programmed using a boot loader)
Can we use Arduino to program fuses of MCU using Avrdude/Usbasp before programming it ?
Like following commands to boards.txt
- Currently i cannot see any output messages from Avrude on the terminal of Arduino.
Can is see the status of programming and verification on terminal of Arduino ?
driver version : 0.1.12.1
Details : VID_16C0 & PID_05DC