Page 1 of 1

Reading sw version loaded on Arduino

Posted: Wed Nov 12, 2025 7:49 am
by kramtlas
Hi,
Is it possible to read back the sw version loaded onto an arduino?
I have an arduino that I coded some time ago to control a window circuit but, since then there have been several iterations
of this code i.e. WindowControl_1.fcfx, WndowControl_2.fcfx etc. and I would like to find out what is currently loaded if possible.
Regards

Re: Reading sw version loaded on Arduino

Posted: Wed Nov 12, 2025 8:27 am
by mnfisher
Assuming you didn't set the lock bits - you can read the contents of flash using avrdude.

Code: Select all

avrdude -p atmega328p -c arduino -P <Your_Port> -b 115200 -U flash:r:arduino_flash_dump.hex:i
  
Then look through the hex looking for your version string .. "v1.2345 11/23" of you are lucky...

Martin

Re: Reading sw version loaded on Arduino

Posted: Thu Nov 13, 2025 10:43 am
by BenR
Hello,

There's a component available under Storage called Auto Version ID which gives you the build number and the date/time of your build.

You would still have to display this information or output it on a UART etc but it provides a nice easy way to manage firmware versions.