libopencm3-examples icon indicating copy to clipboard operation
libopencm3-examples copied to clipboard

USB to Serial with RS485 driver control

Open karlp opened this issue 12 years ago • 5 comments

Based on ST's app note and the existing examples.

This relies on https://github.com/libopencm3/libopencm3/pull/246 being merged, and this pull cannot be merged without it, as it doesn't include the update of the submodule. It is here in it's present form for review, but will be updated with the submodule update later.

This also starts to split up some of the usb cdcd code that is copypasta all over the examples tree to have more chunks that can be shared

karlp avatar Jan 21 '14 22:01 karlp

:-1: This is missing a file that didn't get added to git, will fix and resubmit

karlp avatar Jan 22 '14 17:01 karlp

This is now ready to go, and the dependent changes are in the library now too.

karlp avatar Jan 22 '14 20:01 karlp

Nice piece of code.

BuFran avatar Feb 08 '14 05:02 BuFran

:red_circle: I've had a few problems with bulk transfers through this, so hold off on it for now, need to figure out if it's a problem with my host app or this code first :(

karlp avatar Feb 08 '14 16:02 karlp

I've revisited this, and it's definitely a problem in this code. zmodem transfers don't seem to work being sent from this firmware, but it will receive ok at lower baud rates, with lots of errors. Probably not handling usb properly?

karlp avatar Oct 05 '14 18:10 karlp