Atari ST keyboard interface.

General discussions or ideas about hardware.
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1208
Joined: Wed Jun 19, 2019 7:36 am
Location: Edinburgh

Re: Atari ST keyboard interface.

Post by arkadiusz.makarenko »

@kulamario created pcb, but I didn't order it yet, because I had planned longer trip home.
I will restart the project on my return to Scotland.
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1208
Joined: Wed Jun 19, 2019 7:36 am
Location: Edinburgh

Re: Atari ST keyboard interface.

Post by arkadiusz.makarenko »

Sorry, I was going to order pcbs, but I have issues with getting stm32 chips. Chip shortages do hit me, as I am not willing to build prototypes using unknown source chips.
I think I had 5 stashed away, but can't find them now (I made big clear out of my corner before going for holidays, and I can't find anything now!!)
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1208
Joined: Wed Jun 19, 2019 7:36 am
Location: Edinburgh

Re: Atari ST keyboard interface.

Post by arkadiusz.makarenko »

Yey, got it!

1627720704899.jpg
1627720704899.jpg (184.99 KiB) Viewed 5232 times
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1208
Joined: Wed Jun 19, 2019 7:36 am
Location: Edinburgh

Re: Atari ST keyboard interface.

Post by arkadiusz.makarenko »

OK. I have 90% to recreate my setup. Atari STE set up (going through demoscene), but during last tidy up, I binned a lot of stuff like USB ports, wires, prtotyping pcbs, I need to recreate it again.
@kulamario posted me dedicated PCB, but I think I will try to get pass through communication as well, so maybe I would implement override between real keyboard and atari. For this to check if it would work I need development board.

List of expectations would be nice :)
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1208
Joined: Wed Jun 19, 2019 7:36 am
Location: Edinburgh

Re: Atari ST keyboard interface.

Post by arkadiusz.makarenko »

I have build prototype board, and managed to communicate with stm32.
Now I am porting firmware from nucleo‑f722ze board to plain stm32f722ret chip, plus I tidy up code to separate files to remove spaghetti code to something a little bit more manageable.

PS
I have not been 100% recently, so I put as much effort as I can to this. It was just 30min a day last week. I hope I will be better next week and I will smash it and at last start it properly.
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1208
Joined: Wed Jun 19, 2019 7:36 am
Location: Edinburgh

Re: Atari ST keyboard interface.

Post by arkadiusz.makarenko »

I managed to get USB mouse enumerated and recognised by this board. So far so good :)
Now I will try to get communication established with Atari.
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1208
Joined: Wed Jun 19, 2019 7:36 am
Location: Edinburgh

Re: Atari ST keyboard interface.

Post by arkadiusz.makarenko »

I have some issues with basics at this moment.
USB is numerating as expected, but device reports return rubbish data for some reason.
I suspect memory leak, so I think I will start from clear project again, instead of cobbling 3 together and hoping it will just work :D
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
User avatar
PhilC
Moderator
Moderator
Posts: 6016
Joined: Fri Mar 23, 2018 8:22 pm

Re: Atari ST keyboard interface.

Post by PhilC »

I'm watching this project with interest, keep up the good work.
If it ain't broke, test it to Destruction.
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1208
Joined: Wed Jun 19, 2019 7:36 am
Location: Edinburgh

Re: Atari ST keyboard interface.

Post by arkadiusz.makarenko »

I can't find the issue.
On first look it works ok, but USB data reports are messed up. This is weird as other communication over usb works on (numeration, all device data etc) is fine. This is on both STM32 original usb drivers, and my customised. I suspect something makes chip unstable for some reason.
I reproduced it on 2 separate chips.
I think I will go back to dev board to make sure I am not loosing my mind.
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1208
Joined: Wed Jun 19, 2019 7:36 am
Location: Edinburgh

Re: Atari ST keyboard interface.

Post by arkadiusz.makarenko »

I will build another pcb just to make sure I am not missing something
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
Post Reply

Return to “HARDWARE DISCUSSIONS”