Re: [Emc-users] How to use Mesa 7i90HD ?

2014-06-09 Thread Marius Alksnys
On 06/07/2014 11:42 AM, Michał Geszkiewicz wrote:
 W dniu 07.06.2014 09:49, Marius Alksnys pisze:
 I compiled mesaflash from given git link. It does find and work
with 5i24, but can't find 7i90hd.

 Use

 sudo ./mesaflash --device 7i90 --addr 0x378 --write path/to/bitfile

Thank you, this one worked.

Now I noticed that hm2_7i90 appeared at master. But it lacks epp driver.
I just copied epp.ko to /usr/realtime-2.6.32-122-rtai/modules/linuxcnc 
and it started to work.

Thank you all! :)


--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing  Easy Data Exploration
http://www.hpccsystems.com
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] How to use Mesa 7i90HD ?

2014-06-09 Thread Michał Geszkiewicz
Hi,

hm2_7i90 driver which is in 2.6 and master don't use epp driver atm. You 
can remove it from hal file.



W dniu 09.06.2014 09:34, Marius Alksnys pisze:
 On 06/07/2014 11:42 AM, Michał Geszkiewicz wrote:
 W dniu 07.06.2014 09:49, Marius Alksnys pisze:
 I compiled mesaflash from given git link. It does find and work
 with 5i24, but can't find 7i90hd.
 Use

 sudo ./mesaflash --device 7i90 --addr 0x378 --write path/to/bitfile
 Thank you, this one worked.

 Now I noticed that hm2_7i90 appeared at master. But it lacks epp driver.
 I just copied epp.ko to /usr/realtime-2.6.32-122-rtai/modules/linuxcnc
 and it started to work.

 Thank you all! :)


 --
 HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
 Find What Matters Most in Your Big Data with HPCC Systems
 Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
 Leverages Graph Analysis for Fast Processing  Easy Data Exploration
 http://www.hpccsystems.com
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing  Easy Data Exploration
http://www.hpccsystems.com
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] How to use Mesa 7i90HD ?

2014-06-07 Thread Marius Alksnys
I compiled mesaflash from given git link. It does find and work
 with 5i24, but can't find 7i90hd.

I want to use one 7i33 and gpio, thus I think epp_sv_12 can be
 used. I don't need uarts for now.

Yes it was shipped with this firmware.

 What firmware do you want on the 7I90?
 
 I would first flash the 7I90 with the desired firmware (using the latest 
 version of mesaflash)
 
 https://github.com/micges/mesaflash
 
 The firmware with the UART has a bug, (this is do to the fact that all the 
 7I90 firmware is built with a script and the script does not fix the strides 
 properly for the UART)
 
 If the 7I90 was shipped with that firmware, thats definately a mistake
 
 If you need firmware with a UART I will patch the bitfiles containing UARTs
 But note that currently due to limitations in the IDROM format it is not 
 possible to combine UARTs with SSerial or BSPI. It may be that for now (until 
 IDROM V4) that the HM2 driver needs to be patched so that if a UART is fount 
 it uses  hardwired stride, with maybe  a complaint rather than and abort


Android NewsGroup Reader
http://piaohong.appspot.com/newsgroup


--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] How to use Mesa 7i90HD ?

2014-06-07 Thread Michał Geszkiewicz
W dniu 07.06.2014 09:49, Marius Alksnys pisze:
 I compiled mesaflash from given git link. It does find and work
   with 5i24, but can't find 7i90hd.

Use

sudo ./mesaflash --device 7i90 --addr 0x378 --write path/to/bitfile

change address to proper for your setup

 I want to use one 7i33 and gpio, thus I think epp_sv_12 can be
   used. I don't need uarts for now.

 Yes it was shipped with this firmware.

 What firmware do you want on the 7I90?

 I would first flash the 7I90 with the desired firmware (using the latest
 version of mesaflash)

 https://github.com/micges/mesaflash

 The firmware with the UART has a bug, (this is do to the fact that all the
 7I90 firmware is built with a script and the script does not fix the strides
 properly for the UART)

 If the 7I90 was shipped with that firmware, thats definately a mistake

 If you need firmware with a UART I will patch the bitfiles containing UARTs
 But note that currently due to limitations in the IDROM format it is not
 possible to combine UARTs with SSerial or BSPI. It may be that for now (until
 IDROM V4) that the HM2 driver needs to be patched so that if a UART is fount
 it uses  hardwired stride, with maybe  a complaint rather than and abort

 Android NewsGroup Reader
 http://piaohong.appspot.com/newsgroup


 --
 Learn Graph Databases - Download FREE O'Reilly Book
 Graph Databases is the definitive new guide to graph databases and their
 applications. Written by three acclaimed leaders in the field,
 this first edition is now available. Download your free book today!
 http://p.sf.net/sfu/NeoTech
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users




