Arduino agent latest version
no files in the directory agent is looking for.....rpload
and problems in Arduino IDE not uploading even default sketchs
the board has jus been unpacked... and wen connecting there is a loop of RGB blinks alongside with the orange led
I dont know if there is a previous step to do but nothing seems to work, Libraries updated in Arduino IDE (mbed RP2040 ver 2.5.2)
I think i'm missing some previous requirement or driver but no clues and no idea where to look for information.
Many thanks in advance for any clues on this
Alex
Thanks In0
the path is there but empty directory:
....arduino-create\arduino\rp2040tools\1.0.2
this was my first thought to look there but really no idea why it is empty.
permission are ok so far, because directory has just been created...
I guess the installation of the RP2040 tools failed for some reason. I simulated the condition and found that Arduino Create Agent is able to recover from this situation on my system. So it's not the case of the installation being poisoned by this empty folder as I suspected at first.
Please try this:
If you have the C:\Users\areboredo\.arduino-create\arduino\rp2040tools\1.0.2 folder open in Windows Explorer or some other file browser, close it so that it won't interfere with Arduino Create Agent write access.
In your system tray (AKA "notification area" on Windows), click the Arduino logo.
Click "Open Debug Console". This should open the "Arduino Create Agent Debug Console" in your browser.
Uncheck the box next to "[x] Enable List Command" near the bottom right corner of the "Arduino Create Agent Debug Console" window..
Click the Clear Log button near the bottom right corner of the "Arduino Create Agent Debug Console" window.
Leaving the Arduino Create Agent Debug Console browser tab open, attempt to set up a new RP2040 Connect device via Arduino IoT Cloud, as you did before when it failed
Once the process fails, switch to the Arduino Create Agent Debug Console browser tab.
Click the Export Log button in the bottom right corner of the "Arduino Create Agent Debug Console" window.
Open the downloaded "agent-log.txt" file in a text editor.
Press Ctrl+A to select all the text.
Press Ctrl+C to copy the selected text to the clipboard.
Open a forum reply here by clicking the Reply button.
Click the </> icon on the post composer toolbar. This will add the forum's code block markup (```) to your reply to make sure the output is correctly formatted.
Press Ctrl+V. This will paste the output into the code block.
Move the cursor outside of the code tags before you add any additional text to your reply.
Click the Reply button to post the output.
Hopefully that debug output will provide some clues.
Hi Again In0
Thanks for your very detailed instructions
so here is what I get form de agent debug console:
I will check with another computer to see if the firewall or security directives or antivirus are preventing the file to be executed in background of the agent process..
I'll be back with the results
I've tested in another computer with another internet connection,
same board, same results.
the three led script is running by default when the board is first plugged to usb
in this condition the board fails to be programmed by the cloud method of adding a device.
if I press twice the reset I get a fast blinking of very dimmed orange led and the board is not even recognized by the cloud (arduino create agent) procedure.
I'm blocked at this point.
should I do the reset jumper thing again?
I have had the same issues on 3 boards on both Windows and a Mac. The Windows issues was the virus protection would think a file was malware and the error was unable to find a specific file. Not sure if I got it that specific file if it would work as on the mac I got a generic message of An error occurred while uploading the sketch. I give the board to a smarter friend and he experiences none of these issues on an older macbook.
I am stumped and other that some Linux script.... It sucks to want to learn how to code and cannot complete practically Step 1 of just running pre-existing code. Maybe it is the IDE? I can wait. Back to my raspberry pi projects in the meantime.
I have tried the setup of my nano rp2040 connect in three different computers three different networks and three different antivirus always running IDE as admin without any success i'm realy at a dead point with my brand new arduino
Always the same messages telling that "something went wrong" (as it wasn't obvious )
I've done the jumper thing a couple of times..
My board is doing the RGB blink when it is first plugged in then when uploading the sketch it stops with the message of Arduino agent and the board gets stucked with just the power led on.
Debugging output are as posted before so I have no clues
Any other idea?
I'll give just another chance in my son's computer....just in case
If some one has succeed with this board and has had some similar problems could please give me a lead to follow ?
I'm feeling pretty silly doing similar procedures and expecting different results
Thanks in advance for any help
Finally got the answer / cause of problem,
maybe somebody could find it useful.
Reason of failure is Antivirus as the files @ username.arduino-create\arduino\rp2040tools\1.0.2 are deleted by antivirus immediately after they've been unpacked!
I found it using IDE instead
as I found that the files installed by board manager @ username\AppData\Local\Arduino15\packages\arduino\tools\rp2040tools\1.0.2are deleted after installing the board... but just when they're called to be used first time.
the Antivirus installed is Webroot endpoint protection ( !@#&§) but I think I cant disable it as it is remote managed by IT admin of My enterprise, so I'll try from my home computer .
I don't know if there is a way to prevent the antivirus to have this file authorized to run
or maybe Arduino developers could make the necessary to have these .exe files not recognized as potential danger...