Commit Graph

59 Commits

Author SHA1 Message Date
Ethan Zonca 23061febec Update README and add support for autoretransmit enable/disable 2018-12-31 14:24:46 -05:00
normaldotcom 4f71d65de4
Merge pull request #7 from jorticus/master
Fix USB priority preventing CAN TX from timing out
2018-10-28 20:42:49 -04:00
Jared Sanson e2610ad57d Fix USB priority preventing CAN TX from timing out
The blocking CAN implementation relies on SysTick for its timeout. USB had a higher priority than Systick, so the TX never timed out, causing the serial port to hang indefinitely.
2018-10-28 15:25:37 -07: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 f5fbbd10cb Add green LED blink to see if processor is alive 2016-08-18 22:24:30 -04:00
Ethan Zonca 08fdf43675 Minor change to rearming, although the processor seems to be locking up again 2016-08-18 22:19:14 -04:00
Ethan Zonca f6fe885d55 Bump HAL and CMSIS libraries to latest version 2016-08-18 22:08:04 -04:00
Ethan Zonca ae392017eb Appears that Receive_IT rearm call is returning HAL_BUSY as the CAN module is locked on txing. Need to resolve HAL issue. 2016-08-18 21:49:09 -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
Ethan Zonca 9639112dee Refactoring GPIO, clock, and peripheral init 2016-08-11 22:09:39 -04:00
Ethan Zonca be7432a65f Formatting changes preparing for code overhaul 2016-08-11 21:52:05 -04:00
Ethan Zonca fb0f55fd3b Update docs for compilation with internal oscillator support 2016-07-24 19:06:39 -04:00
Ethan Zonca 08efc1f0e5 Add clock trimming for internal HSI48; move internal/external osc selection to makefile 2016-05-09 20:52:08 -04:00
Eric Evenchick 2ff9b7bed0 fixed build status image 2016-02-29 16:42:22 -08:00
Eric Evenchick fdfd6d1848 Merge branch 'normaldotcom-master' 2016-02-29 10:54:59 -08:00
Eric Evenchick 71482f52dd warning fixes 2016-02-29 10:51:25 -08:00
Ethan Zonca bc5da3d2a2 Added support for lowercase hex digits 2016-02-25 20:23:04 -05:00
Ethan Zonca 6f30812fee Switch default back to internal oscillator 2016-01-25 17:11:37 -05:00
Ethan Zonca 76a5baff2a Add missing prototypes, fix dangerous missing FIFO argument to is_can_msg_pending! 2016-01-25 14:16:45 -05:00
Ethan Zonca 08768559d0 Added nicer status LED handling: LED blinks for every tx/rx and guarantees at least as much off time as on time 2016-01-25 14:12:13 -05:00
Eric Evenchick 2c648e49ee Merge pull request #2 from normaldotcom/master
Switching between internal and external oscillators with a define
2015-06-26 15:50:01 -04:00
Ethan Zonca 2f816695db Default to external oscillator for CANtact 2015-06-10 13:53:55 -04:00
Ethan Zonca bdc03fc9f1 Move oscillator config out of ifdef 2015-06-10 13:52:41 -04:00
Ethan Zonca d2cd74311f Remove redundant bin file generation. Add removal of bin file to make clean. 2015-06-10 13:50:12 -04:00
Ethan Zonca aaaf33735c Fix oscillator configuration. Lab tested with internal oscillator up to 1M. 2015-06-10 09:29:19 -04:00
Ethan Zonca f74e3c0c2a Add defines to choose between internal and external oscillator 2015-06-10 08:33:37 -04:00
Ethan Zonca 52803f72f5 Merge 2015-06-10 08:16:40 -04:00
Eric Evenchick 683746700f updated contributors 2015-05-15 14:38:53 -04:00
Eric Evenchick 9d7bffe88c added .bin build (for flashing with dfu-util) to Makefile 2015-05-15 14:35:51 -04:00
Eric Evenchick d0b23b111b added all bitrates and silent mode 2015-05-15 14:20:10 -04:00
Eric Evenchick 0ab75d742d added silent mode, moved GPIO init 2015-05-14 17:41:28 -04:00
Eric Evenchick 6e7e7cad80 added windows driver 2015-05-13 17:14:43 -04:00
Eric Evenchick 9497bb6773 added onejope as contributor 2015-05-06 14:45:08 -04:00
Eric Evenchick fd1715ce14 Merge pull request #1 from onejope/master
Fixed extended id support for transmitting CAN messages
2015-05-06 14:37:36 -04:00
onejope 660c4eb621 Fixed extended id support for transmitting CAN messages 2015-05-02 16:34:07 -04:00
Ethan Zonca 9a8c9e067b Create bin file and switch to HSI48 2015-04-16 21:58:52 -04:00
Eric Evenchick e7118b2d5e major code size optimization 2015-01-28 16:46:46 -05:00
Eric Evenchick 0db206451f fixing artifacts command, again. 2015-01-28 16:21:37 -05:00
Eric Evenchick 61e7c88c3b corrected artifacts command 2015-01-28 16:15:51 -05:00
Eric Evenchick 1ec56ad7fa added travis status to readme 2015-01-28 16:10:41 -05:00
Eric Evenchick 7d2462425d changed target name, added artifact upload 2015-01-28 16:09:15 -05:00
Eric Evenchick 2fac2edb24 removed temp files 2015-01-28 15:27:47 -05:00
Eric Evenchick baef143034 added LEDs and lamp test 2015-01-28 15:27:26 -05:00
Eric Evenchick dc3715845d corrected build id variable 2015-01-28 13:10:41 -05:00
Eric Evenchick d5732dbb51 added ubuntu repos 2015-01-28 12:36:43 -05:00
Eric Evenchick 7904341d2b trying ubuntu gcc package 2015-01-28 12:10:31 -05:00