Arduino Forum

Using Arduino => Installation & Troubleshooting => Topic started by: krasnejv on Apr 26, 2019, 01:24 am

Title: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: krasnejv on Apr 26, 2019, 01:24 am
Hi!

Just got my Arduino Starter Kit with the Uno. Downloaded the IDE version 1.8.9. Followed the instructions in the Arduino Projects book to install the IDE and install the driver to my Windows 10 PC. However the driver won't install. I get the message saying,  "A service installation section in this INF is invalid." The driver won't load. Looking at back forum posts, this seems to be an ongoing problem. Does anyone have a fix for this? I hope so, otherwise the kit is going back and my Arduino career will be cut short. :-)

Any help would be greatly appreciated. Thanks.
Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: ingineer_74 on Apr 26, 2019, 03:08 am
I"m having the exact same issue using Win 10.  I was excited to get started when I received my new starter kit.  I already installed the offline IDE version and all of the respective drivers.  I then opened the box and plugged in the board, and nothing...not starting much with the starter kit as the driver does not install and get the pop-up message shown in attached photo.... I have read though the installation and  troubleshooting guides for drivers and window with no success.  

Please let me know if there is a fix to this issue...as I may be returning my kit as well.  :-(
Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: ballscrewbob on Apr 26, 2019, 05:32 am
Windows 8-10 have driver signing / enforcement turned up by default.

If both kits are official (sounds like they are).
The drivers would normally install during the IDE installation.

If this was not the case you can go to the drivers folder in the Arduino installation and install from there.
I generally recommend doing this as ADMINISTRATOR or with driver enforcement turned OFF. (google)

There are multiple posts about this type of topic so i would recommend you both read the posts at the top of the forum and learn to use the search facility.

A little reading goes a long way.

There are other localised issues that may also prevent driver installation such as Computer ownership, Antivirus, Computer policy's, etc. etc.

Bob.
Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: ingineer_74 on Apr 26, 2019, 01:39 pm
Bob. 
Thanks for the reply. 

OK...appreciate that I'll have to sort through 100s of forum entries to figure out which one will fix my issue.  I didn't know that's what I had to do.  Thanks.  ;-)

I'm having such a great 'out of box' experience so far. ...and Windows 10 is great too. ;-)
Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: ballscrewbob on Apr 26, 2019, 03:54 pm
I only use windows 10 as a "test box" main unit is still windows 7.

Reason I say read a little is that there are a few methods and me doing that for you is not in my remit.
Almost all of us are just users like yourself giving freely of our time and experience.

Bob.

Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: krasnejv on Apr 26, 2019, 05:45 pm
Bob,

"Windows 8-10 have driver signing / enforcement turned up by default." If that's the problem, then why doesn't Arduino just sign the drivers?

"If both kits are official (sounds like they are)." Mine is.
"The drivers would normally install during the IDE installation." They didn't.

"If this was not the case you can go to the drivers folder in the Arduino installation and install from there." They won't install.

"I generally recommend doing this as ADMINISTRATOR or with driver enforcement turned OFF." As far as I can tell, you can't run Device Manager as Administrator. Driver Enforcement won't turn off because of security policy. Again, why can't Arduino sign the drivers?

"There are multiple posts about this type of topic . . ." Before I originally posted I did search on the topic. The only thing I found out was that this has been an ongoing problem since at least 2015. Nobody has posted a definitive fix for it.

Does anybody know if any other board manufacturers provide signed drivers? Might have to go that route, unless I just scrap the whole Arduino idea.
Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: ballscrewbob on Apr 26, 2019, 06:10 pm
A1. The drivers are signed AFAIK but as I explained the enforcement features of 8-10 are much higher than previous versions.

A2. Fact that they did not install at the time of the IDE install is often subject to settings with the windows install itself. I cannot see your system so from here its almost impossible to tell why.

A3. In the grand scheme of many many thousands of users there is a minority who don't seem able to install drivers and the reasons I gave prior are just a few of those.

A4. You are not running "device manager as an admin but installing drivers. I think you may be a little confused there. Google has lots of ways to turn off driver enforcement from temporary to permanent.
If you computer has a policy in place that you cannot change (educational or business computers etc.) then you should seek out your IT departments help with that. A policy is often put in place to protect a system from abuse in one way or another.

A5. There is no definitive fix as the reasons as stated can be multiple. Each fix is a case by case.

A6. It is not limited to Arduino as you can find large amounts of problems for multiple types of hardware from Mice to almost anything else you can attach to a computer. Continually getting drivers signed by MS is not a cheap process which is why so many bits of hardware don't or only go a partial route.

Arduinos like any similar board does expect a small amount of basic knowledge of both computers and electronics.
If you are looking for a reason to return the kit I am afraid I cannot give you one.

Also take note that we are almost exclusively users like your self in these forums giving  freely of time, effort, and experience to help others. It can be a thankless thing at times but we keep coming back.  :)

