Page 8 of 40

Re: Adapter for MAPLE (Release)

Posted: Wed Oct 14, 2020 3:04 pm
by megavolt85
@s_d_a_i I am very grateful to you, the photos from the oscilloscope helped me a lot
P.S. I hope someday I'll get myself an oscilloscope

Re: Adapter for MAPLE (Release)

Posted: Wed Oct 14, 2020 6:03 pm
by aldair
s_d_a_i wrote:Definitely a problem on my side, I've tested the latest firmware you've attached and the firmware from the first post and it is still not visible, so I will test with another cable.
needs a 12cm short cable.

Re: Adapter for MAPLE (Release)

Posted: Fri Oct 16, 2020 2:59 am
by Alexislight
s_d_a_i wrote:Hi Alexislight,

You have to download https://www.st.com/en/development-tools ... t-software if you want to program the pill with the st-link (I recommend you this way), this software installs the driver required for the st-link in order to work properly and even allows you to debug your code.

The first time you open it with the st-link on your usb port, go to "ST-LINK->Firmware update" so you have the latest firmware version on your ST-link, then "File->Open File" and load the .bin file, once loaded go to "Target->Connect" and then to "Target->Program & Verify", and now if you see no error it should be working.
(Flashing times are way worse on the clones).
Thanks s_d_a_i and megavolt.
only littles steps left...
Image
Image

Re: Adapter for MAPLE (Release)

Posted: Fri Oct 16, 2020 2:23 pm
by s_d_a_i
aldair wrote:needs a 12cm short cable.
This was useless, now I have a 2' cable (now I almost use the DC as the controller) with the same noise using this SMPS :lol:


@megavolt85, can you make a firmware version with a slower response? I think increasing the time between bits a little bit in the response may help with noisy environments.

Thank you.

Re: Adapter for MAPLE (Release)

Posted: Fri Oct 16, 2020 2:39 pm
by ferreira3500
Do you guys know this project?

https://hackaday.io/project/170365-blueretro

can this project be adapted to this one?

Re: Adapter for MAPLE (Release)

Posted: Sun Oct 18, 2020 12:05 pm
by Daoon
This is the best gamepad adapter for dreamcast. I hope that megavolt85 will soon fix all the errors and I can publish the PCB shield for blue pill.

Re: Adapter for MAPLE (Release)

Posted: Sun Oct 18, 2020 3:52 pm
by ferreira3500
Daoon wrote:This is the best gamepad adapter for dreamcast. I hope that megavolt85 will soon fix all the errors and I can publish the PCB shield for blue pill.

That looks dope man.now it only needs someone who designs a 3d printed case for that,cheers

Re: Adapter for MAPLE (Release)

Posted: Fri Oct 23, 2020 7:02 am
by s_d_a_i
Hi megavolt85, I don't know what happens but I keep receiving the wrong data on the 4th byte in the command 08 so I'm having a lot of joystick down presses, this DC has the original electrolytic cap but I don't think this is a problem as the original controller works as expected even if the noise from the SMPS was affecting the communication on the stm32 why it doesn't affect the original controller, (maybe wrap it all with aluminium foil)

BTW, can you make a version with a lower bitrate (increase the time between edges on the TX part) so I can test it as well?

Thank you.

Re: Adapter for MAPLE (Release)

Posted: Tue Nov 17, 2020 1:47 pm
by slivercr
megavolt85 wrote:Arcade Stick
...

Code: Select all

Buttons       STM
RIGHT     -> PA_7
LEFT      -> PA_6
DOWN      -> PA_5
UP        -> PA_4
START     -> PA_3
A         -> PA_2
B         -> PA_1
C         -> PA_0
X         -> PB_12
Y         -> PB_11
Z         -> PB_10
...
Feature requests (sorry!):
-For MAPLE Arcade Stick adapter: could you add Dreamcast D button?
-For Atomiswave games: could you use D as Coin input?

Understandable if its not possible. Thanks for your hard work!

Re: Adapter for MAPLE (Release)

Posted: Tue Nov 17, 2020 2:44 pm
by megavolt85
slivercr wrote:
megavolt85 wrote:Arcade Stick
-For Atomiswave games: could you use D as Coin input?
!
coin readed not from controller
coin reader connected to G2 bus (modem port)