--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] How to use Mesa 7i90HD ?

2014-06-07 Thread Peter C. Wallace
On Sat, 7 Jun 2014, Marius Alksnys wrote:

 Date: Sat, 7 Jun 2014 10:49:17 +0300 (EEST)
 From: Marius Alksnys marius.alks...@gmail.com
 Reply-To: Enhanced Machine Controller (EMC)
 emc-users@lists.sourceforge.net
 To: emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] How to use Mesa 7i90HD ?
 
 I compiled mesaflash from given git link. It does find and work
 with 5i24, but can't find 7i90hd.


Did you specify the LPT address on the command line? ISTR the default 0x378 
does not work


 I want to use one 7i33 and gpio, thus I think epp_sv_12 can be
 used. I don't need uarts for now.

 Yes it was shipped with this firmware.

 What firmware do you want on the 7I90?

 I would first flash the 7I90 with the desired firmware (using the latest
 version of mesaflash)

 https://github.com/micges/mesaflash

 The firmware with the UART has a bug, (this is do to the fact that all the
 7I90 firmware is built with a script and the script does not fix the strides
 properly for the UART)

 If the 7I90 was shipped with that firmware, thats definately a mistake

 If you need firmware with a UART I will patch the bitfiles containing UARTs
 But note that currently due to limitations in the IDROM format it is not
 possible to combine UARTs with SSerial or BSPI. It may be that for now (until
 IDROM V4) that the HM2 driver needs to be patched so that if a UART is fount
 it uses  hardwired stride, with maybe  a complaint rather than and abort


 Android NewsGroup Reader
 http://piaohong.appspot.com/newsgroup


 --
 Learn Graph Databases - Download FREE O'Reilly Book
 Graph Databases is the definitive new guide to graph databases and their
 applications. Written by three acclaimed leaders in the field,
 this first edition is now available. Download your free book today!
 http://p.sf.net/sfu/NeoTech
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
()_() signature to help him gain world domination.


--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] How to use Mesa 7i90HD ?

2014-06-06 Thread andy pugh
On 5 June 2014 18:09, Peter C. Wallace p...@mesanet.com wrote:

 it uses  hardwired stride, with maybe  a complaint rather than and abort

The uart_step branch now (hopefully) does that. I wasn't easily able
to test it.
The idea was to rebase 7i90 on top of that and see if Marius's problems reduce.
(and, if so, to merge it into the 2.6 release)

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] How to use Mesa 7i90HD ?

2014-06-05 Thread Marius Alksnys
On 06/04/2014 04:39 PM, Sebastian Kuzminsky wrote: This is the right 
way to do it.
 
  Except i gave you the wrong branch name, use hm2-7i90-3 instead.


Thank you all.
My last test result is the output of dmesg:

[ 6966.289574] I-pipe: Domain RTAI registered.
[ 6966.289588] RTAI[hal]: 3.8.1 mounted over IPIPE-NOTHREADS 2.6-03.
[ 6966.289592] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 
4.4.3-4ubuntu5) .
[ 6966.289683] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL 
IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 6966.289686] PIPELINE layers:
[ 6966.289692] fa8d8e20 9ac15d93 RTAI 200
[ 6966.289696] c085cb20 0 Linux 100
[ 6966.322615] RTAI[malloc]: global heap size = 2097152 bytes, BSD.
[ 6966.322863] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: with RTAI 
OWN KTASKs, kstacks pool size = 524288 bytes.
[ 6966.322874] RTAI[sched]: hard timer type/freq = APIC/12477240(Hz); 
default timing: periodic; linear timed lists.
[ 6966.322880] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 
1597324000 hz.
[ 6966.322885] RTAI[sched]: timer setup = 999 ns, resched latency = 2943 ns.
[ 6966.323010] RTAI[usi]: enabled.
[ 6966.395160] RTAI[math]: loaded.
[ 6966.516574] hm2: loading Mesa HostMot2 driver version 0.15
[ 6966.523174] hm2_7i90: loading HostMot2 Mesa 7i90 driver version 0.3
[ 6966.523231]  hm2_7i90.0: firmware: requesting hm2/7i90/epp_sv12.bit
[ 6966.527270] hm2/hm2_7i90.0: board has FPGA '3s400tq144', but the 
firmware in hm2/7i90/epp_sv12.bit is for FPGA '6slx9tqg144'
[ 6966.527290] hm2_7i90.0: board at (ioaddr=0x0378, ioaddr_hi=0x, 
epp_wide ON) not found!
[ 6967.023488] hm2: unloading
[ 6967.217308] RTAI[math]: unloaded.
[ 6967.263783] SCHED releases registered named ALIEN RTGLBH
[ 6967.292358] RTAI[malloc]: unloaded.
[ 6967.392019] RTAI[sched]: unloaded (forced hard/soft/hard transitions: 
traps 0, syscalls 0).
[ 6967.395695] I-pipe: Domain RTAI unregistered.
[ 6967.395811] RTAI[hal]: unmounted.



