I have an Arduino Ethernet shield board attached to an Arty S7-50. The Ethernet board goes stupid after running for awhile and refuses commands - has to be power reset and I would like ArtyS7 to handle it.
The Spartan S7 has a reset input on pin C18 (CK_RST) that connects to the power button on the Arty S7.
The Arty S7 manual shows that pin C18 is also driven by the FTDI FT2232 USB-UART bridge via JP2.
According to the Arty S7 manual, the RST pin on the shield connector J8 (which I would like to bounce) is "Connected to the red "RESET" button and a Digital I/O of the FPGA. When JP2 is shorted, it is also connected to the DTR signal of the FTDI USB-UART bridge."
1. Maybe I could reset the Ethernet board by bouncing the DTR signal on the FTDI bridge? I'm not sure how to directly access the FTDI.
The manual says "The red reset button labeled “RESET” generates a high output when at rest and a low output when pressed. The RESET button is intended to be used in Microblaze designs to reset the processor, but you can also use it as a general purpose push button."
2. If the reset button could also be used for general purposes, there must be some way to disconnect it from RESET. How would I program this button for general purposes? (I don't have it defined in Vivado)
Maybe C18 could be tied to a GPIO pin (via the Vivaldo block diagram) to pull it low to cause a reset. I realize that if this did work, it would reset the ArtyS7 as well as the Ethernet board.
3. Has anyone ever done anything like this to C18 CK_RST?
An idea I saw mentioned for the Ethernet board was to disconnect its RST pin from the connector (J8 counterpart) and wire it to one of the digital GPIO lines in the shield connector.
4. This could allow ArtyS7 to control the Ethernet board reset via GPIO. Has anyone ever done this?
Question
baywil
I have an Arduino Ethernet shield board attached to an Arty S7-50. The Ethernet board goes stupid after running for awhile and refuses commands - has to be power reset and I would like ArtyS7 to handle it.
The Spartan S7 has a reset input on pin C18 (CK_RST) that connects to the power button on the Arty S7.
The Arty S7 manual shows that pin C18 is also driven by the FTDI FT2232 USB-UART bridge via JP2.
According to the Arty S7 manual, the RST pin on the shield connector J8 (which I would like to bounce) is "Connected to the red "RESET" button and a Digital I/O of the FPGA. When JP2 is shorted, it is also connected to the DTR signal of the FTDI USB-UART bridge."
1. Maybe I could reset the Ethernet board by bouncing the DTR signal on the FTDI bridge? I'm not sure how to directly access the FTDI.
The manual says "The red reset button labeled “RESET” generates a high output when at rest and a low output when pressed. The RESET button is intended to be used in Microblaze designs to reset the processor, but you can also use it as a general purpose push button."
2. If the reset button could also be used for general purposes, there must be some way to disconnect it from RESET. How would I program this button for general purposes? (I don't have it defined in Vivado)
Maybe C18 could be tied to a GPIO pin (via the Vivaldo block diagram) to pull it low to cause a reset. I realize that if this did work, it would reset the ArtyS7 as well as the Ethernet board.
3. Has anyone ever done anything like this to C18 CK_RST?
An idea I saw mentioned for the Ethernet board was to disconnect its RST pin from the connector (J8 counterpart) and wire it to one of the digital GPIO lines in the shield connector.
4. This could allow ArtyS7 to control the Ethernet board reset via GPIO. Has anyone ever done this?
Any thoughts would be appreciated!
Thanks!
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now