[solved] strange result with mesa5i25 7i77 what wrong?

More
9 years 6 months ago #90854 by bkt
I install linuxcnc-dev on my ubuntu 14.04.... all seems to work Ok with par port. .... But when I try to install mesa5i25 i'm not able to load mesa driver ... so install mesaflash and charge 7i77x2.bit on mesa super port. ... copyright My working configurazione from other pc and run..... But only input seems to work.... output Not. .... And i'm not able tu toggle emergency button on axis gui...... why these.... I have no error or warning..... lo ad correctly version 0.15 of firmware hostmot2 but no output working seems...

Regards
Miki

Please Log in to join the conversation.

More
9 years 6 months ago #90856 by tommylight
What do you get from
Sudo mesaflash --device 5i25 --readhmid
Maybe you need to change the ports on 5i25 as that can be changed with firmware.

Please Log in to join the conversation.

More
9 years 6 months ago #90857 by bkt
Code:
Configuration Name: HOSTMOT2 General configuration information: BoardName : MESA5I25 FPGA Size: 9 KGates FPGA Pins: 144 Number of IO Ports: 2 Width of one I/O port: 17 Clock Low frequency: 33.3333 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: WatchDog There are 1 of WatchDog in configuration Version: 0 Registers: 3 BaseAddress: 0C00 ClockFrequency: 33.333 MHz Register Stride: 256 bytes Instance Stride: 4 bytes Module: IOPort There are 2 of IOPort in configuration Version: 0 Registers: 5 BaseAddress: 1000 ClockFrequency: 33.333 MHz Register Stride: 256 bytes Instance Stride: 4 bytes Module: MuxedQCount There are 12 of MuxedQCount in configuration Version: 3 Registers: 5 BaseAddress: 3600 ClockFrequency: 33.333 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: 33.333 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: 33.333 MHz Register Stride: 256 bytes Instance Stride: 64 bytes Module: LED There are 1 of LED in configuration Version: 0 Registers: 1 BaseAddress: 0200 ClockFrequency: 33.333 MHz Register Stride: 256 bytes Instance Stride: 4 bytes Configuration pin-out: IO Connections for P3 Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir 1 0 IOPort SSerial 0 TXEn3 (Out) 14 1 IOPort SSerial 0 TXData3 (Out) 2 2 IOPort SSerial 0 RXData3 (In) 15 3 IOPort SSerial 0 TXData2 (Out) 3 4 IOPort SSerial 0 RXData2 (In) 16 5 IOPort SSerial 0 TXData1 (Out) 4 6 IOPort SSerial 0 RXData1 (In) 17 7 IOPort MuxedQCountSel 0 MuxSel0 (Out) 5 8 IOPort MuxedQCount 0 MuxQ-A (In) 6 9 IOPort MuxedQCount 0 MuxQ-B (In) 7 10 IOPort MuxedQCount 0 MuxQ-IDX (In) 8 11 IOPort MuxedQCount 1 MuxQ-A (In) 9 12 IOPort MuxedQCount 1 MuxQ-B (In) 10 13 IOPort MuxedQCount 1 MuxQ-IDX (In) 11 14 IOPort MuxedQCount 2 MuxQ-A (In) 12 15 IOPort MuxedQCount 2 MuxQ-B (In) 13 16 IOPort MuxedQCount 2 MuxQ-IDX (In) IO Connections for P2 Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir 1 17 IOPort SSerial 0 TXEn6 (Out) 14 18 IOPort SSerial 0 TXData6 (Out) 2 19 IOPort SSerial 0 RXData6 (In) 15 20 IOPort SSerial 0 TXData5 (Out) 3 21 IOPort SSerial 0 RXData5 (In) 16 22 IOPort SSerial 0 TXData4 (Out) 4 23 IOPort SSerial 0 RXData4 (In) 17 24 IOPort MuxedQCountSel 6 MuxSel0 (Out) 5 25 IOPort MuxedQCount 3 MuxQ-A (In) 6 26 IOPort MuxedQCount 3 MuxQ-B (In) 7 27 IOPort MuxedQCount 3 MuxQ-IDX (In) 8 28 IOPort MuxedQCount 4 MuxQ-A (In) 9 29 IOPort MuxedQCount 4 MuxQ-B (In) 10 30 IOPort MuxedQCount 4 MuxQ-IDX (In) 11 31 IOPort MuxedQCount 5 MuxQ-A (In) 12 32 IOPort MuxedQCount 5 MuxQ-B (In) 13 33 IOPort MuxedQCount 5 MuxQ-IDX (In)

these the results ... but I'm not able to undertand if is all ok or not ... for me is ok ...

my hal header is these:
Code:
loadrt [KINS]KINEMATICS #autoconverted trivkins loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS num_dio=32 loadrt hostmot2 loadrt hm2_pci config=" num_encoders=6 num_pwmgens=0 num_stepgens=0 sserial_port_0=000xxx" setp hm2_5i25.0.watchdog.timeout_ns 5000000 loadrt pid names=pid.x,pid.y,pid.z,pid.a loadrt mux4 names=jogincr loadrt ilowpass loadrt conv_s32_float names=c32f.0,c32f.1,c32f.2,c32f.3,c32f.4

Please Log in to join the conversation.

More
9 years 6 months ago #90865 by PCW
What kernel are you using?

(run uname -a and post the results here)

Which outputs dont work?

Please Log in to join the conversation.

More
9 years 6 months ago #90870 by bkt
Kernel 4.8.15 rt10..... But now all works like a charm..... I Not understand why but after a restart of pc all works....

Regards
Miki

Please Log in to join the conversation.

More
9 years 6 months ago #90875 by tommylight
After flashing new firmware, you have to use sudo mesaflash --device 5i25 --reload or power off and on the computer.
Glad you got it goimg.
Tom

Please Log in to join the conversation.

More
9 years 6 months ago #90886 by bkt
I use ether .... --reload and reboot .... but isn't these the problem .... during motor config (arghh .. motor online too for adding some difficult) the modification of .ini file was not immediate or certain ... only after the second run of axis gui the modification was for shure modify. So I think was something related to linuxcnc-dev folder and config path.

regards
Miki

Please Log in to join the conversation.

Time to create page: 0.089 seconds
Powered by Kunena Forum