Bob.
Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: ingineer_74 on Apr 27, 2019, 12:36 am
Bob...no I do appreciate the help you did provide.  I understand users here are all giving up their free time to help others...it's just that I feel that I've tried almost every possible fix (i.e. turn driver enforcement off, Admin install, manually install drivers etc.) that have been posted in this forum related to driver issues and Windows with no success yet.  I was able to see the Atmega16u2 device pop-up and install the driver for it, but that is it.  I don't see the COM port (VCP) enumerate /get initialized in Device Manager at all.  Would secure boot cause an issue or Windows Defender / Firewall being enabled?  

I'm trying to use the Arduino IDE and the starter kit on my own personal laptop that has what I would call a 'standard' 64-bit Windows 10 installation (not a business laptop or has any strong IT related restrictions on it)...the laptop was purchased from Amazon.  I didn't expect to have such a problem getting to this work...but again its Windows right? ;-)
I've also attached a couple photos of the Arduino board I"m using from the starter kit

I'm trying to make EVERY possible attempt to NOT return this kit...I've already put in about 5-6 hours of trying to resolve this driver issue and about to come to my wits end.  I'm an hardware engineer and design these sort of boards for a living so I'd like to think I know what I'm doing, but maybe I'm missing something silly here...anyway I'll continue working on it over the weekend.  I have another Arduino board (i.e. Nano) at work that I may try as well to see if I have any luck.  I know that one works...
Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: krasnejv on Apr 27, 2019, 12:53 am

Here's what I've done lately:



The weird thing is that, when I reinstall the software after the initial install, the PC tells me that it can't even find the drivers.

Another thing, ingineer_74 says that the device is an Atmega16u2, but the chip itself says it is an ATmega328 P does that make a difference? I can't find any reference to either of those designations in the drivers folder.

I'll keep trying, for a little while longer anyway, but hopes are dimming. I really wanted this to work. Thanks for the suggestions, anyway.


BTW, following are the instructions to disable drive signature enforcement, if anyone is interested:

Perform these steps to disable the driver signature enforcement in Windows 10:

a. Go into Settings-->Update & Security.

b. Then click on the "Recovery" option on the left hand side.

c. Once selected, you will see an "Advanced startup" section appear on the right hand side. You will need to click on the "Restart now" button. The PC will immediately restart.

d. Once your Computer has rebooted you will need to choose the "Troubleshoot" option.

e. Then head into "Advanced options."

f. Then "Startup Settings."

g. Since we are modifying boot time configuration settings, you will need to restart your computer one last time.

h. Here you will be given a list of startup settings that you can change. The one we are looking for is "Disable driver signature enforcement". To choose the setting, you will need to press the F7 key.
Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: ingineer_74 on Apr 27, 2019, 01:11 am
Hello krasnejv:

I believe the Atmega16u2 identifies the small USB-to-UART interface IC on the board...look at the photos of my board in my previous post.  It's the small chip close to the USB connector.  I suspect Arduino may have changed to this chip or they also use the FTDI USB-to-UART chip on other boards?

It allows the Windows PC to communicate with the ATmega328 processor that is main processor on the Arduino starter kit board. 