--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] How to use Mesa 7i90HD ?

2014-06-05 Thread andy pugh
On 5 June 2014 09:14, Marius Alksnys marius.alks...@gmail.com wrote:

 My last test result is the output of dmesg:

 [ 6966.523231]  hm2_7i90.0: firmware: requesting hm2/7i90/epp_sv12.bit

I think that the 7i90 has permanent firmware. Try omitting the
firmware=. from the config string.

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] How to use Mesa 7i90HD ?

2014-06-05 Thread Marius Alksnys
On 06/05/2014 12:33 PM, andy pugh wrote:
 I think that the 7i90 has permanent firmware. Try omitting the
 firmware=. from the config string.

Now with firmware= omitted I get:

...
[ 1233.200543] RTAI[math]: loaded.
[ 1233.316587] hm2: loading Mesa HostMot2 driver version 0.15
[ 1233.323232] hm2_7i90: loading HostMot2 Mesa 7i90 driver version 0.3
[ 1233.324813] hm2/hm2_7i90.0: inconsistent Module Descriptor for UART 
Transmit Channel, not loading driver
[ 1233.324822] hm2/hm2_7i90.0: Version = 0, expected 0
[ 1233.324827] hm2/hm2_7i90.0: NumRegisters = 4, expected 4
[ 1233.324834] hm2/hm2_7i90.0: InstanceStride = 0x0040, expected 
0x0010
[ 1233.324840] hm2/hm2_7i90.0: MultipleRegisters = 0x000F, 
expected 0x000F
[ 1233.324846] hm2/hm2_7i90.0: inconsistent Module Descriptor!
[ 1233.324852] hm2/hm2_7i90.0: failed to parse Module Descriptor 5
[ 1233.324865] hm2_7i90.0: board at (ioaddr=0x0378, ioaddr_hi=0x, 
epp_wide ON) not found!
[ 1233.781704] hm2: unloading
[ 1233.948104] RTAI[math]: unloaded.
[ 1233.990994] SCHED releases registered named ALIEN RTGLBH
[ 1234.020356] RTAI[malloc]: unloaded.
[ 1234.120022] RTAI[sched]: unloaded (forced hard/soft/hard transitions: 
traps 0, syscalls 0).
[ 1234.123774] I-pipe: Domain RTAI unregistered.
[ 1234.123889] RTAI[hal]: unmounted.



--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] How to use Mesa 7i90HD ?

2014-06-05 Thread Andrew
2014-06-05 14:39 GMT+03:00 Marius Alksnys marius.alks...@gmail.com:

 [ 1233.324834] hm2/hm2_7i90.0: InstanceStride = 0x0040,
 expected 0x0010


Could be the problem?
--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] How to use Mesa 7i90HD ?

2014-06-05 Thread andy pugh
On 5 June 2014 12:39, Marius Alksnys marius.alks...@gmail.com wrote:


 [ 1233.324813] hm2/hm2_7i90.0: inconsistent Module Descriptor for UART
 Transmit Channel, not loading driver


Interesting. I don't know if the board uses any uarts, but you could try
num_uarts=0 as a workaround.

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto
--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] How to use Mesa 7i90HD ?

