Go Down

Topic: Arduino Driver Install "A service installation section in this INF is invalid." (Read 2061 times) previous topic - next topic

ingineer_74

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.

krasnejv

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

pert

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:



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:



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?

ingineer_74

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.

krasnejv

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

kprims

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.


krasnejv

The LED stays on all the time. How do you re-burn the boot-loader for the m328p chip?

kprims

This one requires another Arduino set up as "Arduino as ISP"

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


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

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.

krasnejv

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

kprims

No problem. There is a lot of outdated information out there and for the most part, these sections worked for me.

krasnejv

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

kprims

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. :-)

krasnejv

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.

kprims

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.


krasnejv

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.

Go Up