Commit Graph

14 Commits

Author SHA1 Message Date
Andrey be42f8c3f6 extracting commands header
manual pick from https://github.com/matthiasbock/cantact-fw/
2023-07-11 11:22:59 -04:00
Ethan Zonca 0e2e9169f1 Wait on USB TX busy instead of abort. Add error register reporting over USB. Update flash cmdline to leave bootloader after complete. 2023-01-21 14:56:37 -05:00
Ethan Zonca 3c0a6fc53b Disable interrupts during critical period 2023-01-13 14:50:52 -05:00
Ethan Zonca 8c005eb537 Increase flash latency to 1. This may have caused some previous intermittent issues. Increase USB buffer size to accomodate version string. Add fault ISRs for debugging. 2021-02-21 16:02:21 -05:00
Ethan Zonca cb2fa58fbc Add data buffering: backport of major buffering features from g4: CAN TX buffering, CDC RX buffering. No USB TX buffering yet. 2021-02-21 13:03:27 -05:00
Ethan Zonca 100f0fe01b Big update: Bump HAL library, CMSIS, and USB library. Largest changes is the CAN library, now sanely adds messages to TX mailboxes. 2020-03-05 19:57:22 -05:00
Ethan Zonca 23061febec Update README and add support for autoretransmit enable/disable 2018-12-31 14:24:46 -05:00
Ethan Zonca 8b2ae813fe Port to new HAL, fixes USB issues. Revert to blocking CAN RX/TX. Add unique serial number from chip UID. 2018-10-07 14:19:58 -04:00
Ethan Zonca f6fe885d55 Bump HAL and CMSIS libraries to latest version 2016-08-18 22:08:04 -04:00
Ethan Zonca ff1036f57b Defer some work to the main loop. Deferring slcan parse from usbd_cdc_if receive interrupt fixes freezing but CANables stop talking. 2016-08-16 22:15:20 -04:00
Ethan Zonca 2c5f345955 Transition to interrupt-based CAN transmission, which is now functional. Full duplex still hangs, however. 2016-08-13 14:22:24 -04:00
Ethan Zonca 90be8b3524 Untested transition to interrupt-based CAN communication 2016-08-12 17:12:52 -04:00
Ethan Zonca 037e7a9c6d Updated main loop, small changes to LED handler 2016-08-12 16:56:25 -04:00
Ethan Zonca 75939cf68d Include and source directories now lower case 2016-08-11 22:12:58 -04:00