2014-06-05 Thread Marius Alksnys
On 06/05/2014 02:55 PM, andy pugh wrote:
 On 5 June 2014 12:39, Marius Alksnys marius.alks...@gmail.com wrote:


 [ 1233.324813] hm2/hm2_7i90.0: inconsistent Module Descriptor for UART
 Transmit Channel, not loading driver


 Interesting. I don't know if the board uses any uarts, but you could try
 num_uarts=0 as a workaround.


Still the same


--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] How to use Mesa 7i90HD ?

2014-06-05 Thread andy pugh
On 5 June 2014 13:03, Marius Alksnys marius.alks...@gmail.com wrote:


  Interesting. I don't know if the board uses any uarts, but you could try
  num_uarts=0 as a workaround.

 Still the same


Exactly the same, or a bit different?

I have just noticed that the num_uarts option is not documented, but it
does exist:
http://git.linuxcnc.org/gitweb?p=linuxcnc.git;a=blob;f=src/hal/drivers/mesa-hostmot2/hostmot2.c;h=223a224810c353529f6838c1189be8be118a2da5;hb=462f8094d2107178fe662add7b19ffab3a53c6cc#l433

As you are building from source it is possibly easiest to change uart.c
http://git.linuxcnc.org/gitweb?p=linuxcnc.git;a=blob;f=src/hal/drivers/mesa-hostmot2/uart.c;h=40056f30bfde58e2752e7674ee66a9ede7d6efef;hb=462f8094d2107178fe662add7b19ffab3a53c6cc#l42

Change the 0, 4, 0x10, 0x000F part to appease the driver: ie 0, 4, 0x40,
0x000F

PCW would need to say which was correct as Master is also expecting UARTs
to have a 0x10 instance stride

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto
--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] How to use Mesa 7i90HD ?

2014-06-05 Thread Peter C. Wallace
On Thu, 5 Jun 2014, Marius Alksnys wrote:

 Date: Thu, 05 Jun 2014 14:39:51 +0300
 From: Marius Alksnys marius.alks...@gmail.com
 Reply-To: Enhanced Machine Controller (EMC)
 emc-users@lists.sourceforge.net
 To: emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] How to use Mesa 7i90HD ?
 
 On 06/05/2014 12:33 PM, andy pugh wrote:
 I think that the 7i90 has permanent firmware. Try omitting the
 firmware=. from the config string.

 Now with firmware= omitted I get:

 ...
 [ 1233.200543] RTAI[math]: loaded.
 [ 1233.316587] hm2: loading Mesa HostMot2 driver version 0.15
 [ 1233.323232] hm2_7i90: loading HostMot2 Mesa 7i90 driver version 0.3
 [ 1233.324813] hm2/hm2_7i90.0: inconsistent Module Descriptor for UART
 Transmit Channel, not loading driver
 [ 1233.324822] hm2/hm2_7i90.0: Version = 0, expected 0
 [ 1233.324827] hm2/hm2_7i90.0: NumRegisters = 4, expected 4
 [ 1233.324834] hm2/hm2_7i90.0: InstanceStride = 0x0040, expected
 0x0010
 [ 1233.324840] hm2/hm2_7i90.0: MultipleRegisters = 0x000F,
 expected 0x000F
 [ 1233.324846] hm2/hm2_7i90.0: inconsistent Module Descriptor!
 [ 1233.324852] hm2/hm2_7i90.0: failed to parse Module Descriptor 5
 [ 1233.324865] hm2_7i90.0: board at (ioaddr=0x0378, ioaddr_hi=0x,
 epp_wide ON) not found!
 [ 1233.781704] hm2: unloading
 [ 1233.948104] RTAI[math]: unloaded.
 [ 1233.990994] SCHED releases registered named ALIEN RTGLBH
 [ 1234.020356] RTAI[malloc]: unloaded.
 [ 1234.120022] RTAI[sched]: unloaded (forced hard/soft/hard transitions:
 traps 0, syscalls 0).
 [ 1234.123774] I-pipe: Domain RTAI unregistered.
 [ 1234.123889] RTAI[hal]: unmounted.


What firmware do you want on the 7I90?

I would first flash the 7I90 with the desired firmware (using the latest 
version of mesaflash)

https://github.com/micges/mesaflash

The firmware with the UART has a bug, (this is do to the fact that all the 
7I90 firmware is built with a script and the script does not fix the strides 
properly for the UART)

If the 7I90 was shipped with that firmware, thats definately a mistake

