I must be doing something wrong

I must be doing something wrong or is the the cheap ebay board is the problem .

I copied a program from Arduino Examples/servo'

When I transfered it to my board I got an error re the program name so I renamed it and now I get this message.

Arduino: 1.8.5 (Windows Store 1.8.10.0) (Windows 10), Board: "Arduino/Genuino Uno"

is 2048 bytes.
avrdude: verification error, first mismatch at byte 0x0000
0x00 != 0x0c
avrdude: verification error; content mismatch
avrdude: verification error; content mismatch

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

ColRay:
I must be doing something wrong or is the the cheap ebay board is the problem .

I copied a program from Arduino Examples/servo'

When I transfered it to my board I got an error re the program name so I renamed it and now I get this message.

Arduino: 1.8.5 (Windows Store 1.8.10.0) (Windows 10), Board: "Arduino/Genuino Uno"

is 2048 bytes.
avrdude: verification error, first mismatch at byte 0x0000
0x00 != 0x0c
avrdude: verification error; content mismatch
avrdude: verification error; content mismatch

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

You most definitely are doing something wrong!

What that wrong is unknown given the limited information you have provided.

.

Hi,
Welcome to the forum.

Please read the first post in any forum entitled how to use this forum.
http://forum.arduino.cc/index.php/topic,148850.0.html then look down to item #7 about how to post your code.
It will be formatted in a scrolling window that makes it easier to read.

Is this related to this thread?

http://forum.arduino.cc/index.php?topic=542612.0

What IDE are you using and what OS?

Have you tried the Blink example in the IDE?

Tom... :slight_smile:

Tom many thank for the info I will read the how to use this forum topic and see if I can solve the problem Colin

Arduino: 1.8.5 (Windows Store 1.8.10.0) (Windows 10), Board: "Arduino/Genuino Uno"

c:\program files\windowsapps\arduinollc.arduinoide_1.8.10.0_x86__mdqgnx93n4wtt\hardware\tools\avr\bin../lib/gcc/avr/4.9.2/../../../../avr/bin/ar.exe: unable to rename 'core\core.a'; reason: File exists

exit status 1
Error compiling for board Arduino/Genuino Uno.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Hi,
I think your are using a version of the IDE that from the WindowsStore, I gather some people are having problems with it.

Uninstall it and get a copy of the IDE from here;

Hope it helps... Tom... :slight_smile:

Hi Tom I have just had a look at the sofware page and it looks like the only IDE link is via the Windows Store.

Previous versions:

Hi,
You do not have to download via windowsStore
Click where either red arrow points, then select "Just Download" or "Comtribute and Download"

Tom.. :slight_smile:

Tom many thanks for all your time on this problem . I now see where I was going wrong

Iarryd thanks for the extra link

Colin

Arduino: 1.8.5 (Windows 10), Board: "Arduino/Genuino Uno"

Sketch uses 2158 bytes (6%) of program storage space. Maximum is 32256 bytes.
Global variables use 52 bytes (2%) of dynamic memory, leaving 1996 bytes for local variables. Maximum is 2048 bytes.
avrdude: ser_open(): can't open device "\.\COM1": The system cannot find the file specified.

Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

I dumped the old program and reloaded with the new one looks like the problem is now with the port COM1

Hi,
It will be highly unlikely that the UNO will be at COM1,
Look here and see what is selected.
COM8 is the UNO I have connected at the moment, you will find each arduino board will have differing com numbers.


Also check "Get Board Info".
get.jpg
Tom... :slight_smile:

Once again many thanks for all your help .

I checked the port and it's No 3 I reckon the problem must be the board I purchased on eBay I'm 99.9 % sure it's a pirate copy. When I look at the board info it tells me "BN: Unknown Board"

I guess you only get what you pay for so I binned it and ordered a genuine board from a Perth dealer , should have by first thing Monday.

As I many thanks for all your help

Colin

PS fingers crossed the new board works lol

A “cheap eBay board” will have the CH340 usb to serial chip. You just need the correct driver.

Yes, it’s a Chinese website. That’s because it’s a chip from China.

ColRay:
Once again many thanks for all your help .

I checked the port and it's No 3 I reckon the problem must be the board I purchased on eBay I'm 99.9 % sure it's a pirate copy. When I look at the board info it tells me "BN: Unknown Board"

I guess you only get what you pay for so I binned it and ordered a genuine board from a Perth dealer , should have by first thing Monday.

As I many thanks for all your help

Colin

PS fingers crossed the new board works lol

Don't bin it, did you select COM3 like I have COM8 on my example.
Can you post a picture of your UNO please.
Can you show me some screen captures of what your IDE shows like my posting?
Thanks.. Tom.. :slight_smile:

It's pluged into port COM3

Board picture

board 2.jpg

Hi,
That means that you have coms to the board, if you didn't then you would not get a response.

Can you load an Example code, goto Files, Examples, Basics, Blink.
The Blink example should pop up in a new window.
In that window click on the upload => icon.

See what happens..

Tom.... :slight_smile:

Arduino: 1.8.5 (Windows 10), Board: "Arduino/Genuino Uno"

Sketch uses 928 bytes (2%) of program storage space. Maximum is 32256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
avrdude: verification error, first mismatch at byte 0x0000
         0x00 != 0x0c
avrdude: verification error; content mismatch
avrdude: verification error; content mismatch

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Hi,
Go to Files, Preferences and select "Show verbose output during compilation".
Then see what the expanded error message is.

Thanks.. Tom... :slight_smile: