Ok, done that.
Firmware HEX size exactly the same.
Device ID and com number changed, both LED is normally OFF, and one blink while i type into terminal. But no reply from it anyway.
Pins like A2, A0, D3 etc always high, is it supposed to be like that? No reaction on terminal on any of them. Always 1.
Made simple sketch that toggle all pins 1 and 0, works fine.
Flashed board back to arduino micro.
Now if i connect to board with putty while it in bootloader mode, terminal works fine, can see characters.
*
Ok, bought one more board. That new one somewhat working. I can get atleast some replies from my 34401. What wrong with previous one, no idea. Bad china fake?
putty
> *IDN?
> ++read
HEWLETT-PACKARD,34401A,0,5-1-1
gpibReadByte: timeout waiting for DAV to go LOW
Bytes read: 32
Timeout waiting for sender!
> MEAS:VOLT:AC?
> ++read
+1.47722700E-03
gpibReadByte: timeout waiting for DAV to go LOW
Bytes read: 17
Timeout waiting for sender!
Can see no difference with "Leonardo" or "Micro" board option in IDE, except that leonardo status LEDs always off and turn on when indicating typing and replies, and Micro is inverted - always on, and turn off.
**
Construction.
Connector is Connfly CENB-24M (DS1039 24ML0), Centronic-24
Case Connfly DPT-25C (DS1045-25 AP1L)
It almost perfect fit. Well, almost. Ok to begin with.
See pictures.