3 Servos and 1 Stepper on a 7i77 +5i25
- Mr. Technical
- Offline
- Premium Member
Less
More
- Posts: 80
- Thank you received: 1
22 Mar 2014 01:24 #45048
by Mr. Technical
Replied by Mr. Technical on topic 3 Servos and 1 Stepper on a 7i77 +5i25
Thanks Andy, that's an important thing to know about stripping out the exe bit. I changed it in GUI, and moved the mesaflash exe to the same folder as the bit file I want (5i25_7i77_7i76.bit), opened a terminal, cd to the directory that they're both in, and cut and pasted the text from the post #45032 and now get the following error:
./mesaflash: /usr/lib/libpci.so.3: version `LIBPCI_3.1' not found (required by ./mesaflash)
Mr. Technical
./mesaflash: /usr/lib/libpci.so.3: version `LIBPCI_3.1' not found (required by ./mesaflash)
Mr. Technical
Please Log in or Create an account to join the conversation.
22 Mar 2014 01:38 #45049
by PCW
Replied by PCW on topic 3 Servos and 1 Stepper on a 7i77 +5i25
I may have got a bit too ambitious by updating mesaflash to the latest (which is fine under Ubuntu 12.04)
try this version:
freeby.mesanet.com/oldmesaflash
Or try building on your system (the source is included)
try this version:
freeby.mesanet.com/oldmesaflash
Or try building on your system (the source is included)
Please Log in or Create an account to join the conversation.
- Mr. Technical
- Offline
- Premium Member
Less
More
- Posts: 80
- Thank you received: 1
22 Mar 2014 02:01 #45051
by Mr. Technical
Replied by Mr. Technical on topic 3 Servos and 1 Stepper on a 7i77 +5i25
(Some) Joy! The old mesaflash didn't throw any errors when I ran it, but I don't think it verified that it was done correctly. Here's an excerpt from the terminal:
Syntax: mesaflash filename command
Writes config data to 5I25/6I25 EEPROM
filename - VALID FPGA configuration file.
Commands:
write - write program in 'filename' into FPGA.
verify - verify if 'filename' is properly programmed in FPGA.
info - print info about 'filename'.
detect - print info about detected board(s) ('filename' is ignored).
fmt@fmt-mill:~$ write
usage: write user [tty]
fmt@fmt-mill:~$ verify
verify: command not found
fmt@fmt-mill:~$
Getting closer...
Syntax: mesaflash filename command
Writes config data to 5I25/6I25 EEPROM
filename - VALID FPGA configuration file.
Commands:
write - write program in 'filename' into FPGA.
verify - verify if 'filename' is properly programmed in FPGA.
info - print info about 'filename'.
detect - print info about detected board(s) ('filename' is ignored).
fmt@fmt-mill:~$ write
usage: write user [tty]
fmt@fmt-mill:~$ verify
verify: command not found
fmt@fmt-mill:~$
Getting closer...
Please Log in or Create an account to join the conversation.
22 Mar 2014 02:08 - 22 Mar 2014 02:20 #45052
by PCW
Replied by PCW on topic 3 Servos and 1 Stepper on a 7i77 +5i25
I think the command would be
sudo ./oldmesaflash write 5i25_7i76_7i77.bit
Or better still, build the latest mesaflash on your system
sudo ./oldmesaflash write 5i25_7i76_7i77.bit
Or better still, build the latest mesaflash on your system
Last edit: 22 Mar 2014 02:20 by PCW.
Please Log in or Create an account to join the conversation.
- Mr. Technical
- Offline
- Premium Member
Less
More
- Posts: 80
- Thank you received: 1
22 Mar 2014 02:30 #45055
by Mr. Technical
Replied by Mr. Technical on topic 3 Servos and 1 Stepper on a 7i77 +5i25
Thanks Peter. I caught that too, and changed the text from your earlier post to read "sudo ./oldmesaflash write 5i25_7i76_7i77.bit" and I still wasn't able to verify it. I have no idea how to build the latest mesaflash on my system, but we're so close I can almost taste it!
Any other ideas?
Ian
Any other ideas?
Ian
Please Log in or Create an account to join the conversation.
22 Mar 2014 02:47 #45056
by PCW
Replied by PCW on topic 3 Servos and 1 Stepper on a 7i77 +5i25
did the write command succeed?
to build you unzip the source and type "make" in the source directory
to build you unzip the source and type "make" in the source directory
Please Log in or Create an account to join the conversation.
- Mr. Technical
- Offline
- Premium Member
Less
More
- Posts: 80
- Thank you received: 1
22 Mar 2014 02:56 #45059
by Mr. Technical
Replied by Mr. Technical on topic 3 Servos and 1 Stepper on a 7i77 +5i25
I think the 'write' command worked since it didn't say otherwise. I ran it again and this is what it looked like:
fmt@fmt-mill:~$ write
usage: write user [tty]
fmt@fmt-mill:~$
Does the usage line imply that it wrote it?
fmt@fmt-mill:~$ write
usage: write user [tty]
fmt@fmt-mill:~$
Does the usage line imply that it wrote it?
Please Log in or Create an account to join the conversation.
22 Mar 2014 02:59 #45060
by PCW
Replied by PCW on topic 3 Servos and 1 Stepper on a 7i77 +5i25
I think you misunderstand the usage of the command
it would be:
sudo ./oldmesaflash write 5i25_7i77_7i76.bit
it would be:
sudo ./oldmesaflash write 5i25_7i77_7i76.bit
Please Log in or Create an account to join the conversation.
- Mr. Technical
- Offline
- Premium Member
Less
More
- Posts: 80
- Thank you received: 1
22 Mar 2014 03:04 #45061
by Mr. Technical
Replied by Mr. Technical on topic 3 Servos and 1 Stepper on a 7i77 +5i25
You're right, I did misunderstand that. Here's the complete text that I entered or that came back from the time that I opened the terminal window. Will that be enough to let you know if it worked?
fmt@fmt-mill:~$ sudo ./oldmesaflash --device 5i25 --write 5i25_7i77_7i76.bit
Syntax: mesaflash filename command
Writes config data to 5I25/6I25 EEPROM
filename - VALID FPGA configuration file.
Commands:
write - write program in 'filename' into FPGA.
verify - verify if 'filename' is properly programmed in FPGA.
info - print info about 'filename'.
detect - print info about detected board(s) ('filename' is ignored).
fmt@fmt-mill:~$ write
usage: write user [tty]
fmt@fmt-mill:~$
fmt@fmt-mill:~$ sudo ./oldmesaflash --device 5i25 --write 5i25_7i77_7i76.bit
Syntax: mesaflash filename command
Writes config data to 5I25/6I25 EEPROM
filename - VALID FPGA configuration file.
Commands:
write - write program in 'filename' into FPGA.
verify - verify if 'filename' is properly programmed in FPGA.
info - print info about 'filename'.
detect - print info about detected board(s) ('filename' is ignored).
fmt@fmt-mill:~$ write
usage: write user [tty]
fmt@fmt-mill:~$
Please Log in or Create an account to join the conversation.
22 Mar 2014 03:13 #45063
by PCW
Replied by PCW on topic 3 Servos and 1 Stepper on a 7i77 +5i25
did you try:
sudo ./oldmesaflash write 5i25_7i77_7i76.bit
sudo ./oldmesaflash write 5i25_7i77_7i76.bit
Please Log in or Create an account to join the conversation.
Time to create page: 0.083 seconds