I just want to upload code to my leonardo arduino, I cant download the app because its a school computer, please help.
Welcome to the forum
Does a new COM port get created on the PC when you plug in the Leonardo ?
Which COM port have you got selected in the IDE
Does the computer make a sound when you plug the Arduino to it? If not, you might have a charging only cable.
It doesn't, but it worked using the same cord on a different computer.d
From your screenshot, I believe we're looking at a ChromeBook. It's possible on a school-issued machine that it has been configured such that you don't have sufficient user permission to access the port, although I don't know why they'd do that.
Is the computer that works nominally identical or is it something else?
Of course there's also the possibility that someone has fried the USB port on this machine.
my computer is a school chromebook, it doesn't work that well, and I think the USB port is ok because I can still charge and access USB drives from it.
I'm not particularly knowledgeable about low level debugging on a Chromebook, but I've seen suggestions to look at "chrome://system" via the browser.
On a Linux system (ChromeOS is a Linux kernel with other stuff on top) device message logging is accessible via "dmesg | more" and one would expect to see a few lines at the end change when a USB device is plugged in and registers. This would include something to the effect of "/dev/ttyUSB0" if the device is successfully registered. You'd probably also get the sound as suggested in post #4 if it's recognized. I'm not sure if one can see this on the chrosh, or if you will have permission to get to chrosh at all.
You'd mentioned above that the cable and Arduino worked on another machine. Is that machine also a school issued chromebook or is it something else?
In my experience if it's a school Chromebook you're using they'll not let you transfer data via the usb port due to security reasons. The only use for an ardunio would just be to power it on. However in the screenshot you showed is says --select board or port-- did you plug in the arduino then click on that and choose the leonardo?
yes
I have access to crosh and "chrome://system", but I cant find the area where it says USB devices is plugged in and registered
Mr mark, do you think if I cleaned out the USB port it could fix it. also I found this while looking in "chrome://system".
If you can see that "chrome://system" log on your computer, then whenever there is a new event, it will be added to the bottom.
You said up thread that a USB memory stick works, so you could look at the log with the memory stick disconnected, plug the memory stick in, look (refresh?) at the log and see some new activity at the end of the log. This would verify that the USB port is electrically functional. You could try this with whatever other USB devices you might have at hand.
Repeat the exercise with your Arduino and a known good cable, both tested on another machine. If there's no activity, I'm not sure what to think if the Arduino board and the cable work elsewhere and the memory stick works on this machine's port. More likely you'll see some activity and hopefully it gives a clue about what's going on. For example if it registers successfully it's probably a permissions problem.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.

