Does anyone have a link to a good tutorial on flashing a Mesa card 7i96e and 7i8

More
13 Nov 2019 13:35 #150296 by jools

sudo mesaflash --board_type --readhmid
for normal PCI or PCI-E cards
For ethernet:
sudo mesaflash --device 7i96 --addr 10.10.10.10 --readhmid
Granted your board IP is set at 10.10.10.10 , or 192.168.1.121 from factory
For flashing the card
sudo mesaflash --device 7i96 --addr 10.10.10.10 --write name_of_the_file.bin
the bin file needs to be in the same directory as mesaflash utility
then
sudo mesaflash --device 7i96 --addr 10.10.10.10 --reload
then
sudo mesaflash --device 7i96 --addr 10.10.10.10 --readhmid.


The mesa is wired in now and ping returns values. I'm trying to flash it but when using the command
mesaflash --device 7i96 --addr 10.10.10.10 --7i96_7i85sd.bit I get the response
mesaflash: unrecognized option '--7i96_7i85sd.bit'

I have placed the .bit file in the same directory as the mesaflash app (I think) went in something like/home/.local/bins.

Any idea what could be going wrong?

Jools

Please Log in or Create an account to join the conversation.

More
13 Nov 2019 14:25 #150297 by PCW
mesaflash --device 7i96 --addr 10.10.10.10 --write 7i96_7i85sd.bit

try mesaflash --help

Please Log in or Create an account to join the conversation.

More
13 Nov 2019 15:41 #150304 by jools

mesaflash --device 7i96 --addr 10.10.10.10 --write 7i96_7i85sd.bit

try mesaflash --help


Thanks that did it. Cant help but spell things wrong and miss out words....

When I do a readhmid it says segmentation fault at the bottom is this correct? Pasted output below.

Configuration Name: HOSTMOT2

General configuration information:

BoardName : MESA7I96
FPGA Size: 9 KGates
FPGA Pins: 144
Number of IO Ports: 3
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 3 of IOPort in configuration
Version: 0
Registers: 5
BaseAddress: 1000
ClockFrequency: 100.000 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes

Module: StepGen
There are 8 of StepGen in configuration
Version: 2
Registers: 10
BaseAddress: 2000
ClockFrequency: 100.000 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes

Module: MuxedQCount
There are 6 of MuxedQCount in configuration
Version: 3
Registers: 5
BaseAddress: 3600
ClockFrequency: 100.000 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes

Module: MuxedQCountSel
There are 1 of MuxedQCountSel in configuration
Version: 0
Registers: 0
BaseAddress: 0000
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: Transformer
There are 1 of Transformer in configuration
Version: 0
Registers: 2
BaseAddress: 7D00
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 P1
Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir

1 0 IOPort None
14 1 IOPort None
2 2 IOPort None
15 3 IOPort None
3 4 IOPort None
16 5 IOPort None
4 6 IOPort None
17 7 IOPort None
5 8 IOPort None
6 9 IOPort None
7 10 IOPort None
8 11 IOPort Transformer 0 Drive (Out)
9 12 IOPort Transformer 0 Ref (Out)
10 13 IOPort Transformer 0 Null3 (Out)
11 14 IOPort Transformer 0 Null4 (Out)
12 15 IOPort Transformer 0 Null5 (Out)
13 16 IOPort Transformer 0 Null6 (Out)

IO Connections for TB1
Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir

1 17 IOPort StepGen 0 Step/Table1 (Out)
14 18 IOPort StepGen 0 Dir/Table2 (Out)
2 19 IOPort StepGen 1 Step/Table1 (Out)
15 20 IOPort StepGen 1 Dir/Table2 (Out)
3 21 IOPort StepGen 2 Step/Table1 (Out)
16 22 IOPort StepGen 2 Dir/Table2 (Out)
4 23 IOPort StepGen 3 Step/Table1 (Out)
17 24 IOPort StepGen 3 Dir/Table2 (Out)
5 25 IOPort StepGen 4 Step/Table1 (Out)
6 26 IOPort StepGen 4 Dir/Table2 (Out)
7 27 IOPort MuxedQCount 0 MuxQ-IDX (In)
8 28 IOPort MuxedQCount 0 MuxQ-B (In)
9 29 IOPort MuxedQCount 0 MuxQ-A (In)
10 30 IOPort SSerial 0 RXData1 (In)
11 31 IOPort SSerial 0 TXData1 (Out)
12 32 IOPort SSerial 0 TXEn1 (Out)
Segmentation fault

Please Log in or Create an account to join the conversation.

More
13 Nov 2019 15:48 #150305 by tommylight
Did you do a :
mesaflash --device 7i96 --addr 10.10.10.10 --reload
after flashing?
Or power cycle the board.

Please Log in or Create an account to join the conversation.

More
13 Nov 2019 16:35 #150310 by jools

Please Log in or Create an account to join the conversation.

More
13 Nov 2019 16:37 #150311 by jools
Just did a reload and it still shows the same

Please Log in or Create an account to join the conversation.

More
13 Nov 2019 18:06 #150316 by PCW
The following user(s) said Thank You: akb1212

Please Log in or Create an account to join the conversation.

More
14 Nov 2019 14:04 #150363 by jools
I managed to get the 7i96 configuration tool working and flashed the pwm firmware to it. This seemed to work well.

I tried to update to a newer version of Mesaflash from the link but it didn't either work or do anything else. One note: I did manage to flash the PWM firmware via mesaflash but it still gave me the segment fault....

I'm going to try it with the PWM firmware and look to add the 7i85s later when I sort MPG.

Thanks for the help all.

Jools

Please Log in or Create an account to join the conversation.

More
14 Nov 2019 14:28 #150365 by PCW
Its likely you are still running the old mesaflash version
You would need to delete the old version and install the new version to be sure

Please Log in or Create an account to join the conversation.

More
29 Nov 2019 04:20 - 29 Nov 2019 04:21 #151472 by akb1212

You need a newer version of Mesaflash
I suggest:

github.com/jethornton/mesaflash


Thanks for this. I installed a new system now, with Mint 19.2 (it supports my touch screen with no problems!, unlike (OLD!) debian versions I have tried earlier).
I was unable to install mesaflash from all the places the regular documentation is telling me to get it. So I'm glad I managed to find this thread and your description on how to get the latest version. I do need all the details on how to install it, and you have put inn all the details in there to tell me how. Thanks!
My point is, the documentation needs to be updated to reflect this I think.

I needed to flash my 5i25 card, and was able to find the correct file i need (7i85_7i77). And it flashed ok, and seems to be working as expected. But I can't say or sure if I'm supposed to write the fallback bit-file. And if I need to flash it with that one I need to know where to get that, because I couldn't find that amongst the ready-made files.

I'm not sure, because I don't konw if that area of the eeprom is erased while writing the main file. If not it should already be there. But if not then I need to do that. But I need to know where to get that file.
Last edit: 29 Nov 2019 04:21 by akb1212. Reason: correcting the card numbers

Please Log in or Create an account to join the conversation.

Moderators: PCWjmelson
Time to create page: 0.095 seconds
Powered by Kunena Forum