I need help with programming my Arduino GIGA R1 WiFi. For some reason, I have somewhat lost access to programming it. When I mean programming the board, is uploading compiled code successfully.
Basically, I was first able to program it through USB with Arduino IDE. Because I am more familiar with it, I then wanted to use STM32CubeIDE since the GIGA is based on STM32CubeIDE. I was able to run the debugger with a barebone code on it without issues using an ST-LINKV2 plugged in the JTAG ports.
However after that (what could have gone wrong here?), I have been unable to program it neither with Arduino IDE nor STM32CubeIDE.
In Arduino IDE, the board is not detected when pluggin in the USB, and indeed Device Manager reveals that no COM device is there.
In STM32CubeIDE, while the ST-LINKV2 is detected, trying to upload code will show "No device found on target."
All my softwares are up to date, the bootloader flashed is also the latest one. I am able to flash another arduino (UNO), and another STM32-based board as well.
If someone has ideas of what I could try, it would save my day !
I assume you probably have already done the basic reset of the board.
That is: double click the reset button, does it show LED in the bootloader mode?
Does it show up now as a comm port?
In IDE load something real simple like basic blink. And try to upload that. if it does not work, try again and set the comm port to the port showing up...
When powering the Arduino on, the pwr led will shine, but double clicking the reset button not do anything. Perhaps have I missed something in this process ?
As I have explained, the Arduino is not seen in Device Manager, no COM port thus, and therefore it does not show up in Arduino IDE.
The only occurence I have it appearing is when booting it in DFU mode (boot & reset & boot release), it shows as DFU in FS mode. I have tried flashing the bootloader again, but still no progress.
unless I have a specific requirement I try to avoid these fairly expensive development boards instead using boards such as the ESP32 NodeMCU which costs about £7 in UK (I tend to purchase five at a time)
if damaged just throw in bin!
If the board is in DFU mode, it will appear as a USB device. Read the docs to learn how to get out of DFU mode.
BTW, I have NEVER re-flashed a board, don't know how, or why (for normal operations), that is highly dangerous to the health of the board and is never needed except for very special cases. Who is advising this nonsense?
you were attempting to connect a MCP2515 Can module to the GIGA
the MCP2515 VCC requires a 5volt supply
did you connect the MCP2515 to the GIGA and supply 5volts?
the GIGA STM32 uses 3.3V logic therefore the 5V logic of the MCP2515 may well have damaged it