Wiring up for 7i92T reflash

  • Chorca
  • Chorca's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
06 Jun 2025 04:15 #329789 by Chorca
Wiring up for 7i92T reflash was created by Chorca
Hey all, have accidentally corrupted the firmware with an old mesaflash on a Tormach controller and am trying to bring it back.

I've read a few threads here on the forums and gathered what I could, but I'm still having issues.
I've got the current efinity software (2025) and a FT2232H Mini Module. I've attempted to wire some of the JTAG up according to the specifications in the datasheet for JTAG, but was unsuccessful with that, and also via the wiring diagram here: www.forum.linuxcnc.org/27-driver-boards/...-the-fallback#318881
However, I can't make sense of the diagram.. It seems to mention that pins 1, 3, and 5 are ground, but according to the FT4232H and FT2232H datasheets, those pins are 3.3V VCC. I've tried a couple combinations of wiring but haven't been able to find one that works.

Is there any mapping between the actual bus names (AD1, BD2, etc) and the JTAG pins on the board? I don't mind doing a writeup on the procedure if I can get it working, but I'm just out of ideas here.

Thanks for anyone who can help.

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

More
06 Jun 2025 04:27 #329792 by PCW
Replied by PCW on topic Wiring up for 7i92T reflash
Note that as the schematic says, there's an even/odd swap
because the schematic is for the flat cable, (which plugs on to
the reverse side of the FT4232H),  _not_ the FT4232H

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

  • Chorca
  • Chorca's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
07 Jun 2025 06:14 - 07 Jun 2025 06:16 #329865 by Chorca
Replied by Chorca on topic Wiring up for 7i92T reflash
I spent some more time on this tonight and after fixing some Python bugs and rechecking the wiring again, I hooked up my logic analyzer and verified that communication appears to be happening on the JTAG lines, I see mostly TDI with some responses on TDO, and clock signals appear to be working too.

I've done a quick drawing of how things are connected with the FT2232H Mini Module, as the pinout for the ports seems to differ from that of the FT4232H, and after checking the pins just to be safe, I see no data coming out of them, so I assume this setup is correct, matching port for port between the two modules.

I can run init95t and it seems like it attempts to program, and then cause a reset of the board, but the board goes right back into the same mode, with /DONE lit constantly, and no link lights on the ethernet:

./init95t  
Programming using Board Profile: Generic Board Profile Using FT2232H
jtag programming started!
JTAG Programming on ftdi://0x0403:0x6010:FT9MCMFR/2
Programming 'outflow/seveni95t.bit' via JTAG at freq 3.0 MHz
Device ID read from JTAG: 0x00210A79
... finished with JTAG programming
waiting for reset
Old Name:  
Connection timed out

I'm not sure why it's not liking the file being programmed but I also attempted with the ethernet jumpers in various positions, and had no luck with that either.
Not sure if there's anything obvious wrong with this setup... I've attached a schematic of the wiring and the saleae Logic file as well as a picture of the logic capture. 

I should specify that the pin numbers used in the drawing are the ones from the datasheet and the ones on the JTAG match up with what is listed in the manual for that board.
Attachments:
Last edit: 07 Jun 2025 06:16 by Chorca.

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

More
07 Jun 2025 13:34 #329879 by PCW
Replied by PCW on topic Wiring up for 7i92T reflash
What card do you actually have?
(the title says 7I92T but you mention init95t)

Do you get the user (green) LED blink and Ethernet link lights illuminated after JTAG programming?

 

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

  • Chorca
  • Chorca's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
07 Jun 2025 16:48 - 07 Jun 2025 16:54 #329885 by Chorca
Replied by Chorca on topic Wiring up for 7i92T reflash
I got it!

Thank you, after a bunch of messing with this I'd glazed over the 95/92 difference and didn't notice until you called it out.
Turns out my wiring was good, but I had the wrong file being programmed.

Here's what worked for anyone else who might have this problem in the future (in Linux, using a FT2232H Mini Module):
  1. Download latest efinity software, extract to your computer. You need to register for a support account and then request a license, at which point you can download the software.
  2. Download the 7I92T support software (contains the FPGA binfiles):  mesanet.com/software/parallel/7i92t.zip
  3. Download the seveni92t.zip file  and extract it.
  4. Connect up the FT2232H Mini Module to the 7I92T according to the wiring diagram attached. No connections to CN2 are necessary. Use 5V power to the 7I92T's power terminals, and don't forget to connect the jumper on the FT2232H Mini Module to USB bus power it.
  5. Change the seveni92t.hex file's extension from .hex to .bit (The software won't accept a .hex file for JTAG programming)
  6. Source the setup for the efinity software: $ source efinity/2025.1/bin/setup.sh
  7. Set the board jumpers to Down,Down (to set the IP to 192.168.1.121)
  8. Power the board on and flash it: $ sh efinity/2025.1/pgm/bin/ftdi_pgm.sh seveni92t.bit -m jtag
  9. The /DONE light should go out and the green LEDs should blink in sequence as the board starts up, and ethernet should connect, now set your computer's IP to something in the same range as the board's IP (I used 192.168.1.120)
  10. Use mesaflash to write the fallback firmware (this bin file is from the support zip) : mesaflash --device 7i92t --addr 192.168.1.121 --write  7i92t_16m_fallback.bin --fallback
  11. Now flash your desired userfile to the user flash area: mesaflash --device 7i92t --addr 192.168.1.121 --write  7i92_<yourfile>.bin
  12. Power down the card, unhook your connections, and power it back up, everything should function normally.

In my case I Just flashed a random user file, as once Pathpilot starts up it will automatically reflash the board with it's necessary firmware.

Thanks again for the help, hope the info I added is helpful if anyone else has the same issue.
Attachments:
Last edit: 07 Jun 2025 16:54 by Chorca.

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

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