Quote:When VStudio starts I get the message:
VisualMicro Failed to create UI command items.
The parameter incorrect (exception from HRESULT :0x80070057(E_INVALIDARG))
This sounds like a custom library is causing a problem that Visual Micro should ignore or handle better. You might find that some libraries are missing from the "project>add/import sketch library>user" menu.
Please switch on "tools>options>visual micro>user interface>trace" and then re-start the ide. please email the trace output that appears after the ide re-starts. We might have to make a new beta and extend the trace messages if they do not clearly show the problem. This can be done quickly.
+ Please confirm that you see the list of boards in the tool bar?
Quote:C:\Program Files\Atmel\Atmel Studio 6.1\atbackend\atprogram -d atmega328p -v -t avrispmk2 -i ISP program -c -f "C:\Users\Jim\AppData\Local\VMicro\Arduino\Builds\Blink\uno\Blink.hex"
Could not find tool.
Upload failed. Did you select the correct upload method for this board?
Error during upload using programmer
[DEBUG] Starting execution of "program"
[DEBUG] Starting process 'C:\Program Files\Atmel\Atmel Studio 6.1\atbackend\atbackend.exe'
[DEBUG] Connecting to TCP:127.0.0.1:49748
[INFO] Could not find tool. Retrying...
[INFO] Could not find tool. Retrying...
[INFO] Could not find tool. Retrying...
[INFO] Could not find tool. Retrying...
[INFO] Could not find tool. Retrying...
I have tried re-installing jungo and even going back to the earlier USB drivers but I cannot connect to anything anymore, not even the UNO directly through the USB.
I think this is a usb issue or Atmel Studio problem because we can see that Visual Micro has invoked the Atmel version of the programmer and that it then failed with an error communicating with another bit of Atmel software.
C:\Program Files\Atmel\Atmel Studio 6.1\atbackend\atprogram -d atmega328p -v -t avrispmk2 -i ISP program -c -f "C:\Users\Jim\AppData\Local\VMicro\Arduino\Builds\Blink\uno\Blink.hex"
I am sorry to not have a solution at hand. Maybe you can post this single issue on the atmel support site? Q: What would cause this message "[INFO] Could not find tool. Retrying..."
Quote:In Tools - Programmers I have tried both the versions of avrisp.
I have tried ctrl shift p and set the avrisp but when I hit apply nothing happens for a while and then I get the message:An ongoing operation is taking longer than expected Details tool-> connect
And when I close it I get this message:
Severity: ERROR
ComponentId: 20100
StatusCode: 1
ModuleName: TCF (TCF command: Tool:connect failed.)
You would expect to see errors like this for a usb device that does not have the correct driver. If you were trying to use the Arduino version of avrisp mkII then you would see this error and it would be correct. As you know it is either atmel drivers or arduino drivers so one tool will always produce an error.
We do not use the ctrl+shift+p or the standard atmel screens for upload. You simply selected the programmer from tools>visual micro>programmers and then click "upload using programmer". Then hit F5 to upload using the selected programmer as you have done in your first example above.
Quote:not even the UNO directly through the USB
You should still see the Uno in the Serial ports list? If not then something out of the ordinary has happened to your pc. The Atmel jungo drivers do not affect the standard Arduino usb/uno drivers.
After you have uploaded to an Arduino using a programmer you will no longer be able to upload using usb unless you burn a new bootloader. This is how Arduino works and is not within the control of Visual Micro.
However if programmer upload has failed ALWAYS, then I do not understand how your Arduino Uno would not allow usb upload. Did you upload using avrisp programmer before switching to the Atmel Jungo drivers, then this would explain why this happens?
If your Uno is no longer listed as a COM port then I would suggest re-starting your pc.
Hope to hear more.