mesa 5i25/7i76 firmware upgrade problem

More
16 May 2016 04:52 #74720 by b2unit
I had upgraded 5i25/7i76

*5i25 firmware upgrade:
actually I don't know how to check 5i25 firmware version by terminal..
I followed instruction
//sudo mesaflash --device 5i25 --write 5i25_7i76x2.bit
process is ended with no error message.
but
//sudo mesaflash --device 5i25 --reload
I got message meaning my FPGA card does not support reload command.

*7i76 firmware upgrade:
before firmware upgrade check the firmware version
//sudo metaflash --device 5i25 --sserial
//SSLBP port 0:
//SSLBP Version: 1.35
//SSLBP Channel: 4
//SSLBP Baud Rate: 2500000

then did 7i76 firmware upgrade.
I got message
//move 7I76 W3 to right hand position
//cycle 7I76 field power and hit return
I did follow instruction and hit return key.

//.
//now move 7I76 W3 to the left hand position
//and cycle field power
I did follow instruction. and then checked the 7i76 firmware version.
//sudo mesaflash --device 5i25 --sserial

and I got below
//SSLBP port 0:
// SSLBP Version: 1.35
// SSLBP Channels: 4
// SSLBP Baud Rate: 2500000
// sserial device at channel 0: 7I76 GPIO+SPINDLE (unit 0x10000079)
// SwRevision = 14
// HwRevision = 1
// NVBaudRate = 2.5Mb
// NVUnitNumber = 0x10000079
// NVWatchDogTimeout = 50ms
// SOFTWARE MODE IO_Spin [index 00]
// SOFTWARE MODE IO_Ana_Spin [index 01]
// SOFTWARE MODE IO_Enc_Ana_Spin_FV [index 02]

Is this correct? As I expect there should be the number change in Version but Version number is still same as 1.35.

run lilnuxcnc 2.7.4(before firmware upgrade there was no error)
after 5i25/7i76 firmware upgrade I got error message..

Debug file information:
Error: could not insert module /usr/realtime-3.4-9-rtai-686-pae/modules/linuxcnc/hm2_pci.ko: Invalid parameters
./core_sim.hal:9: exit value: 1
./core_sim.hal:9: insmod for hm2_pci failed, returned -1
See the output of 'dmesg' for more information.
9347
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components

I got big problem..please help me out. I’m not familiar with debian environment…

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

More
16 May 2016 06:25 #74723 by emcPT
On my wiki I have a complete set up, including on how to flash a firmware:

www.wiki.eusurplus.com/index.php?title=C...a_Interface#Firmware
The following user(s) said Thank You: b2unit

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

More
16 May 2016 09:16 - 16 May 2016 09:17 #74729 by cncbasher
you must recycle power for the new updates to be used ,
reload i have found sometimes does not always work , so i prefer to restart , by recycleing power
by memory you should get version 43 when updated , although i may be wrong , but you'll clearly know it's changed

what config files are you using ? , you should not get core_sim , that is for simulation of the parallel port not realtime with a 5i25 etc

using
sudo mesaflash --device 5i25 --readhmid
should read out the current bit file config
Last edit: 16 May 2016 09:17 by cncbasher.
The following user(s) said Thank You: b2unit

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

More
16 May 2016 09:25 #74731 by b2unit
i linked core_sim.hal in gmoccapy.ini..
i couldn't understand power cycling.. even though i looked up wiki..right after firmware update process i just restarted the computer. is this right?

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

More
16 May 2016 13:15 #74742 by PCW
Older 5i25 firmware does not support the --reload command so you must do a actual power cycle
(power cycle means turn PC power off, wait, turn PC power on, a re-boot will not work)
on cards with older firmware to reload the FPGA, once this has been done, the --reload command
will work in the future.

The 1.35 is the SSLBP version on the 5I25 This should change to 1.43 when the 5i25 is reset by a power cycle
The 14 is the 7I76 firmware version
The following user(s) said Thank You: b2unit

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

More
17 May 2016 02:02 #74786 by b2unit
everything looks changed to normal. I can run linuxcnc 2.7.4 without error message.
thanks!

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

Time to create page: 0.163 seconds
Powered by Kunena Forum