Go Down

Topic: can any one guide me as iam newbee (Read 1 time) previous topic - next topic

nazeem

iam using freeduino lite v2.0 the problem is when i upload a sketch to board program is uploading successfully but a error message appearing on the compiler as given :

avrdude: verification error, first mismatch at byte 0x0000
         0x40 != 0x00
avrdude: verification error; content mismatch

please help me

Is that that odd little board with single row male headers on it and no RS232 or USB port on it?


The USB on that freeduino is for power only.  You need a USB to TTL board to get the signals to the "FTDI" header.
Facts just don't care if you ignore them.

nazeem

please find the image of freeduino lite v2 attachment

kd7eir

You definitely need a breakout cable or board to program the Freeduino Lite.

Straight from the Freeduino site "...easy programming connection via FTDI Breakout cable or Bhasha's own USB breakout board"

Can you show us your set-up?  Either a picture or a drawing?
Facts just don't care if you ignore them.

nazeem

I am using FTDI USB Breakout board for programming,where as other boards of freduino lite v2.0 are working correctly but the only said board is uploading sketch correctly but displaying error message on compilor

avrdude: verification error, first mismatch at byte 0x0000
         0x40 != 0x00
avrdude: verification error; content mismatch

and the sketch is running correctly but unable to understand the reason might be hardware or something check the attachment

You would get that error during the verification stage.  When Avrdude goes back to see if what got stored on the AVR matches what it tried to program.  This is indicating that right at the first byte of the verification, it is finding a problem.  So, either the MCU board or the USB to serial board are not sending data back properly.

Have you written a sketch to send serial data or text back to the IDE terminal?  You could write a sketch to send "Hello World" back to the IDE terminal using Serial.println("Hello World") once every second, then trace the signal from pin 3 on the MCU using an oscilloscope.

Code: [Select]

Void Setup() {
     Serial.begin(9600);
}

Void Loop() {
     Serial.println("Hello World");
     delay(1000);
}

Facts just don't care if you ignore them.

nazeem

thanks for your help,but not having oscilloscope is there any other method to check

jimbo8098

hmmm , maybe a multimeter? Voltage is too small to use an led or something right?

Techone

What about a loop-test ? Just to check the FDTI. 

nazeem

To jimbo8098 i had tried your program that is

Void Setup() {
     Serial.begin(9600);
}

Void Loop() {
     Serial.println("Hello World");
     delay(1000);
}

compiler displaying the said message

error: 'Void' does not name a type




That was me.  Sorry, the capital 'V' is causing the problem.  Should be void not Void.
Facts just don't care if you ignore them.

nazeem

so sorry billo,uploadded your program its working serial monitor displaying hello world with delay 1000ms where as pin 3 showing zero volt on multimeter

#13
Mar 16, 2012, 02:36 pm Last Edit: Mar 16, 2012, 02:39 pm by BillO Reason: 1
Okay.

Well, since can up-load and run sketches and you can receive text back, that indicates that everything is okay with the communications and the MCU is working.

One more thing you can try is to re-burn the boot-loader.  It may have gotten corrupt somehow.

Other than that, everything seems to be working fine except you are getting a verification error.  If you cannot put a new boot-loader on it, or that does not work, I'd just keep using it as is and ignore the error.

If all else fails, you can try to swap out the Atmega chip.
Facts just don't care if you ignore them.

nazeem

thank you very much,can you guide to burn bootloader if possible,what is MCU,as new to arduino whant to learn basics thanks alot for your help and patience to explain to newbee

Go Up