Homepage › Forums › RetroPie Project › Everything else related to the RetroPie Project › RetroPie GPIO Adapter Issues
Tagged: gpio adapter
- This topic has 12 replies, 2 voices, and was last updated 11 years, 1 month ago by petrockblog.
-
AuthorPosts
-
09/26/2013 at 05:14 #2824mylostcauseParticipant
I have my GPIO and have assembled it. All of my solder points look(ed) clean but once in attached to the RPi, the RPi fails to boot. If I leave the ribbon cable off the GPIO adapter than only the power light shows on the RPi. With the ribbon cable attached my LED on the controller breakout lights and additional lights are lit on the RPi, but it doesn’t boot up.
I’ve wired the ribbon cable to the original circuit board that came in the SNES case. I’ve tested shorts between different pins with a multimeter and haven’t found anything that seems too telling. Any suggestions would be appreciated before I try to desolder the whole system and build it again.
09/27/2013 at 07:09 #2826petrockblogKeymasterDid you disable “safe mode”? It is needed so that the RPi boots up: Excerpt from the RetroPie GPIO article:
Adding a jumper between pins 5 and 6 of P1 results in /boot/config.txt being ignored (except for avoid_safe_mode) and a default cmdline.txt is applied, followed by loading kernel_emergency.img. As stated in the official forumif you connect external hardware to that pin, the worst that will happen is it falsely triggers safe mode.
To avoid this safe mode when the adapter is attached a setting has to be made in /boot/config.txt. This could be done, for example, by opening the config.txt withsudo nano /boot/config.txt
adding
avoid_safe_mode=1
and saving the changes with “Ctrl-X”, which has to be confirmed with “Y”.
Also, the 2×5 pin header needs to point inwards, i.e, the center of the RPi PCB.
Could you post one or two pictures of your assembled adapter here?
09/27/2013 at 14:02 #2833mylostcauseParticipantYes, avoid_safe_mode is set to 1 in my config.txt file and the 2×5 pin header is pointing in towards the center of the RPi.
Things that I’ve noticed is there is a roughtly 7.5 M Ohm resistance showing between the VCC and the Ground at all times, even with the ribbon cable unplugged. Also going in to the NSES circuit board I have cut a few of the redundant wires short as some of these are shard on the board (vcc, ground, clock) and this can be seen in the image.
09/27/2013 at 14:06 #2834mylostcauseParticipantThe last post seemed to strip out my link to the album which is currently at imgur.com/a/kgjEd in larger formats
09/27/2013 at 16:23 #2838petrockblogKeymasterI just had a look on one of my boards with only the tri-state buffer and resistor assembled. I could not measure any resistance between VCC and GND.
If you tell me which test points you are using I could provide the measured resistances of another working and fully assembled GPIO adapter.
09/27/2013 at 17:23 #2842mylostcauseParticipantThe value shows up between the VCC and Ground on the 2×5 pins and the pins to the board from the 2×13 (pin 1 and 6 I believe) at the solder points on the board.
10/02/2013 at 22:31 #2853petrockblogKeymasterHmm, I cannot confirm this resistance, see the attached images.
10/09/2013 at 02:23 #2888mylostcauseParticipantI’ve gone ahead and purchased and assembled a 2nd GPIO adapter, and this one does not have the resistance issues or cause the RPi to hold on boot. I now have a new issue.
Whenever I attempt to enable gamecon_gpio_rpi with SNES-pad config, the system dies with an “Unable to handle kernel paging request” error.
I am not overclocking in any way and have tried to slow the system down in hopes of getting it to work. That did not. Hopefully someone has some suggestions.
10/09/2013 at 21:26 #2898petrockblogKeymasterThe gamecon driver was written by the community member “Marqs” (see http://www.raspberrypi.org/phpBB3/viewtopic.php?f=78&t=15787&p=433388&hilit=gamecon#p433388). I do not know how to solve possible problems between Raspbian and the gamecon driver.
Also, I do recommend to use only SNESDev when you are using the RetroPie GPIO Adapter. It is important that the game con driver is not installed in parallel, because both drivers would try to access the same GPIO pins. In case you have not seen this yet: THere is a guide for the RetroPie GPIO Adapter at https://www.petrockblock.com/2013/07/09/getting-started-with-the-retropie-gpio-adapter/.
10/15/2013 at 16:32 #2945mylostcauseParticipantAfter getting the game con drivers removed I was able to successfully set up and play with the SNES controllers. Thanks for the help!
Are there any pointers on getting the button to work as an ‘esc’ key on single press? I haven’t seen any information about customizing the action in SNESDev.
10/15/2013 at 21:30 #2946petrockblogKeymasterMaking SNESDev configurable is still on the to-do list. For now, you would need to change the source code around https://github.com/petrockblog/SNESDev-RPi/blob/master/src/SNESDev.c#L248 and recompile and reinstall SNESDev.
10/27/2013 at 15:29 #3021mylostcauseParticipantWorked perfect, thanks!
10/29/2013 at 07:31 #3032petrockblogKeymasterGlad to hear!
-
AuthorPosts
- The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.