The is where the driver installed for that chip but my issue is the VCOM port for the USB is not showing up at all during my install...therefore I'm about half-way there.  I may try another USB cable but doubt that is the issue since it was cable straight from the kit.
Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: krasnejv on Apr 27, 2019, 01:45 am
Hi ingineer_74, thanks for clearing that up. I should have realized that  it would be USB related (DOH!). Do you have a file named  Atmega16u2 anywhere in your drivers folder? I don't, so maybe that's why its telling me that it can't find the driver.
Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: ingineer_74 on Apr 27, 2019, 02:08 am
Hi krasnejv:
No, I don't. 

I think the actual driver that the Atmega16u2 is tied to is one of the libusb0.sys files in the \\arduino\drivers directory.  (see attached photo)

However, what I don't know is exactly which one Windows may have used since it is in three different sub folders (amd64, ia64 and x86...unless they are all the same)  Since I have a 64-bit installation for windows, I haven't confirmed whether or not those libusb0.sys are the same as they are in different folders based on 32-bit and 64-bit installs.

Other than having to do a clean install of windows or other complex workarounds, it seems VERY unfortunate to have to do for such a small device.  I'm not there yet...I haven't given up.  I've been working on this pretty much all day today...as I just received my new kit yesterday evening.
Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: krasnejv on Apr 27, 2019, 02:51 am
Hey ingineer_74,

I have made some progress also. I was able to download and install the Atmega 16U2 driver using an app I found called Driver Toolkit. However, I think I have the same problem that you have in that the PC didn't assign a COM port (see attachments). DMgr says the device is working properly, but the driver doesn't show up under the Ports & LPT section. I'm stumped again.
Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: ingineer_74 on Apr 27, 2019, 03:04 am
Hey krasnejv:

Alright...good news...we're now both stuck at the same place now.  lol  :-)  That is exactly how far I got...ATmega16U2 driver working, but my Windows 10 laptop does not assign COM port. 

