Ethan Zonca
9fddea4ad1
Sanitize remote URL
2023-06-29 21:33:17 -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
normaldotcom
8ca5d39d63
Merge pull request #11 from bridadan/feature/enable_tx_fifo_priority
...
Enable CAN FIFO Transmit priority
2021-03-02 22:32:39 -05:00
Brian Daniels
7b06b04fe7
Enable CAN FIFO Transmit priority
...
This is required for segmented transmission, which is used in ISO
15765-2 (ISO-TP).
2021-02-22 11:58:40 -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
1b8f8b847b
Update build to default to internal oscillator
2020-04-14 22:17:47 -04:00
Ethan Zonca
4e326a7759
Update USB descriptors to correctly be self-powered
2020-04-14 22:17:33 -04:00
Ethan Zonca
5d8c272fce
Add missing files. Default to using the internal oscillator.
2020-04-14 21:49:42 -04: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
1205aa622d
Update makefile to name binaries with commit hash
2019-04-10 08:30:41 -04:00
Ethan Zonca
6c5075c20f
Increase version hash length, update USB descriptor
2019-04-07 22:37:54 -04:00
Ethan Zonca
adbbb7bf1d
Add readme info for firmware version command
2019-04-07 22:32:30 -04:00
Ethan Zonca
da4c91cbff
Add firmware version reporting via V slcan message and via USB descriptor
2019-04-07 22:29:33 -04:00
Ethan Zonca
0bc8ec5b42
Set CRS polarity; don't force software sync event on startup
2019-04-05 09:16:25 -04:00
Ethan Zonca
f6a60edd48
Indentation and commenting, no functional changes
2019-01-01 12:24:33 -05:00
Ethan Zonca
430db8223f
Disable ACK/NACK as it causes lockup. Need to debug.
2019-01-01 12:23:26 -05:00
Ethan Zonca
91b4fb8fd3
Fix support for disabling autoretransmission. Tested; works.
2019-01-01 11:59:37 -05:00
Ethan Zonca
3a0efec0b9
Add transmission of ack/nack over USB
2019-01-01 11:59:15 -05:00
Ethan Zonca
3e6b6d7428
Readme updates
2018-12-31 14:32:22 -05:00
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