BTW, used the same process for the BBB to install mesaflash. Attached file shows the result. Works like a charm so the issue isn't the mesaflash program and ARM libraries nor PC running LinuxCNC. The issue is probably with the Pi4 libaries used by the mesaflash.
John > -----Original Message----- > From: John Dammeyer [mailto:jo...@autoartisans.com] > Sent: June-10-21 8:02 PM > To: Enhanced Machine Controller (EMC) > Subject: [Emc-users] Pi4 issues with MESA 7i92H > > Peter Wallace and I have been working on getting the Pi4 to work with the > 7i92 mesaflash program. > > He asked me to do this but I get the error below. > pi@linuxcnc:~/mesaflash $ sudo ./mesaflash --device 7i92 --readhmid > lbp16_access.send_packet: Resource temporarily unavailable > Aborted > > When I do this on the PC with the same 7i92 it dumps the Pins table. The > 7i92 is communicating with the board. It can ping it. It can > detect what type of board it is. But the --readhmid parameter always returns > this access.send_packet error. > > Any ideas on how to solve this problem? It appears to be some sort of > network issue. The Pi4 has successfully run my CNC > hardware through the 7i92 so Ethernet works. At least from LinuxCNC to the > Pi. Clearly not from the mesaflash to the pi. > > To get mesaflash onto the Pi4 you have to do the following. > pi@linuxcnc:~ $ sudo git clone http://github.com/linuxcnc/mesaflash > pi@linuxcnc:~/mesaflash $ sudo apt-get install libpci-dev > pi@linuxcnc:~/mesaflash $ sudo make > > Once that's all done: > pi@linuxcnc:~/mesaflash $ ./mesaflash > Mesaflash version 3.4.0~pre1 > Configuration and diagnostic tool for Mesa Electronics PCI(E)/ETH/EPP/USB/SPI > boards > Try 'mesaflash --help' for more information > pi@linuxcnc:~/mesaflash $ sudo ./mesaflash --device 7i92 --addr 192.168.1.121 > ETH device 7I92 at ip=192.168.1.121 > > Any suggestions are welcome. > Thanks > John Dammeyer > > > "ELS! Nothing else works as well for your Lathe" > Automation Artisans Inc. > www dot autoartisans dot com > > > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users
debian@ebb:~$ cd mesaflash debian@ebb:~/mesaflash$ sudo ./mesaflash --device 7i92 --readhmid [sudo] password for debian: Configuration Name: HOSTMOT2 General configuration information: BoardName : MESA7I92 FPGA Size: 9 KGates FPGA Pins: 144 Number of IO Ports: 2 Width of one I/O port: 17 Clock Low frequency: 100.0000 MHz Clock High frequency: 200.0000 MHz IDROM Type: 3 Instance Stride 0: 4 Instance Stride 1: 64 Register Stride 0: 256 Register Stride 1: 256 Modules in configuration: Module: DPLL There are 1 of DPLL in configuration Version: 0 Registers: 7 BaseAddress: 7000 ClockFrequency: 100.000 MHz Register Stride: 256 bytes Instance Stride: 4 bytes Module: WatchDog There are 1 of WatchDog in configuration Version: 0 Registers: 3 BaseAddress: 0C00 ClockFrequency: 100.000 MHz Register Stride: 256 bytes Instance Stride: 4 bytes Module: IOPort There are 2 of IOPort in configuration Version: 0 Registers: 5 BaseAddress: 1000 ClockFrequency: 100.000 MHz Register Stride: 256 bytes Instance Stride: 4 bytes Module: QCount There are 1 of QCount in configuration Version: 2 Registers: 5 BaseAddress: 3000 ClockFrequency: 100.000 MHz Register Stride: 256 bytes Instance Stride: 4 bytes Module: SSerial There are 1 of SSerial in configuration Version: 0 Registers: 6 BaseAddress: 5B00 ClockFrequency: 100.000 MHz Register Stride: 256 bytes Instance Stride: 64 bytes Module: StepGen There are 5 of StepGen in configuration Version: 2 Registers: 10 BaseAddress: 2000 ClockFrequency: 100.000 MHz Register Stride: 256 bytes Instance Stride: 4 bytes Module: LED There are 1 of LED in configuration Version: 0 Registers: 1 BaseAddress: 0200 ClockFrequency: 100.000 MHz Register Stride: 256 bytes Instance Stride: 4 bytes Configuration pin-out: IO Connections for P2 Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir 1 0 IOPort StepGen 0 Dir/Table2 (Out) 14 1 IOPort StepGen 0 Step/Table1 (Out) 2 2 IOPort StepGen 1 Dir/Table2 (Out) 15 3 IOPort StepGen 1 Step/Table1 (Out) 3 4 IOPort StepGen 2 Dir/Table2 (Out) 16 5 IOPort StepGen 2 Step/Table1 (Out) 4 6 IOPort StepGen 3 Dir/Table2 (Out) 17 7 IOPort StepGen 3 Step/Table1 (Out) 5 8 IOPort StepGen 4 Dir/Table2 (Out) 6 9 IOPort StepGen 4 Step/Table1 (Out) 7 10 IOPort SSerial 0 TXData0 (Out) 8 11 IOPort SSerial 0 RXData0 (In) 9 12 IOPort SSerial 0 TXData1 (Out) 10 13 IOPort SSerial 0 RXData1 (In) 11 14 IOPort QCount 0 Quad-IDX (In) 12 15 IOPort QCount 0 Quad-B (In) 13 16 IOPort QCount 0 Quad-A (In) IO Connections for P1 Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir 1 17 IOPort None 14 18 IOPort None 2 19 IOPort None 15 20 IOPort None 3 21 IOPort None 16 22 IOPort None 4 23 IOPort None 17 24 IOPort None 5 25 IOPort None 6 26 IOPort None 7 27 IOPort None 8 28 IOPort None 9 29 IOPort None 10 30 IOPort None 11 31 IOPort None 12 32 IOPort None 13 33 IOPort None debian@ebb:~/mesaflash$ ^C
_______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users