Port keeps changing

When I compile/verify my sketch I normally get a port "switch". The verbose is like this

Upload started
Programming with: Serial
Restarting in bootloader mode
Flashing with command:C:/Users/username/.arduino-create/arduino/bossac/1.7.0-arduino3/bossac.exe -i -d --port=COM7 -U true -i -e -w -v C:/Users/username/AppData/Local/Temp/arduino-create-agent729615173/sketch_Activity_09_apr05a.bin -R

....... (Deleted verbose here)

Verify successful
done in 0.160 seconds
CPU reset.
readWord(addr=0)=0x20007ffc
readWord(addr=0xe000ed00)=0x410cc601
readWord(addr=0x41002018)=0x10010305
writeWord(addr=0xe000ed0c,value=0x5fa0004)
sketch_Activity_09_apr05a uploaded successfully on board Arduino MKR WiFi 1010 (COM9)

So, it starts at port=COM7 and ends at port=COM9. Why is that??
Thanks. AA

Perfectly normal and explained in a few posts for the MKR family.

https://forum.arduino.cc/search?q=mkr%20changes%20port

Explained?? Really??

Hmm it appears that something killed some of the specific "how to's"
They were at the top of almost every section !

Hope that helps.

Thanks. Switching ports is not great concern, but I'm having the board resetting itself periodically. This is what puzzles me, and am wondering if both are related??

There have been different reports and different answers for seemingly random changes.
Most common culprit has usually been power saving facilities offered by computers.

Other include conflicting usage of the com ports from different software.
Anti Virus or similar but more so where an IDE is concerned and during uploads.
Bad / Intermittent USB cables.

Suggest a search using the forums own search so you can get an idea of the different fixes and see if they apply.

1 Like

Great. Thanks a million!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.