Pages: [1] 2   Go Down
Author Topic: can any one guide me as iam newbee  (Read 1401 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 35
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Canada
Offline Offline
God Member
*****
Karma: 7
Posts: 591
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Facts just don't care if you ignore them.

Offline Offline
Newbie
*
Karma: 0
Posts: 35
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

please find the image of freeduino lite v2 attachment


* freeduino-lite2.jpg (48.55 KB, 600x600 - viewed 33 times.)
Logged

Tucson, AZ
Offline Offline
Sr. Member
****
Karma: 8
Posts: 311
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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"
Logged

Canada
Offline Offline
God Member
*****
Karma: 7
Posts: 591
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Can you show us your set-up?  Either a picture or a drawing?
Logged

Facts just don't care if you ignore them.

Offline Offline
Newbie
*
Karma: 0
Posts: 35
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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


* freeduino-usb-adapter.jpg (5.12 KB, 129x129 - viewed 126 times.)
Logged

Canada
Offline Offline
God Member
*****
Karma: 7
Posts: 591
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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:
Void Setup() {
     Serial.begin(9600);
}

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

Facts just don't care if you ignore them.

Offline Offline
Newbie
*
Karma: 0
Posts: 35
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Offline Offline
Newbie
*
Karma: 0
Posts: 48
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Toronto, Canada
Offline Offline
Edison Member
*
Karma: 2
Posts: 1234
"Keep it R.E.I.L. - "Research, Experiment, Investigate and Learn"
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Offline Offline
Newbie
*
Karma: 0
Posts: 35
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

 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



Logged

Canada
Offline Offline
God Member
*****
Karma: 7
Posts: 591
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

That was me.  Sorry, the capital 'V' is causing the problem.  Should be void not Void.
Logged

Facts just don't care if you ignore them.

Offline Offline
Newbie
*
Karma: 0
Posts: 35
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Canada
Offline Offline
God Member
*****
Karma: 7
Posts: 591
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
« Last Edit: March 16, 2012, 08:39:26 am by BillO » Logged

Facts just don't care if you ignore them.

Offline Offline
Newbie
*
Karma: 0
Posts: 35
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Pages: [1] 2   Go Up
Jump to: