Page 13 of 19

Re: TF Riser Revision 0 Arrives

Posted: 03 Mar 2020 00:03
by terriblefire
arkadiusz.makarenko wrote: 02 Mar 2020 21:47 @terriblefire

Do we really want hub support for this project?
I dont think its vital. But we'd need 2 ports at least otherwise.

Re: TF Riser Revision 0 Arrives

Posted: 03 Mar 2020 17:20
by arkadiusz.makarenko
terriblefire wrote: 03 Mar 2020 00:03
arkadiusz.makarenko wrote: 02 Mar 2020 21:47 @terriblefire

Do we really want hub support for this project?
I dont think its vital. But we'd need 2 ports at least otherwise.
This bit should be easily done on any newer stm32 chip.

Re: TF Riser Revision 0 Arrives

Posted: 05 Mar 2020 21:04
by arkadiusz.makarenko
I managed to complete composite device support, and bugfix some issues related to initialisation of gamepads and overflow of device data buffer.

Everything seems to work fairly stable on almost all of my device. Occasional issue may be related to power issue as it happens only when one very cheap device is connected. I slapped few additional caps here and there, and it seems to be a little bit better (it all may be pure coincidence).

Over the weekend I am planning to put everything together and try to test it on CD32.

Re: TF Riser Revision 0 Arrives

Posted: 07 Mar 2020 14:14
by arkadiusz.makarenko
I didn't have much success with board on CD32. I did start Diagrom.
With USB mouse I have what it seems random moves and clicks, and even graphical glitches and disappearing screen output.
On keybaord it is much more stable (far from perfect), but keyboard input is not always registered.

Re: TF Riser Revision 0 Arrives

Posted: 08 Mar 2020 09:51
by terriblefire
I’m just back from AZ. Which chip did you use and I’ll order one to swap out

Re: TF Riser Revision 0 Arrives

Posted: 08 Mar 2020 10:26
by arkadiusz.makarenko
terriblefire wrote: 08 Mar 2020 09:51 I’m just back from AZ. Which chip did you use and I’ll order one to swap out
f730, but I can port it to f105 easily just by copying one folder - STM32_USB_Host_Library.

EDIT:
f730 - STM32F730R8T6 MCU, 32BIT, 216MHZ, LQFP-64 farnell
RS didn't have this chip in stock.

But this would be only necessary for 2 USB ports support.

Re: TF Riser Revision 0 Arrives

Posted: 08 Mar 2020 12:23
by terriblefire
Ok if you can port to the 105 and share the sources i'll try it out early this week.

Re: TF Riser Revision 0 Arrives

Posted: 08 Mar 2020 15:27
by arkadiusz.makarenko
terriblefire wrote: 08 Mar 2020 12:23 Ok if you can port to the 105 and share the sources i'll try it out early this week.
I pushed library changes. I hope it will just work.

Re: TF Riser Revision 0 Arrives

Posted: 08 Mar 2020 20:11
by terriblefire
arkadiusz.makarenko wrote: 08 Mar 2020 15:27
terriblefire wrote: 08 Mar 2020 12:23 Ok if you can port to the 105 and share the sources i'll try it out early this week.
I pushed library changes. I hope it will just work.
will take a look tomorrow. I'm doing my jetlag reentry

Re: TF Riser Revision 0 Arrives

Posted: 09 Mar 2020 20:54
by arkadiusz.makarenko
terriblefire wrote: 08 Mar 2020 20:11
arkadiusz.makarenko wrote: 08 Mar 2020 15:27

I pushed library changes. I hope it will just work.
will take a look tomorrow. I'm doing my jetlag reentry
I think I have bug somewhere, as now on f105 (on HID2AMI with my usb library) I get HardFault crash during mouse initialization. It was working fine before :D. Need to understand how to troubleshoot hardfaults a little bit better to find this one.