I'm now looking at the PDF document that Bob has posted on some of one of the other driver issue posts that cleans the registry when attempting to try other fresh IDE / driver installs.  Not sure it will help and may end up the same place as before...but I'm willing to remove all the previous drivers and start again.  (I've attached it here for reference.)
Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: krasnejv on Apr 27, 2019, 03:33 am
ingineer_74, thanks for sticking with it. I am going to hang it up for the night. I'm going to be busy pretty much all day tomorrow, so I'll probably pick it up again on Sunday. Take care.
Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: ingineer_74 on Apr 27, 2019, 03:48 am
yep, same here...will try to look at it some more on Sunday evening. 

this may be another thing to try but involves a little solder work or applying short/jumpers to the board...not sure if that's what's going on and seems really far-fetched.

https://nemochronicles.wordpress.com/2014/10/14/reset-the-atmega8u2-atmega16u2-of-your-dead-arduino-mega-uno/ (https://nemochronicles.wordpress.com/2014/10/14/reset-the-atmega8u2-atmega16u2-of-your-dead-arduino-mega-uno/)
Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: ballscrewbob on Apr 27, 2019, 04:27 am
Both of you please step away from the soldering irons LOL.

As neither of you have got to a programming state yet there is almost zero chance you need to start to play with DFU.

Those types of step are last resort after an errant sketch or corrupted bootloader was pushed to a board.

Thanks for helping each other out btw that's the whole idea of forums.

I need to catch up on where you are.

Bob.

Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: pert on Apr 27, 2019, 12:12 pm
I have a question for @krasnejv and @ingineer_74: There are three different downloads of the Arduino IDE for Windows:

(http://forum.arduino.cc/index.php?action=dlattach;topic=612373.0;attach=305737)

Which one are you using?

The reason I ask is because I want to try to reproduce your problem with the driver and I want to make sure I set up my system the same as you.
Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: krasnejv on Apr 27, 2019, 10:58 pm
I used the top one, the Windows Installer. But I have been considering wiping the installation and using the zip file to manually install to see if that changes anything. Haven't done it yet though. Thanks for the interest in our problem.
Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: ballscrewbob on Apr 27, 2019, 11:02 pm
The win 10 "APP" has been known to cause issues for people.

Not been able to re-create the issue here either.

BTW for anyone who is doing a new install there are some clean up instructions attached.

Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: krasnejv on Apr 27, 2019, 11:10 pm
Both of you please step away from the soldering irons LOL.

As neither of you have got to a programming state yet there is almost zero chance you need to start to play with DFU.

Those types of step are last resort after an errant sketch or corrupted bootloader was pushed to a board.

Thanks for helping each other out btw that's the whole idea of forums.

I need to catch up on where you are.

Bob.


Yeah, although I'm quite proficient with a soldering iron, that whole procedure looks kind of radical to me. Last resort as you say. Thanks.
Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: pert on Apr 28, 2019, 03:55 pm
I used the top one, the Windows Installer. But I have been considering wiping the installation and using the zip file to manually install to see if that changes anything. Haven't done it yet though. Thanks for the interest in our problem.
The difference between the Windows Installer and  "Windows ZIP file for non admin install" versions is that the installer installs the USB drivers and associates .ino files with the Arduino IDE.

I just did a fresh installation of Arduino IDE 1.8.9 Windows Installer version on a fresh installation of Windows 10 and was unable to reproduce the issue with the driver. During the installation, I'm prompted to install the drivers. After doing that, I plug in my Uno and the port shows up, no problem, no error.
Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: krasnejv on Apr 28, 2019, 04:17 pm
The difference between the Windows Installer and  "Windows ZIP file for non admin install" versions is that the installer installs the USB drivers and associates .ino files with the Arduino IDE.

I just did a fresh installation of Arduino IDE 1.8.9 Windows Installer version on a fresh installation of Windows 10 and was unable to reproduce the issue with the driver. During the installation, I'm prompted to install the drivers. After doing that, I plug in my Uno and the port shows up, no problem, no error.
I have just finished performing all three installation procedures doing the cleanup procedure before each one with the same result. I've also tried doing the installs with the Arduino board plugged in the whole time. It doesn't make a difference.

By the way, I am using Windows 10 home if that makes any difference.

Can't seem to end this project.

By the way, when you say "a fresh installation of Windows 10" do you mean formatting the HD and starting all over again or doing a re-install over the existing installation?
Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: pert on Apr 28, 2019, 04:26 pm
By the way, when you say "a fresh installation of Windows 10" do you mean formatting the HD and starting all over again or doing a re-install over the existing installation?
It's a virtual machine, so the former.
Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: krasnejv on Apr 28, 2019, 06:58 pm
Well, in the last two days I have tried so many things I don't even remember them all. So far I have arrived here (please see the attachment, I don't know how to embed an image into a forum post). But no matter what I do it always tells me that the drivers won't work with the hardware.

Since ingineer_74 and I bought the same type of kit on maybe the same day (or close to it) and maybe from the same place (I got mine from Amazon), I am beginning to think that this is a hardware problem. Bad batch of UARTS maybe?

Of the 304 views (currently) of this post no one else has jumped in and said that they have had a problem getting an Arduino Uno working on Windows 10.

I don't know anyone locally that has a Uno that I could physically swap out to see if that's the case, so I'm kind of stuck. I guess maybe I'll send the kit back and order another one from a different source to see if anything changes. I won't do that for a little while yet, so if anyone has any other suggestions, I'm all ears.

Thanks for listening.

Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: pert on Apr 28, 2019, 07:06 pm
Please do this:
Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: krasnejv on Apr 28, 2019, 08:00 pm
This is what appears under Hardware Ids:

usb\vid_2a03&pid_0043
Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: krasnejv on Apr 28, 2019, 09:46 pm
I've done a search in the forum on "usb\vid_2a03&pid_0043" and found this thread from 4 years ago.

https://forum.arduino.cc/index.php?topic=306628.0 (https://forum.arduino.cc/index.php?topic=306628.0)

This seems to inply that there could be a HW issue (Arduino.cc vs Arduino.org). Could it be possible that this is rearing its ugly head again?
Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: krasnejv on Apr 29, 2019, 01:55 am
I found this review on Amazon for the exact same kit that I bought:

Quote
2.0 out of 5 starsWould not recommend.
April 15, 2019
Color: English Projects BookVerified Purchase
I could not program the included ATmega16u2 IC because the bootloader was never installed onto the chip, making the device basically DOA. I had to purchase another Arduino UNO directly from the Arduino website (one that was correctly pre-programmed) and use that second UNO to program the bootloader onto the first just to make it usable.

Don't waste your time buying this product from Amazon resellers and take it from me: buy yours directly from Arduino.cc

The only reason this product did not receive one star is because the rest of the components and instructional booklet arrived in this kit as advertised. Still, the main feature of this product (the Arduino UNO) did not work out of the box as expected and was overall a massive disappointment.
So it seems the problem is hardware related after all. I guess I should have read the reviews before I bought the kit.   :(

Does anyone know how to make this work?
Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: pert on Apr 29, 2019, 02:29 am
That's interesting you got an Uno with the arduino.org VID/PID. arduino.org and arduino.cc merged back together after some legal scuffling so I'd guess Arduino still has the rights to use the arduino.org VID, but I wouldn't expect them to actually use it, since they can use the original VID (2341). Perhaps there is still some old stock from years ago still on the market. The arduino.org VID/PID should definitely be supported though.

My Uno has a different VID/PID than yours, which might explain why I couldn't reproduce the issue. I'll try to change the firmware on my Uno's ATmega16U2 to use the same VID/PID as yours later today and see if I can then reproduce the issue.
Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: ballscrewbob on Apr 29, 2019, 04:50 am
@krasnejv

Please post a pic of your board near the USB connector and another of each side of the board.
If its what I think (CH340/CP2102) then hopefully we can get your board up.

Bob

Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: pert on Apr 29, 2019, 04:59 am
If its what I think (CH340/CP2102)
CH340's VID/PID is 1A86/7523 The CP210X have a bunch of PIDs, but all of their VIDs are 10C4.

2a03/0043 is a legitimate VID/PID for the official UNO with the ATmega16U2. It's listed right in the Arduino AVR Boards boards.txt file:
https://github.com/arduino/ArduinoCore-avr/blob/1.6.23/boards.txt#L55-L56 (https://github.com/arduino/ArduinoCore-avr/blob/1.6.23/boards.txt#L55-L56)
Code: [Select]
uno.vid.2=0x2A03
uno.pid.2=0x0043
Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: ballscrewbob on Apr 29, 2019, 05:01 am
CH340's VID/PID is 1A86/7523 The CP210X have a bunch of PIDs, but all of their VIDs are 10C4.

2a03/0043 is a legitimate VID/PID for the official UNO with the ATmega16U2. It's listed right in the Arduino AVR Boards boards.txt file:
https://github.com/arduino/ArduinoCore-avr/blob/1.6.23/boards.txt#L55-L56 (https://github.com/arduino/ArduinoCore-avr/blob/1.6.23/boards.txt#L55-L56)
Code: [Select]
uno.vid.2=0x2A03
uno.pid.2=0x0043

Wasnt it also the FTDIGATE things ?
Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: pert on Apr 29, 2019, 05:04 am
FTDIgate was about a Windows driver update released by FTDI changing the VID/PID of counterfeit FT232 from 0403/6001 to 0403/0000. This "bricked" them because the new VID/PID was not supported by the FTDI driver.
Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: krasnejv on Apr 29, 2019, 04:40 pm
Bob,

First 2 pics. I hope these are good enough for what you need.

John
Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: ballscrewbob on Apr 29, 2019, 04:42 pm
They were and indicate a proper Arduino so that agrees with Pert and throws my hope of resolving it out of the window   :o

Bob.
Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: krasnejv on Apr 29, 2019, 07:58 pm
Bob,

So are you saying that there's no fix for this? Should I contact Arduino support and inform them of the problem?

John
Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: pert on Apr 30, 2019, 05:37 am
I just replaced the firmware on my Uno's ATmega16U2 to make it have the same VID/PID of 2a03/0043 and still I can't reproduce the issue.

You are welcome to contact Arduino support if you like:
http://store.arduino.cc/store-support (http://store.arduino.cc/store-support)
Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: krasnejv on Apr 30, 2019, 04:42 pm
OK, well now its up in the air again weather its hardware or software. Geeez this thing is so frustrating. I have ordered another Arduino Uno board. Will have to see what the VID/PID of that one is and if it will work. Thanks.
Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: krasnejv on Apr 30, 2019, 08:35 pm
THE BOARD IS BAD!!!!

I got another board and as soon as I plugged it in, it started working. It shows as COM 3 and the Hardware ID shows as:

USB\VID_2341&PID_0043&REV_001
USB\VID_2341&PID_0043

I have DL'ed a sketch and its working fine.

If anyone wants me to do something with the board to try to see what's wrong let me know, else its going to be returned.

Thanks to all for your support.

John
Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: kprims on May 01, 2019, 12:55 am
Just wanted to say that I was able to reproduce the error using Win 10 and having the Uno in DFU mode which then wanted drivers for the Atmega16u2 chip.

I am guessing your board probably doesn't have the usb firmware loaded.

It is too bad you have run into this problem so early in your journey and it will be much easier to just return the board.

But, if you want some more fun, I would try one of the examples I will point you to.

 I have used this one a few times and I like it because it uploads both the DFU program and the USB-firmware at the same time. You would have to turn your other Arduino into an "Arduino as ISP" or get a ISP programmer like a USBasp.
 
https://www.instructables.com/id/How-to-Restore-the-Arduino-UNO-R3-ATmega16U2-Firmw/ (https://www.instructables.com/id/How-to-Restore-the-Arduino-UNO-R3-ATmega16U2-Firmw/)

If your Arduino has the DFU program loaded, and I think yours does, it would also be doable using Flip.

I just used this today and it worked great for uploading the USB-firmware. You don't have to solder anything on the newer Arduinos.

https://nemochronicles.wordpress.com/2014/10/14/reset-the-atmega8u2-atmega16u2-of-your-dead-arduino-mega-uno/ (https://nemochronicles.wordpress.com/2014/10/14/reset-the-atmega8u2-atmega16u2-of-your-dead-arduino-mega-uno/)
Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: pert on May 01, 2019, 01:10 am
Doesn't the Uno have a different VID/PID than 2A03/0043 when it's in DFU mode? On my Uno with the .org firmware (https://github.com/arduino-org/Arduino/blob/master/hardware/arduino/avr/firmwares/atmegaxxu2/Arduino-srl-combined_UNO.hex) installed on the ATmega16U2, the VID/PID when in DFU mode is 03EB/2FEF. krasnejv reported  (http://forum.arduino.cc/index.php?topic=612373.msg4154002#msg4154002)their VID/PID was detected as 2A03/0043. No word from ingineer_74.
Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: kprims on May 01, 2019, 01:26 am
 I agree, the VID/PID 2A03/0043 changes when you go to the DFU mode and I also loaded the .org firmware. At the first of the thread they were both trying to get drivers for the Atmega16u2 and the only time you should even see the 16u2 is when you are in DFU mode as far as I know.

Anyway, this has been driving me crazy as I have followed the thread and I tried to come up with something else to check.
Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: krasnejv on May 01, 2019, 01:32 am
Hello kprims and thanks for the suggestions. I mean what's the worst that I can do--break a broken board?

I would like to try the procedure using FLIP first, however the link that he gives for the FLIP app is not valid. When I click on http://www.atmel.com/tools/FLIP.aspx it takes me to https://www.microchip.com/.
I've tried searching the web and can't seem to find it. Can someone point me to FLIP?

The procedure from instructables uses point to point wiring and I don't have the female to female wires to make those connections.

So if I can find the FLIP app, I could try that. If someone could point to where I could get it I would appreciate it. Thanks.

John
Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: pert on May 01, 2019, 01:40 am
the link that he gives for the FLIP app is not valid. When I click on http://www.atmel.com/tools/FLIP.aspx it takes me to https://www.microchip.com/.
Here it is:
https://www.microchip.com/developmenttools/ProductDetails/flip (https://www.microchip.com/developmenttools/ProductDetails/flip)
Microchip broke all the old URLs after they bought Atmel.


The procedure from instructables uses point to point wiring and I don't have the female to female wires to make those connections.
You can use male to female wires as well. You just need to make the right connections to the female headers on your Uno. There is a table on this page that shows the Arduino pins that correspond to each of the pins on the 2x3 ICSP header under the "Connections" section of this page:
https://www.arduino.cc/en/Reference/SPI (https://www.arduino.cc/en/Reference/SPI)

I very much recommend buying a selection of the male to male, male to female, and female to female jumper wires. They come in very handy for playing with Arduino.
Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: ingineer_74 on May 01, 2019, 01:43 am
Hi all:
ingineer_74 here...

I haven't been on this thread since Friday evening...looks like there has been a lot of activity/progress since then. 

I was also able to get my board to sort of work and open up the COM port and get Windows to "see" the Arduino board.  However, when I get into the IDE and try to upload the Blink Sketch, it hangs and attempts to load the Sketch 10 times with no success.  (see attached verbose text file that was saved and Device Manager and Hardware IDs)

Any ideas?  I think my board has been damaged...what is interesting is the Green and L Yellow/Amber LED stay lit when plugging in the USB cable and also when I hit the Reset button.

I'll look at some of the previous posts here to see if there may be something there that may help with my issue.
Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: krasnejv on May 01, 2019, 01:51 am
Hi pert.
Quote
I very much recommend buying a selection of the male to male, male to female, and female to female jumper wires. They come in very handy for playing with Arduino.
Thanks. I only have the bare-wire-end male to male that came with the kit. I'll have to get some of the others.

John
Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: pert on May 01, 2019, 02:07 am
I haven't been on this thread since Friday evening...looks like there has been a lot of activity/progress since then.
Well, I don't know that you can call it progress, but activity for sure.


ingineer_74's Hardware_IDs.PNG:

(http://forum.arduino.cc/index.php?action=dlattach;topic=612373.0;attach=306277)

So your board does not have the arduino.org VID/PID like krasnejv's board. In addition to my test with installing the drivers after installing the .org firmware on my Uno's ATmega16U2, that makes me think the .org VID/PID has nothing to do with the "A service installation section in this INF is invalid." error you both encountered.

ingineer_74's upload error:
Code: [Select]
Arduino: 1.8.9 (Windows 10), Board: "Arduino/Genuino Uno"

...

C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -carduino -PCOM6 -b115200 -D -Uflash:w:C:\Users\tjend\AppData\Local\Temp\arduino_build_428674/Blink.ino.hex:i

avrdude: Version 6.3-20171130
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"

         Using Port                    : COM6
         Using Programmer              : arduino
         Overriding Baud Rate          : 115200
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x7f
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x7f
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x7f
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x7f
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x7f
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x7f
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x7f
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x7f
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x7f
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x7f

avrdude done.  Thank you.

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


ingineer_74's Windows_Device_Manager_Info.PNG:

(http://forum.arduino.cc/index.php?action=dlattach;topic=612373.0;attach=306275)

So you do have the correct board and COM port selected (potential causes of this error).

Do you have any shield or wiring connected to your board? If so, disconnect it and try uploading to just the Uno alone.

If your Uno doesn't have one of those nifty plastic bases, make sure it's not sitting on any conductive object that could short out the contacts on the bottom of the board.

the Green and L Yellow/Amber LED stay lit when plugging in the USB cable and also when I hit the Reset button.
Does the LED marked "L" blink after you do that?
Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: ingineer_74 on May 01, 2019, 03:47 am
Hi Pert...yes agreed a lot of activity for sure.

Anyway, I'm not using anything connected to the board such as shields or any wiring...just the board as stand-alone as pulled right out of the starter kit box.  I place it directly on top of its little box to ensure it's not sitting on anything conductive.

As for the L LED, it never blinks when hitting the Reset button(or plugging in usb cable).  Stays solid yellow.
Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: krasnejv on May 01, 2019, 05:08 pm
Hi pert,

OK, I FLIPed the bad board and now it is COM4 with a hardware ID of:

USB\VID_2341&PID_0043&REV_001
USB\VID_2341&PID_0043

However, when I try to load the Blink example sketch, it never finishes the upload and gives the results in the attached text file. So I guess I'm at the same place that ingineer_74 is. The board is stand-alone on the plastic mount. Could it be that the microprocessor needs to be flashed also?

John
Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: kprims on May 01, 2019, 05:30 pm
Quote
Could it be that the microprocessor needs to be flashed also?
The L LED should blink rapidly after releasing the Reset button. If it doesn't, you probably need to re-burn the boot-loader for the m328p chip.

It sucks to get your first gear this screwed up. I have mostly Chinese Clones, but have never received anything that didn't have the right firmware.

Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: krasnejv on May 01, 2019, 05:51 pm
The LED stays on all the time. How do you re-burn the boot-loader for the m328p chip?
Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: kprims on May 01, 2019, 06:17 pm
This one requires another Arduino set up as "Arduino as ISP"

https://www.arduino.cc/en/tutorial/arduinoISP (https://www.arduino.cc/en/tutorial/arduinoISP)

When I started out, this one helped me to get going. I still use the cable set up for "Arduino as ISP".

http://www.gammon.com.au/forum/?id=11635 (http://www.gammon.com.au/forum/?id=11635)


Now days I usually use a USBasp with Alpha firmware for burning bootloaders.

https://forum.arduino.cc/index.php?topic=363772.0 (https://forum.arduino.cc/index.php?topic=363772.0)

There are also several U-tube videos out there.

Help will be available if you run into problems.
Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: krasnejv on May 01, 2019, 06:28 pm
kprims,

Thanks for the information. I'm sorry that I put you through the extra work. I realized after I posted that I should have looked it up myself (Google it, dummy!!!). Anyway, thanks again for the links.

John
Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: kprims on May 01, 2019, 06:41 pm
No problem. There is a lot of outdated information out there and for the most part, these sections worked for me.
Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: krasnejv on May 01, 2019, 09:39 pm
I tried installing the bootloader with no success. I carefully checked the wiring as given in the Arduino Web page. I was able to load the ISP sketch to the programmer board, but when I burn bootloader it stops with an error.

One thing--the chip on my good board is an ATmega328P-PU and the chip on the target board is an ATmega328P  U. I see from another source on YouTube https://www.youtube.com/watch?v=OA0lt6n_dmI (https://www.youtube.com/watch?v=OA0lt6n_dmI) that there is a file called avrdude.conf where a HEX number might need to be changed. If I am reading his table correctly, a "0x0F" needs to be changed to "0x14" in the file. I tried changing that value, but then the Arduino as ISP sketch gave an error while uploading.

I don't know what to do next.
Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: kprims on May 01, 2019, 09:54 pm
It would help to see the error.

I should mention the Arduino as ISP now requires a 10uF capacitor between Reset and Gnd, the stripe toward Gnd.

You should get to the point where you are told the chip signature is wrong
Code: [Select]
avrdude: Device signature = 0x1e950f (probably m328p)
avrdude: Expected signature for ATmega328 is 1E 95 14
         Double check chip,


You are going to have a great Arduino background before you ever run one of your own sketches. :-)
Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: krasnejv on May 01, 2019, 11:59 pm
I tried again. This time I was able to upload ArduinoISP and burn bootloader without any errors.

However, when I disconnect everything and try to upload Blink, I get an error as shown in the attached text file. The Uno is recognized and is COM4.

The guy in the Youtube video says that you don't need the 10uF cap after Arduino 1.0.5. I hope that's true, because I don't have a 10uF cap.
Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: kprims on May 02, 2019, 01:25 am
The L LED should blink rapidly after releasing the Reset button. If it doesn't, you probably need to re-burn the boot-loader for the m328p chip.

If you got the bootloader burned, the L Led should be working correctly.

Most Arduinos need the 10uF capacitor again. Seems what goes around comes around. They changed to using -c arduino a couple of IDE issues ago and this resets the "Arduino as ISP" if we are missing the capacitor.

Title: Re: Arduino Driver Install "A service installation section in this INF is invalid."
Post by: krasnejv on May 02, 2019, 02:32 am
I tried the bootloader 4 times and it still doesn't work. I'll try to locate the capacitor, but it may take some time.