[Solved]7i76e missing field IO with custom firmware

More
06 Aug 2020 12:04 - 18 Aug 2020 19:30 #177499 by drmclem
Hi

I have a similar problem to www.forum.linuxcnc.org/39-pncconf/38078-...io-ports-pins-solved but mine appears to be firmware related. I've built a custom firmware to include a PWM and PkUART which is all working fine but with this firmware loaded the field-io pins, such as hm2_7i76e.0.7i76.0.0.input-04, don't show up when loaded up. If I revert to the original firmware,which I think is 7i76e_7i76x1D.bit, all is fine and the pins are back.

I wasn't sure which was the base source code for this and I based my new firmware on hostmot2/source/PIN_7I76x1D_51.vhd - was this the correct choice - and if so - anyone know what I've messed up ?

Many thanks

Matthew
Last edit: 18 Aug 2020 19:30 by drmclem. Reason: solved

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

More
06 Aug 2020 14:39 #177516 by tommylight
Moved to "driver boards"

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

More
06 Aug 2020 14:52 #177521 by rodw
I know I'm not helping but what is planned for the UART?

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

More
06 Aug 2020 15:40 #177525 by PCW
What does mesaflash --readhmid show?

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

More
08 Aug 2020 14:20 #177684 by drmclem
Hi - this is the application -
a remote display board and I'm also working on a remote control quill controll for drilling.

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

More
08 Aug 2020 15:39 #177687 by drmclem
Hi

Attached are the dumps from mesflash as shipped, and with my firmware - I'm using the linuxCNC 2.9.0-pre0-2304-g424c1cb59 version to correctly identify the pkUART tags but I think mesflash is an older version so has them as (unknown-gtag-27) and (unknown-gtag-28).

Thanks

Matthew
Attachments:

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

More
08 Aug 2020 17:59 #177695 by PCW
Yeah, there's no sserial module in your configuration so no 7I76E field I/O

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

More
08 Aug 2020 18:09 #177697 by drmclem
Thanks -

I didn't realise they were co-dependant, I wanted to re-purpose the pins on the RS422 interface (TB3 - 16 and 18) as 5V pins for the TTL pkUART module as 5V pins are a bit short supply. Is it sufficient just to have the module present to get the field-IO definitions or do I have to keep the RS422 as original ?

Matthew

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

More
08 Aug 2020 18:14 - 08 Aug 2020 18:16 #177698 by PCW
They are not co-dependent but you need to leave the sserial module installed
and the sserial pins that connect to the field I/O with their original definitions.
Last edit: 08 Aug 2020 18:16 by PCW.

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

More
08 Aug 2020 21:32 #177718 by rodw
PCW made a 7i76e with PK_uart support here.
forum.linuxcnc.org/27-driver-boards/3328...6e-with-uart?start=0
Not sure if that will help

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

Moderators: PCWjmelson
Time to create page: 0.723 seconds
Powered by Kunena Forum