On Mon, 8 May 2017, Gene Heskett wrote:

> Date: Mon, 8 May 2017 10:30:53 -0400
> From: Gene Heskett <ghesk...@shentel.net>
> Reply-To: "Enhanced Machine Controller (EMC)"
>     <emc-users@lists.sourceforge.net>
> To: emc-users@lists.sourceforge.net
> Subject: Re: [Emc-users] stracing why linuxcnc will not run
> 
> On Monday 08 May 2017 08:37:17 andy pugh wrote:
>
>> On 6 May 2017 at 17:48, Gene Heskett <ghesk...@shentel.net> wrote:
>>> Unknown board: HOST????
>>> hm2_rpspi: rtapi_app_main: Operation not permitted (-1)
>>>
>>> Could this be an indicator of a total failure of the 7i90 card?
>>
>> I didn't think so.
>>
>> https://github.com/LinuxCNC/linuxcnc/blob/master/src/hal/drivers/mesa-
>> hostmot2/hm2_rpspi.c#L295
>>
> Now we are getting somewhere, thats precisely the code that would spit
> this out, thank you very much Andy.
>
>>  It reads 8 characters from 0x40c using the SPI interface, so the 7i90
>> is talking, but it seems to be saying "HOST????" rather than
>> "MESA7i90"
>>
>> Maybe a funny firmware? Maybe a wrong assumption by the driver?
>
> This sounds like I should take that card back to the old Dell with a
> parport cable hanging out of it, plug it in. Move the jumper that makes
> it boot from the backup firmware, which will re-enable the parport,
> power it up, put the jumper back, and re-flash it again?


Reflashing with the same bitfile is very unlikely to make any difference. The 
FPGA CRC checks the bitfile on loading and if it has an error it will not 
load (and you will get  red /INIT and /DONE LEDs)

>
> Thats complicated as not all of the i/o is currently in those 2x10 header
> plugs, and getting it hooked back may be a problem. This card also has
> some blown i/o, causing me to have to move stepgen assignments.  This
> might be a good excuse to use my last new 7i90, and install noise
> snubbers on all i/o as I do. ATM I have those snubbers only in the home
> switch and jog dial lines.
>
> This would be a heck of a lot easier if I was to buy 3 of the 50 pin
> 7i42TA breakout boards, which are already snubbed. But thats another
> $150, and the 50 pin cables to hook them to the 7i90 will have to be
> folded at right angles. Or just stack mounted in a staggered so all the
> screws and wire entries are accessible. gotta do some thinking on that.
> That would make 4 to 6 inch long 50 pin cables doable.  Humm.  Checking
> to see if Peter or John have any short cables. AIO cable at $15/copy
> x3=$45, but its a foot long but I'd hope the connectors are easily
> disassembled as 6" would be enough if they were mounted in staggered
> style.  I'll have to make the mounts, but isn't that what we do... :)
>
> Questions: mesaflash has a verify cmd. Will that detect the blown
> drivers? I'm assuming it will detect the bad identifier.
>

No, mesaflash's verify command only checks the flash EEPROM contents.
There is a loopback program we use to verify I/O (loop72) This requires a flat 
cable connecting all 3 I/O connectors

> mesaflash3 has some different cmds, when programming, is there a
> preference of one or the other version of mesaflash?
>
> Thank you Andy, for taking the time to look this up.
>
> Cheers, Gene Heskett
> -- 
> "There are four boxes to be used in defense of liberty:
> soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author)
> Genes Web page <http://geneslinuxbox.net:6309/gene>
>

Peter Wallace
Mesa Electronics

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


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to