Mesa 5i25 and 7i76

More
14 Jun 2016 08:43 #75967 by finemeca
Mesa 5i25 and 7i76 was created by finemeca
Hello,
I'm testing with a mesa 5i25 and 7i76

I flashed with the command:
sudo mesaflash --device 5I25 --write 5i25_7i76x2.bit

Control :
sudo mesaflash --device 5I25 --verify 5i25_7i76x2.bit

tour-mondial@tour-mondial:~/Téléchargements/5i25/configs/hostmot2$ sudo mesaflash --device 5I25 --verify 5i25_7i76x2.bit
Checking file... OK
File type: BIT file
Boot sector OK
Verifying EEPROM sectors starting from 0x100000...
|VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV
Board configuration verified successfully.


The CR1 and CR2 LEDs are illuminated

mesa 5i25 card:

W1 - UP
W2 - UP

mesa 7i76 card:

W2 - left --> power pc db 25
W1 - right--> power 24v ext

I run the command:
halrun
halcmd: loadrt threads name1=th period1=1000000
halcmd: loadrt hostmot2
halcmd: loadrt hm2_pci
halcmd: addf hm2_5i25.0.pet_watchdog th
HAL:[b] ERROR: function 'hm2_5i25.0.pet_watchdog' not found[/b]
<stdin>:4: addf failed
halcmd: addf hm2_5i25.0.read th
halcmd: addf hm2_5i25.0.write th
halcmd: start
halcmd: setp hm2_5i25.0.7i76.0.0.output-07 true
<[b]stdin>:8: parameter or pin 'hm2_5i25.0.7i76.0.0.output-07' not found[/b]

What is going on ????

A flashing problem ????

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

More
14 Jun 2016 11:07 #75985 by andypugh
Replied by andypugh on topic Mesa 5i25 and 7i76
You no longer need to pet the watchdog, it is now self-petting through the write thread.

Try the sequence again, but try "show pin" to get a list of the pins.

The likely problem is that the GPIO system is powered by the field power. With no field power to the GPIO section those pins won't be enumerated.

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

More
14 Jun 2016 11:32 #75991 by finemeca
Replied by finemeca on topic Mesa 5i25 and 7i76
Hello Andy,

Thank you for your help.

I do :
halcmd:  loadrt threads name1=th period1=1000000
halcmd: loadrt hostmot2
halcmd: loadrt hm2_pci
halcmd: show pin

Here's the answer :

No reference to 7i76 card
Why there are 24 V or 17.6v to terminal TB5 and TB6 ???

Warning: Spoiler!

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

More
14 Jun 2016 11:53 #75995 by andypugh
Replied by andypugh on topic Mesa 5i25 and 7i76

Why there are 24 V or 17.6v to terminal TB5 and TB6 ???


You need to wire TB1 to the power supply. (correctly, and carefully).
See page 10 of www.mesanet.com/pdf/parallel/7i76man.pdf
To be absolutely sure you have the correct polarity, pin 1 has a square solder pad.
You don't need to connect all VFIELD, they are commoned on the board.

Look also at the W1 setting and VIN power source paragraph on Page 2.

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

More
14 Jun 2016 12:17 #75998 by finemeca
Replied by finemeca on topic Mesa 5i25 and 7i76
I attach a photo of the card.

The black wire is ground TB1
Red is the + 24v

Can there be a malfunction of the card ???
Attachments:

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

More
14 Jun 2016 12:43 #76000 by andypugh
Replied by andypugh on topic Mesa 5i25 and 7i76
You could try it with jumper W1 to the left.

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

More
14 Jun 2016 13:09 #76004 by PCW
Replied by PCW on topic Mesa 5i25 and 7i76
Right, unless you have separate VIN and VFIELD, W1 must be in the left hand position

Also, if the 5I25 firmware needed updating (if you got the cards as a set, this is not necessary)
you need to power cycle the PC to load the new firmware, or use mesaflash's --reload command:

sudo mesaflash --device 5i25 --reload

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

More
14 Jun 2016 13:36 #76009 by finemeca
Replied by finemeca on topic Mesa 5i25 and 7i76
Wow, does it work.

I second flight the example here:

softsolder.com/?s=mesa

Andy thank you et PCW.

English is not my Maternal language.
Not easy to understand the mesa system.
After my tests, I'll be ok

I surely will come back later to ask more questions

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

Moderators: cmorley
Time to create page: 0.152 seconds
Powered by Kunena Forum