If you need firmware with a UART I will patch the bitfiles containing UARTs
But note that currently due to limitations in the IDROM format it is not 
possible to combine UARTs with SSerial or BSPI. It may be that for now (until 
IDROM V4) that the HM2 driver needs to be patched so that if a UART is fount 
it uses  hardwired stride, with maybe  a complaint rather than and abort






 --
 Learn Graph Databases - Download FREE O'Reilly Book
 Graph Databases is the definitive new guide to graph databases and their
 applications. Written by three acclaimed leaders in the field,
 this first edition is now available. Download your free book today!
 http://p.sf.net/sfu/NeoTech
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
()_() signature to help him gain world domination.


--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] How to use Mesa 7i90HD ?

2014-06-05 Thread andy pugh
On 5 June 2014 14:00, Peter C. Wallace p...@mesanet.com wrote:

  It may be that for now (until
 IDROM V4) that the HM2 driver needs to be patched so that if a UART is
 fount
 it uses  hardwired stride, with maybe  a complaint rather than and abort


I will try to do that tonight, it's a simple fix.


-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto
--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] How to use Mesa 7i90HD ?

2014-06-05 Thread Peter C. Wallace
On Thu, 5 Jun 2014, andy pugh wrote:

 Date: Thu, 5 Jun 2014 14:20:55 +0100
 From: andy pugh bodge...@gmail.com
 Reply-To: Enhanced Machine Controller (EMC)
 emc-users@lists.sourceforge.net
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] How to use Mesa 7i90HD ?
 
 On 5 June 2014 14:00, Peter C. Wallace p...@mesanet.com wrote:

  It may be that for now (until
 IDROM V4) that the HM2 driver needs to be patched so that if a UART is
 fount
 it uses  hardwired stride, with maybe  a complaint rather than and abort


 I will try to do that tonight, it's a simple fix.


That would be great! Seems like a few people are starting to use
the UART interface and eventually it will collide with sserial or BSPI


 -- 
 atp
 If you can't fix it, you don't own it.
 http://www.ifixit.com/Manifesto
 --
 Learn Graph Databases - Download FREE O'Reilly Book
 Graph Databases is the definitive new guide to graph databases and their
 applications. Written by three acclaimed leaders in the field,
 this first edition is now available. Download your free book today!
 http://p.sf.net/sfu/NeoTech
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
()_() signature to help him gain world domination.


--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] How to use Mesa 7i90HD ?

2014-06-04 Thread Marius Alksnys
What exact commands should execute to get sources, binaries of 
hm2-7i90 branch?

I am following instructions given in 
http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Installing_LinuxCNC#Getting_the_source_with_git

but I am stuck with the line as in example:
git branch --track v2.5_branch origin/v2.5_branch

I tried:
git branch --track v2.7_branch origin/hm2-7i90
and
git branch --track v2.5_branch origin/hm2-7i90

But I think it is not right.


On 06/03/2014 08:32 PM, Sebastian Kuzminsky wrote:
 On 6/3/14 10:07 , andy pugh wrote:
 On 3 June 2014 16:57, propcoder marius.alks...@gmail.com wrote:
 I have bit files, but can't find hm2_7i90 driver. I want to
connect to it using epp lpt port.

 Have you tried the hm2_7i43 driver? (It might work, I don't know for sure)

 The hm2_7i43 driver will not drive the 7i90.

 There's an experimental 7i90 driver that Kim Kirwan and I wrote last
 summer in the branch called hm2-7i90 on git.linuxcnc.org.  It's not in
 its final form yet, but if you try it and report back we'll be closer to
 merging it.





--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] How to use Mesa 7i90HD ?

2014-06-04 Thread sam sokolik
I think you do something like

git branch --track hm2-7i90 origin/hm2-7i90

then

git checkout hm2-7i90

(from that point then)
cd src
./autogen.sh
(and so on)


