Products > Test Equipment
open source GPIB adapter
Venturi962:
Can you try programming the extended fuse as well? May have misspoke when I said it wasn't needed.
avrdude -c jtag2isp -p m32u4 -e Uefuse:w:0xcb:m
Once you have Flash.bin on the device a power cycle via USB shouldn't show a Drive anymore, but the LED should start flashing to let you know it flashed.
PioB:
Thank you very much! Another step closer.
ok, the process so far:
avrdude -c jtag2isp -p m32u4 -e -Uefuse:w:0xcb:m
avrdude -c jtag2isp -p m32u4 -e -Uhfuse:w:0xd8:m -Ulfuse:w:0xff:m
avrdude -c jtag2isp -p m32u4 -U flash:w:BootLoader.hex
-> yields
avrdude: safemode: Fuses OK (E:CB, H:D8, L:FF)
unplug, replug
cp TestAndMeasurement.bin /run/media/baettig/GPIBUSBBOOT/FLASH.BIN
verify with md5sum, umount, unplug
replug it into the usb port
Hmm and it still is recognized as a LUFA drive.
Bus 003 Device 027: ID 03eb:2045 Atmel Corp. LUFA Mass Storage Demo Application
unplug, plug into the E3633A and still LUFA
If I understand correctly, the fuses should now all be correct. (Windows also sees it as a storage device, connected to the power supply)
Venturi962:
Can you try copying the TestAndMeasurement.bin on a Windows Machine instead of Linux? I did this on Windows (power cycling and not unmounting / ejecting) and I wonder if the unmount on Linux is causing problems.
PioB:
Hi Venturi962
Thank you very much for helping me, it's now being recognized under Windows as UsbGpib in the device manager if the power supply is connected. Linux now announces
Bus 001 Device 004: ID 03eb:2065 Atmel Corp. LUFA Test and Measurement Demo Application
So tomorrow I'll try and get pyvisa working and finding the instrument on the gpib bus.
I'll report back once *IDN? returns something :D
Thank you very much!
PioB:
Another step further... under linux I installed pyvisa, linux-gpib, pyvisa-py. Now I am trying to get to the instrument but:
--- Code: ---python
Python 3.10.2 (main, Jan 17 2022, 00:00:00) [GCC 11.2.1 20211203 (Red Hat 11.2.1-7)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyvisa
>>> rm = pyvisa.ResourceManager()
>>> print(rm.list_resources())
()
>>> pyvisa.log_to_screen()
>>> print(rm.list_resources())
2022-02-25 18:14:39,047 - pyvisa - WARNING - Found a device whose serial number cannot be read. The partial VISA resource name is: USB0::1003::8293::???::0::INSTR
()
--- End code ---
(and other errors, /dev/usbtmc0 is in no group, just root has rw permissions, at the moment I have to chmod 666 every time I reboot/unplug it to access the usb-gpib adapter as a regular user)
Under windows, I haven't installed any VISA so far, is there something smaller than the (multi)GB Keysight or NI Visa?
but apparently the USB-GPIB can see the power supply:
Step by step..
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version