Page 5 of 7

Re: Atari ST keyboard interface.

Posted: 06 Jul 2021 16:51
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.

Re: Atari ST keyboard interface.

Posted: 30 Jul 2021 21:41
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!!)

Re: Atari ST keyboard interface.

Posted: 31 Jul 2021 09:39
by arkadiusz.makarenko
Yey, got it!

1627720704899.jpg
1627720704899.jpg (184.99 KiB) Viewed 6370 times

Re: Atari ST keyboard interface.

Posted: 06 Aug 2021 19:52
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 :)

Re: Atari ST keyboard interface.

Posted: 21 Aug 2021 21:04
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.

Re: Atari ST keyboard interface.

Posted: 22 Aug 2021 15:20
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.

Re: Atari ST keyboard interface.

Posted: 24 Aug 2021 07:55
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

Re: Atari ST keyboard interface.

Posted: 24 Aug 2021 08:27
by PhilC
I'm watching this project with interest, keep up the good work.

Re: Atari ST keyboard interface.

Posted: 24 Aug 2021 20:19
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.

Re: Atari ST keyboard interface.

Posted: 25 Aug 2021 15:28
by arkadiusz.makarenko
I will build another pcb just to make sure I am not missing something