On 06/04/2014 07:48 AM, Marius Alksnys wrote:
 What exact commands should execute to get sources, binaries of
 hm2-7i90 branch?

 I am following instructions given in
 http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Installing_LinuxCNC#Getting_the_source_with_git

 but I am stuck with the line as in example:
 git branch --track v2.5_branch origin/v2.5_branch

 I tried:
 git branch --track v2.7_branch origin/hm2-7i90
 and
 git branch --track v2.5_branch origin/hm2-7i90

 But I think it is not right.


 On 06/03/2014 08:32 PM, Sebastian Kuzminsky wrote:
 On 6/3/14 10:07 , andy pugh wrote:
 On 3 June 2014 16:57, propcoder marius.alks...@gmail.com wrote:
 I have bit files, but can't find hm2_7i90 driver. I want to
 connect to it using epp lpt port.
 Have you tried the hm2_7i43 driver? (It might work, I don't know for sure)
 The hm2_7i43 driver will not drive the 7i90.

 There's an experimental 7i90 driver that Kim Kirwan and I wrote last
 summer in the branch called hm2-7i90 on git.linuxcnc.org.  It's not in
 its final form yet, but if you try it and report back we'll be closer to
 merging it.




 --
 Learn Graph Databases - Download FREE O'Reilly Book
 Graph Databases is the definitive new guide to graph databases and their
 applications. Written by three acclaimed leaders in the field,
 this first edition is now available. Download your free book today!
 http://p.sf.net/sfu/NeoTech
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] How to use Mesa 7i90HD ?

2014-06-04 Thread Sebastian Kuzminsky
On 06/04/2014 07:13 AM, sam sokolik wrote:
 I think you do something like
 
 git branch --track hm2-7i90 origin/hm2-7i90
 
 then
 
 git checkout hm2-7i90

This is the right way to do it.

Except i gave you the wrong branch name, use hm2-7i90-3 instead.

And be warned that this branch is based on a about a 9 month old version
of linuxcnc, so somethings will be out of date...

Thanks for testing.


-- 
Sebastian Kuzminsky

--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] How to use Mesa 7i90HD ?

2014-06-04 Thread andy pugh
On 4 June 2014 14:39, Sebastian Kuzminsky s...@highlab.com wrote:
 And be warned that this branch is based on a about a 9 month old version
 of linuxcnc, so somethings will be out of date...

Is there any significant danger in an immediate merge into master?

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] How to use Mesa 7i90HD ?

2014-06-04 Thread Sebastian Kuzminsky
On 06/04/2014 07:43 AM, andy pugh wrote:
 On 4 June 2014 14:39, Sebastian Kuzminsky s...@highlab.com wrote:
 And be warned that this branch is based on a about a 9 month old version
 of linuxcnc, so somethings will be out of date...
 
 Is there any significant danger in an immediate merge into master?

There are some code review issues from Jeff that i have to address
before merging into master.

The 7i90 also needs a stand-alone utility for flashing the firmware,
that is not done as part of loading the driver in LinuxCNC.  Michał
Geszkiewicz wrote it, it's called mesaflash, but i don't know if it's
available packaged for our users anywhere...


-- 
Sebastian Kuzminsky

--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] How to use Mesa 7i90HD ?

2014-06-04 Thread sam sokolik
I don't see the mesa flash utility being a problem..  The 5i25 and 
people are getting by (you get it when you download the support software 
from mesa - I just checked and it is also in the 7i90 software 
package).  it will be nice when it is part of the linuxcnc repository 
though..

sam
On 06/04/2014 09:33 AM, Sebastian Kuzminsky wrote:
 On 06/04/2014 07:43 AM, andy pugh wrote:
 On 4 June 2014 14:39, Sebastian Kuzminsky s...@highlab.com wrote:
 And be warned that this branch is based on a about a 9 month old version
 of linuxcnc, so somethings will be out of date...
 Is there any significant danger in an immediate merge into master?
 There are some code review issues from Jeff that i have to address
 before merging into master.

 The 7i90 also needs a stand-alone utility for flashing the firmware,
 that is not done as part of loading the driver in LinuxCNC.  Michał
 Geszkiewicz wrote it, it's called mesaflash, but i don't know if it's
 available packaged for our users anywhere...




--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] How to use Mesa 7i90HD ?

2014-06-03 Thread andy pugh
On 3 June 2014 16:57, propcoder marius.alks...@gmail.com wrote:
 I have bit files, but can't find hm2_7i90 driver. I want to
  connect to it using epp lpt port.

Have you tried the hm2_7i43 driver? (It might work, I don't know for sure)


-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] How to use Mesa 7i90HD ?

