Releases: jgressmann/supercan
v1.0.12
SuperCAN v1.0.12
SuperCAN firmware 0.5.5
-
various fixes related to device reset / dismount
- clear CAN tx buffers when going back to initial state e.g. on SC_MSG_HELLO_DEVICE
- move endpoint initialization code to main from sc_usb_reset
- acquire USB lock for CANs prior to changing state in sc_usb_reset
- make sc_usb_reset return the device to initial state
- use USB lock for CANs in tud_mount_cb, tud_umount_cb, tud_suspend_cb, tud_resume_cb
-
fixes rogue write into USB tx bank in sc_process_msg_can_tx
Linux
- report unknown messages only for debug builds
- add kernel module signing instructions (Ubuntu)
v1.0.11
SuperCAN v1.0.11
SuperCAN firmware 0.5.4
- enable firmware update on Windows without Zadig
- don't set temporary error indicator on LED when txr desyncing
- introduce new LED state for bus off
- expose task/isr priorities to ports
- attempt to make CAN / USB task more robust against livelock
SuperDFU firmware 0.5.0
- enable firmware update on Windows without Zadig
- fix command to upload DFU from make:
make dfu-upload
SAM E5x based boards
-
try tp reset M_CAN when going on bus if error counters are != 0
When M_CAN was in error-passive prior to the device being taken
offline by the driver, the error counters used to be retained
when the device would come back online. This would result in the device
reporting error-passive from the get go which is not what one expects.This change detecs this particular condition befor the devices comes
online for the driver and forces the transmission/reception of CAN
messages until the error counters no longer change. This typically (?)
decrements the counters enough that error-passive goes away.
D5035-01:
- bus-off now shows as a permanently lit red LED
- auto detection of ext. crystal / oscillator through configuration pin 7
Linux
- update driver to version 0.2.5
- assert netdev members (CAN dev) members in usb_priv are set to zero upon entering sc_usb_netdev_init leaving sc_usb_netdev_uninit
- add missing cleanup code for batch tx echo buffers in case urb submit fails
v1.0.10
SuperCAN v1.0.10
D5035-01:
- adds board hardware revision to USB identifier
- prepares code base for new board hardware revision
- SuperDFU v0.4.1: the bootloader now runs of the chip's default main clock of 48 MHz sourced from FLL
- SuperCAN v0.5.3: the CAN app now uses sets up the 80 MHz clock from external 16 MHz crystal
- changes UART speed to 230400 8N1 from 115200 8N1
NOTE: Please ensure to update the bootloader (SuperDFU) before the CAN application (SuperCAN)
v1.0.9
SuperCAN v1.0.9
Documentation
- D5035-01: fixes build / flash / upload instructions
- Teensy 4.x boards: adds CAN pin mapping
- minor improvements all around
SuperCAN v0.5.2
- fixes internal state reset on SC_MSG_HELLO_DEVICE
v1.0.8
SuperCAN v1.0.8
SuperCAN v0.5.1
- adds support for Microchip SAM E54 Xplained Pro
v1.0.7
SuperCAN v1.0.7
Board code
- merged upstream TinyUSB master branch
- adds FreeRTOS version of board_test
SuperCAN v0.5.0
- D5035-01: build now defaults to hardware revision 3
- adds support for PJRC's Teensy 4.x based devices such as D5035-03
- disables CAN error indicator after a period of inactivity
- improves bus on/off handling
SuperDFU v0.4.0
- refactors bootloader to use available DFU support in TinyUSB
Linux
- implements monitoring mode in driver
v1.0.6
SuperCAN v1.0.6
SuperCAN firmware v0.4.6
- fixes livelock in can_usb_task
- improve interrupt handler speed by reducing the number of function calls
- fixes secondary sample point to work with 1/8MBit/s PCAN-USB X6 FD
Linux
- update MODULE_LICENSE to 'Dual MIT/GPL', same as source
- clarify license is GPLv2 not any later version
- remove printing of error frames to kernel log
- batch tx request to improve throughput on longer CAN-FD frames
Test Harness
- Adds test for CAN error frame generation
- Update CAN test harness to support setting the bitrate for the data phase
Documentation
- Update flash instructions for Linux and Windows
v1.0.5
SuperCAN v1.0.5
SuperDFU v0.3.4
- D5035-01: add support SAME51JXXA variants
Windows
- COM server API: rename sc_can_mm_header::slots to elements to avoid name clash with Qt keyword
- Qt (qtsupercanbus, QCanBus plugin): finished plugin implementation and switched code base to COM server (shared) device access
v1.0.4
SuperCAN v1.0.4
Firmware:
- add .bin files to firmware archive for edbg flashing
Testing:
- flash-test.sh: detect more errors
SuperDFU v0.3.3:
- report bootloader update failure in state dfuMANIFEST-SYNC
- verify vector table when updating the bootloader
- don't reset device in dfu_rtd_reset
- fix return to runtime mode without prior upload
- stall control pipe and set error state on unhandled requests
- display flash bank in USB interface string
v1.0.3
SuperCAN v1.0.3
Documentation:
- Minor improvements all around
Testing:
- Add script test-flash to verify bootloader / app DFU process works
SuperDFU:
- Fixes regression introduced with SuperDFU 0.2.5 which resulted
in the bootloader not being able to flash an application onto
empty device flash memory - Turn USB descriptors .bcdDevice field into an actual bcd