hi guys,
this morning I went to connect my arduino to my PC (Mac, upgraded to macOS 14.0) and the board is not recognised!
the program inside the board works without any problems but the programmer can't see it connected.
i tried going into the system report and it just doesn't detect the usb device.
I have tried 3 different cables (which have always worked before) but nothing.
I tried putting the card in DFU by pressing RESET twice and the green BOOT0 led starts flashing but nothing.
then i tried to hold down the BOOT0 button but it broke under my fingers but i can still press!!!!
anyway holding down the BOOT0 button and pressing the text RESET the board does nothing special.
i think it's defective maybe?
does anyone know how to fix it?
Uploading: IMG_8581.JPG…
Hi @nocentini
Did you check the macOS "System Report" after you did that? Some sketches will cause the GIGA R1 to no longer produce a port, either as an expected behavior (e.g., putting the microcontroller to sleep) or an unintended bug (e.g., a divide by zero crashing the processor). However, the board should once again produce a port after you put it into the boot mode where the green LED pulses by doing a double press of the "RST" button. This system makes it easy to restore the board to a state where we can upload another sketch even when the currently loaded sketch program would otherwise make that impossible.
Just to be clear, I'll describe the complete procedure:
- Click the Apple logo on the left side of the menu bar at the top of the screen ("Apple menu").
- Select "System Settings..." from the menu.
- A "System Settings" window will open. Click "General" in the menu on the left side of the window.
ⓘ You may need to scroll the menu down to see "General". - Click "About" on the panel at the right side of the "System Settings" window.
- The "About" panel will open. Click the "System Report..." button at the bottom of the panel.
- The "System Information" window will now open. Select Hardware > USB from the tree on the left side of the window.
- Take note of the contents of the "USB Device Tree" panel of the "System Information" window.
- Connect the GIGA R1 board to your computer with a USB cable.
- Press and release the "RST" button on the GIGA R1 board twice quickly
The green LED next to the button marked "BOOT0" should start pulsing. - Select File > Refresh Information from the menu bar.
- Take note of the contents of the "USB Device Tree" panel of the "System Information" window.
Do you see any new device appear in the "USB Device Tree" panel of the "System Information" window after doing the last step?
no, no change.
i also tried using another pc with other cables but nothing
Hi @nocentini
Do you have a spare board and display to try? I had this exact problem with a GigaR1 with Giga Display and found it was actually a problem with my program that I had loaded on the board. I discovered this by loading a super-simple program onto the board - blink - and then everything was OK. I'm on a MacBookPro and I'm using OS version 14.1.1
cheers, Giles
the programme has always worked and until yesterday everything worked correctly.
just the PC no longer detects the Arduino
oh... have you checked that the lvgl library included with Arduino 15 App has not auto-updated itself and overwritten your lvgl settings file in the user library? That happened to me and it was a bit of a pain.
I am sure the library has been updated, but I don't think they are related.
just if I go into the system settings it doesn't detect Arduino
edit:
yes, I confirm.
the file has been rewritten, it does not compile an old code in which I had changed the font
Yes, it's a bit annoying when it does that isn't it - on the plus side you get pretty good at remembering all the changes you need to make to it.
yes, no problem on that. but the fact remains that I can't use Arduino because it doesn't connect to the PC.
I can configure the LVGL library as I like, without being able to test it though
I was thinking about your issue last night and thought: Can you try a different (ideally new) board in order to eliminate the possibility of a hardware fault on the board? If that doesn't work then it 99% has to be a software configuration fault on the Mac. Getting to the bottom of that can be quite a pain. I recently reformatted the HDD and reinstalled everything from scratch due to a very similar issue to the one you're facing. In my case however it turned out to be a fault with my sketch that was crashing the board on startup.
i tried with arduino mkr1010 and everything works perfectly.
putting Arduino GIGA in DFU and going to erase the memory / overwrite the BOOTLOADER in case that was the problem should fix it.
but to do all this the pc has to communicate with the board, but this is impossible
Have you disconnected all other hardware so it's just the bare board?
yesss
hmmm - sounds a bit like it might be physical damage to your board...
Hello @nocentini!
We have some information on burning the bootloader on the GIGA (some of these have been covered by my colleague) and these are currently the processes we recommend if the board is not detected and all other means of establishing connection prove to fail. You did mention initially that the BOOT0 button has become loose, as this is part of the process it might be worth noting that contact might be falling when pressing this as understandably it is a less reliable connection when there is no solder bond. To this effect, if you believe this damage occurred during normal operation feel free to please contact us directly so we can evaluate a possible solution!
I was able to contact you, I am chatting with support to solve...
for everyone's information the procedure didn't work.
I run into similar problems. It was just blinking red light. Try to boot board in Boot loader mode (PRESS BOOT and RESET, or PRESS BOOT and insert USB cable).
Upload empty sketch using option "Upload using programmer", after this upload Arduino should shown again as USB device.