retrospy / RetroSpy

Live controller viewer for Nintendo consoles as well as many other retro consoles and computers. Includes viewer application for Windows, and Arduino sketch for hardware interface.
https://retro-spy.com
GNU General Public License v3.0
145 stars 22 forks source link

Input display fails when connected to MiSTer SNAC adapter #194

Closed xexzy closed 2 years ago

xexzy commented 3 years ago

When attempting to use an input display and a SNAC adapter with the NES core, improper inputs are read. With one controller, all buttons were read as being pressed, another controller resulted in various buttons other than what was pressed, another controller resulted in no inputs being read, and a dog bone (nes-039). If an input display is not in place, the SNAC adapter works. The input display also functions properly when plugged into my NES or into a USB adapter then plugged into the MiSTer as a USB controller.

It was suggested to try flashing the SNES firmware but use a NES controller and this also failed.

zoggins commented 3 years ago

So its actually scrambling inputs or just scrambling the display of inputs? I will get out my SNAC adapter and see if I can repro. What Arduino are you using? What version of the MiSTer I/O board?

From: xexzy @.> Sent: Thursday, August 19, 2021 14:06 To: retrospy/RetroSpy @.> Cc: Subscribed @.***> Subject: [retrospy/RetroSpy] Input display fails when connected to MiSTer SNAC adapter (#194)

When attempting to use an input display and a SNAC adapter with the NES core, improper inputs are read. With one controller, all buttons were read as being pressed, another controller resulted in various buttons other than what was pressed, another controller resulted in no inputs being read, and a dog bone (nes-039). If an input display is not in place, the SNAC adapter works. The input display also functions properly when plugged into my NES or into a USB adapter then plugged into the MiSTer as a USB controller.

It was suggested to try flashing the SNES firmware but use a NES controller and this also failed.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/retrospy/RetroSpy/issues/194, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AE2CEVRBKWKRLPY6G6ZNNELT5VW3FANCNFSM5CPATB5Q.

zoggins commented 3 years ago

Well the bad news is I can’t repro on my end. Does your cable connect to Arduino GND? Does behavior change in different games? I am sure we can get to the bottom of this. Just trying to figure out what is different between your setup and mine.

From: xexzy @.> Sent: Thursday, August 19, 2021 14:06 To: retrospy/RetroSpy @.> Cc: Subscribed @.***> Subject: [retrospy/RetroSpy] Input display fails when connected to MiSTer SNAC adapter (#194)

When attempting to use an input display and a SNAC adapter with the NES core, improper inputs are read. With one controller, all buttons were read as being pressed, another controller resulted in various buttons other than what was pressed, another controller resulted in no inputs being read, and a dog bone (nes-039). If an input display is not in place, the SNAC adapter works. The input display also functions properly when plugged into my NES or into a USB adapter then plugged into the MiSTer as a USB controller.

It was suggested to try flashing the SNES firmware but use a NES controller and this also failed.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/retrospy/RetroSpy/issues/194, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AE2CEVRBKWKRLPY6G6ZNNELT5VW3FANCNFSM5CPATB5Q.

xexzy commented 3 years ago

the only controller I have been able to get to function properly with both the mister and the retrospy is the stock dogbone. I've noticed that different chips within oem controllers have different results. Here's a short video where the retrospy is showing the correct inputs but the mister is reading incorrect inputs https://youtu.be/1dA46yPqrm4 my mister version is 210803 os v210711 and my retrospy should have the latest firmware on it. I'm sorry to say I don't know for sure if the ground is connected to the arduino ground. I didn't put these together, but both of mine do not look like they have a ground wired to the arduino ground. (thank you for your prompt response too)

zoggins commented 3 years ago

All I have to test with is stock OEM rectangle controllers? Do you have a picture of a misbehaving controller? I might be able to get one to test.

From: xexzy @.> Sent: Thursday, August 19, 2021 14:53 To: retrospy/RetroSpy @.> Cc: Christopher Mallery @.>; Comment @.> Subject: Re: [retrospy/RetroSpy] Input display fails when connected to MiSTer SNAC adapter (#194)

the only controller I have been able to get to function properly with both the mister and the retrospy is the stock dogbone. I've noticed that different chips within oem controllers have different results. Here's a short video where the retrospy is showing the correct inputs but the mister is reading incorrect inputs https://youtu.be/1dA46yPqrm4 my mister version is 210803 os v210711 and my retrospy should have the latest firmware on it. I'm sorry to say I don't know for sure if the ground is connected to the arduino ground. I didn't put these together, but both of mine do not look like they have a ground wired to the arduino ground. (thank you for your prompt response too)

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/retrospy/RetroSpy/issues/194#issuecomment-902274123, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AE2CEVRSCKKB4JW6JBUS3QDT5V4MRANCNFSM5CPATB5Q.

xexzy commented 3 years ago

The one in that video is an oem brick that has an aftermarket IC to make it function again (chip was purchased at https://www.amazon.com/gp/product/B082X7BWNR/ref=ppx_yo_dt_b_asin_title_o01_s00?ie=UTF8&psc=1). The other controller that behaves the same way has the same replacement chip. Another controller that shows all buttons being pressed (on both the mister and the input display) has a MC1421BCP IC. I believe this is an OEM board. And the dogbone has a 4021BF IC. If you would like picture of the inside I will try to make that happen.

40wattrange commented 3 years ago

Just to leave a note here, this could be at fault of the SNAC adapter. I know there was a version that was out there for a while that had improper chips on it, and OEM controllers didnt work well with it at all and was later revised.

It could be possible that this was the case in this situation if you cant reproduce it.

I know the SNAC version I have does not work with RetroBit Genesis controllers at all.

zoggins commented 2 years ago

Is this still aproblem

zoggins commented 2 years ago

closing from inactivity. Feel free to repopen if necessary.