Mesaflash 7i96S - Error at 0x10004B expected: 0xA but read: 0x16

More
03 Jan 2025 21:48 #317970 by poesel
Hi,

I'm trying to flash my 7i96s mesa card to get a second PWM (btw - I had a hard time finding this file. PCW always mentions the '7i96s-support-file-zip, but I have failed to locate it).

Card works ok and:
mesaflash --addr 192.168.1.121 --device ETHER --readhmid
works without problems and produces this output (abbreviated):

Configuration Name: HOSTMOT2

General configuration information:

  BoardName : MESA7I96
  FPGA Size: 20 KGates
  FPGA Pins: 256
  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
...

I was a bit confused about the first line above, but it is indeed the 7i96S. At least that's what's written on the board.
Upon flashing, I get this:

markus@JanusL:~/mesa_firmware/7i96s_2pwm$ mesaflash --addr 192.168.1.121 --device ETHER --verify 7i96s_2pwmd.bin
Checking file... OK
  File type: Efinix bin file
Verifying FLASH memory sectors starting from 0x100000...
  |
Error at 0x10004B expected: 0xA but read: 0x16

Thanks
 

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

More
03 Jan 2025 21:53 #317971 by tommylight
Did you do
mesaflash --addr 192.168.1.121 --device ETHER --reload
or power off/on the board after flashing?

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

More
03 Jan 2025 22:52 #317978 by poesel
Well, no. No flashing ever happened. mesaflash instantly threw this error and stopped.

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

More
03 Jan 2025 23:41 - 03 Jan 2025 23:44 #317985 by tommylight
OK, then usually this is due to old version of mesaflash, see this for latest version
forum.linuxcnc.org/27-driver-boards/5489...-see-the-card#317821

Edit:
Just went back on this, you asked mesaflash to verify is the board has the pwm version and it does not, hence the result.
You would need to flash the board first with the firmware you need, and the files are on the Mesa web page
www.mesanet.com/software/parallel/7i96s.zip
Last edit: 03 Jan 2025 23:44 by tommylight.
The following user(s) said Thank You: poesel

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

More
04 Jan 2025 00:12 #317992 by poesel

Just went back on this, you asked mesaflash to verify is the board has the pwm version and it does not, hence the result.
You would need to flash the board first with the firmware you need, and the files are on the Mesa web page
www.mesanet.com/software/parallel/7i96s.zip

Ah, sorry, my bad. I misinterpreted the options. Exchanged 'verify' with 'write' and it worked like a charm.
Correct version:

mesaflash --addr 192.168.1.121 --device ETHER --write 7i96s_2pwmd.bin

Also, thanks for pointing the location of the support package out. This website looks like they went bust 20 years ago...

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

More
04 Jan 2025 00:18 #317995 by PCW
You can download the support software from Mesa's web store
(specification tab)
 
The following user(s) said Thank You: poesel

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

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