2014-06-03 Thread Peter C. Wallace
On Tue, 3 Jun 2014, andy pugh wrote:

 Date: Tue, 3 Jun 2014 17:07:45 +0100
 From: andy pugh bodge...@gmail.com
 Reply-To: Enhanced Machine Controller (EMC)
 emc-users@lists.sourceforge.net
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] How to use Mesa 7i90HD ?
 
 On 3 June 2014 16:57, propcoder marius.alks...@gmail.com wrote:
 I have bit files, but can't find hm2_7i90 driver. I want to
  connect to it using epp lpt port.

 Have you tried the hm2_7i43 driver? (It might work, I don't know for sure)


You need to use the hm2_7i90 branch currently to run a 7I90. hm2_7i43 does not 
work because it tries to download firmware to the 7I90 even if no firmware is 
specified on the config line. At some point I am hoping that the hm2_7I43 and 
hm2_7i90 can be merged into hm2_epp



 -- 
 atp
 If you can't fix it, you don't own it.
 http://www.ifixit.com/Manifesto

 --
 Learn Graph Databases - Download FREE O'Reilly Book
 Graph Databases is the definitive new guide to graph databases and their
 applications. Written by three acclaimed leaders in the field,
 this first edition is now available. Download your free book today!
 http://p.sf.net/sfu/NeoTech
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
()_() signature to help him gain world domination.


--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] How to use Mesa 7i90HD ?

2014-06-03 Thread Sebastian Kuzminsky
On 6/3/14 10:07 , andy pugh wrote:
 On 3 June 2014 16:57, propcoder marius.alks...@gmail.com wrote:
 I have bit files, but can't find hm2_7i90 driver. I want to
   connect to it using epp lpt port.

 Have you tried the hm2_7i43 driver? (It might work, I don't know for sure)

The hm2_7i43 driver will not drive the 7i90.

There's an experimental 7i90 driver that Kim Kirwan and I wrote last 
summer in the branch called hm2-7i90 on git.linuxcnc.org.  It's not in 
its final form yet, but if you try it and report back we'll be closer to 
merging it.


-- 
Sebastian Kuzminsky

--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] How to use Mesa 7i90HD ?

2014-06-03 Thread Sebastian Kuzminsky
On 06/03/2014 10:40 AM, Peter C. Wallace wrote:
 
 You need to use the hm2_7i90 branch currently to run a 7I90. hm2_7i43 does 
 not 
 work because it tries to download firmware to the 7I90 even if no firmware is 
 specified on the config line. At some point I am hoping that the hm2_7I43 and 
 hm2_7i90 can be merged into hm2_epp

IIRC there is no reliable way to differentiate between the 7i43 and the
7i90 via EPP.  If that's right, we still need some user configuration to
tell what we're connected to.

The hm2-7i90 branch on g.l.o pulls out the epp communication code to a
library (of sorts), shared by hm2_7i43 and hm2_7i90, so there's some
code reuse...


-- 
Sebastian Kuzminsky

--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] How to use Mesa 7i90HD ?

2014-06-03 Thread Peter C. Wallace
On Tue, 3 Jun 2014, Sebastian Kuzminsky wrote:

 Date: Tue, 03 Jun 2014 19:45:24 -0600
 From: Sebastian Kuzminsky s...@highlab.com
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] How to use Mesa 7i90HD ?
 
 On 06/03/2014 10:40 AM, Peter C. Wallace wrote:

 You need to use the hm2_7i90 branch currently to run a 7I90. hm2_7i43 does 
 not
 work because it tries to download firmware to the 7I90 even if no firmware is
 specified on the config line. At some point I am hoping that the hm2_7I43 and
 hm2_7i90 can be merged into hm2_epp

 IIRC there is no reliable way to differentiate between the 7i43 and the
 7i90 via EPP.  If that's right, we still need some user configuration to
 tell what we're connected to.

If the card is configured (and the 7I90 always is configured or broken)  you 
can read the card name field of the hm2 IDROM.

So if firmware is not specified in the config string the driver should assume 
the card is preconfigured and proceed to reading the IDROM (this will also 
work with 7I43s that are jumpered to use their on card flash for 
configuration)



 The hm2-7i90 branch on g.l.o pulls out the epp communication code to a
 library (of sorts), shared by hm2_7i43 and hm2_7i90, so there's some
 code reuse...


 -- 
 Sebastian Kuzminsky

 --
 Learn Graph Databases - Download FREE O'Reilly Book
 Graph Databases is the definitive new guide to graph databases and their
 applications. Written by three acclaimed leaders in the field,
 this first edition is now available. Download your free book today!
 http://p.sf.net/sfu/NeoTech
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
()_() signature to help him gain world domination.


--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users