[Solved]7i76e missing field IO with custom firmware
06 Aug 2020 12:04 - 18 Aug 2020 19:30 #177499
by drmclem
[Solved]7i76e missing field IO with custom firmware was created 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
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.
- tommylight
- Away
- Moderator
Less
More
- Posts: 17633
- Thank you received: 5872
06 Aug 2020 14:39 #177516
by tommylight
Replied by tommylight on topic 7i76e missing field IO with custom firmware
Moved to "driver boards"
Please Log in or Create an account to join the conversation.
06 Aug 2020 14:52 #177521
by rodw
Replied by rodw on topic 7i76e missing field IO with custom firmware
I know I'm not helping but what is planned for the UART?
Please Log in or Create an account to join the conversation.
06 Aug 2020 15:40 #177525
by PCW
Replied by PCW on topic 7i76e missing field IO with custom firmware
What does mesaflash --readhmid show?
Please Log in or Create an account to join the conversation.
08 Aug 2020 14:20 #177684
by drmclem
Replied by drmclem on topic 7i76e missing field IO with custom firmware
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.
08 Aug 2020 15:39 #177687
by drmclem
Replied by drmclem on topic 7i76e missing field IO with custom firmware
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
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
Please Log in or Create an account to join the conversation.
08 Aug 2020 17:59 #177695
by PCW
Replied by PCW on topic 7i76e missing field IO with custom firmware
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.
08 Aug 2020 18:09 #177697
by drmclem
Replied by drmclem on topic 7i76e missing field IO with custom firmware
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
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.
08 Aug 2020 18:14 - 08 Aug 2020 18:16 #177698
by PCW
Replied by PCW on topic 7i76e missing field IO with custom firmware
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.
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.
08 Aug 2020 21:32 #177718
by rodw
Replied by rodw on topic 7i76e missing field IO with custom firmware
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
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.
Time to create page: 0.723 seconds