Im a little rusty, have not done a project in about a year, anyways using arduino ide, I have 2 l2c devices, each with their own addresses that Ill need it for (these both have worked for me in the past) however neither work now so I tested a simple serial monitor sketch. Nothing, It uploaded fine, I even tried some sound examples on the web programmer, sound works fine. Seen a separate thread where they updated the drivers using zadig. I did that for it in bootloader mode, shows “dfu in f5 mode”. However, it wont show in normal mode, device manager will not show it either, Ive tried different ports, different cables, tried reverting back to stm32 drivers. Still no serial monitor readings. I dont see an extra port in ide, however I seen someone said as long as its set to the board it will upload, which seems correct, however it seems halfway to work, I can get audio to work this way but nothing else. Did something drastically change within a year? I dont remember it being this tedious…also heres the code I was using
Went on my laptop instead to see if it would change, it did, still shows dfu in f5 while in bootloader, when in normal though, it shows as daisy bootloader in the unspecified category in device manager. I have since updated with zadig to usb serial cdc as it initially said it had no drivers. That STILL did not work, is this board just faulty or something? Am I overlooking something?
The code that you shared is giving me an error on my end unfortunately.
Could you try flashing the AnalogReadSerial.ino example code that comes with the IDE?
One thing that I have been noticing about the Arduino IDE is that it sometimes changes the setting upon reopening. Just now, the “USB support (if available)” was set to “None”. Setting that back to “CDC (generic ‘Serial’ supersede U(S)ART)” and flashing that example code once more made the “usb modem…” appear again in “Port”.
using the analogreadserial example unfortunately still didnt have serial monitor output. Just to triple check I also tested my cord and port with an adafruit playground I had lying around and it gave serial output on that so that rules out the cable and port entirely.
Ok, now Im really perplexed lol. So device manager reads the normal (not in boot mode) in com5, if I select the generic stm32h7 board, it says there is no connection in that port, but if I switch the board type to a 3d printer board, it then reads the serial, changes all the settings so I then cant upload to it…I have no idea what to do, I am thoroughly confused haha.
I can change it back to generic stm32h7 however says it cant connect, my com1 is the communication port so it accepts stm32h7 option, it will upload on that com but not read serial, only 3d printer (default custom board or something?) port which is com 5 will read serial. sometimes it will even say unknow between one of them so I am having to constantly switch it to either stm32h7 for com 1 or 3d printer boards for com 5. Not really sure why it is doing this lol