Products > Test Equipment

open source GPIB adapter

<< < (24/42) > >>

dazz1:

--- Quote from: caiser01 on November 17, 2023, 05:11:11 pm ---Okay, I combined the two original hex files from xyphro's repository with this command:


--- Code: ---srec_cat BootloaderMassStorage.hex -Intel TestAndMeasurement.hex -Intel -o UsbGpib-combined.hex -Intel
--- End code ---

Then I programmed that combined hex file to one of my five working adapter of xyphro's hardware design using this command:


--- Code: ---avrdude -c atmelice_isp -p m32u4 -e -Ulock:w:0x3F:m -Uefuse:w:0xcb:m -Uhfuse:w:0xd8:m -Ulfuse:w:0xff:m -U flash:w:UsbGpib-combined.hex
--- End code ---

So the hex file attached below when flashed to the hardware I have results in a working UsbGpib adapter.

--- End quote ---

OK so that is good progress.  It will make initial programming of the adapter a lot easier.  A very simple script/batch file will do it.  It could also be done with adding to the MAKE file.

I am still confident that both hex files can be programmed with the one avrdude call.   The hex files already include the right addresses to correctly place them in memory space.   I didn't set the fuses when I tried because they were already programmed.  Using just avrdude would avoid the need to install srec.  Just one less thing to go wrong.

I am still working to the hypothesis that I have a usb hardware fault, so any failure with my avrdude command is probably due to that fault.  I need to do fault finding.  I have only assembled one of five pcbs to ensure I haven't introduced any design errors.

alan.bain:
Thie attachment shows the ethernet to GPIB adaptor that I use (sitting ontop of the inevitable HP box). As you can probably see this one was hand soldered (!)  The central LQFP-144 is the STM32F439ZET6 and the SOICs to right the bus drivers. Voltage regulators on left and the ethernet PHY chip is on the underside.

caiser01:

--- Quote from: alan.bain on November 21, 2023, 10:53:38 am ---Thie attachment shows the ethernet to GPIB adaptor that I use (sitting ontop of the inevitable HP box). As you can probably see this one was hand soldered (!)  The central LQFP-144 is the STM32F439ZET6 and the SOICs to right the bus drivers. Voltage regulators on left and the ethernet PHY chip is on the underside.

--- End quote ---

Nice design! I'd be interested to see the source code if/when you want to share. Might be interesting to see about porting to a lower pin count version of the STM32F4 for easier assembly. Still this is very cool!

alan.bain:
Yes. An awful lot of those GPIO pins are unused :)  I think I ended up in the larger chips because of the ethernet requirement - but stock levels also played a factor (as in I needed something suitable that digikey or mouser actually had in stock when I was building the prototype).  The 500Mb flash version was fine - RAM is the main limiting factor.  I'll work out a way to share the source code / gerbers / kicad files - very happy to do that if it can help someone else.  It was a fun project but has also proved useful.

caiser01:

--- Quote from: alan.bain on November 21, 2023, 08:25:37 pm ---Yes. An awful lot of those GPIO pins are unused :)  I think I ended up in the larger chips because of the ethernet requirement - but stock levels also played a factor (as in I needed something suitable that digikey or mouser actually had in stock when I was building the prototype).  The 500Mb flash version was fine - RAM is the main limiting factor.  I'll work out a way to share the source code / gerbers / kicad files - very happy to do that if it can help someone else.  It was a fun project but has also proved useful.

--- End quote ---

You mentioned your adapter uses a command set like the Prologix and AR488. How do you interface with it from the PC? Is there an embedded web page? Or is a TCP/IP socket sort of thing?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod