Skip to content

SuperCAN v1.0.17

Compare
Choose a tag to compare
@jgressmann jgressmann released this 02 Jul 07:12

Firmware v0.5.9

bugfixes

  • SAME5X boards: fixes M_CAN error handling

    M_CAN reports errors through PSR.LEC and PSR.DLEC. Reading each
    field will result the field to be cleared to 0x7 (no change).

    The previous code interpreted 0x7 to mean that the last proper
    error (0x1-0x6) is still valid. This, however, seems to not be the
    case according to the M_CAN manual v3.3.0, p. 18.

misc

  • refactoring to support D5035-51 in SuperDFU
    • remove 'manifest tolerant' RT USB descriptor attributes
    • convert firmware builds to SuperDFU 0.6.1

SuperDFU v0.6.1

features

  • add support for D5035-51 board

  • reduce bootloader ROM requirements to below 8K

    • enable LTO

    • disable ARM long calls

    • disable TinyUSB's SOF callback though CFG_TUSB_SOF_CALLBACK (default 1)

    • disable sone of TinyUSB's callbacks through CFG_TUSB_LEAN_AND_MEAN (default 0)

    • replace header / footer construct with tag (saves 1k ROM on SAMX5X)
      scan binary for tag end, and use binutils to compute length of the rom section

    • replace memcpy, memmove, strlen, memcmp with size optimized version

  • adds version check to prevent downgrade

misc

  • remove 'manifest tolerant' DFU USB descriptor attributes
  • remove dual-bank support for SAMX5X to share code base with SAMs w/o dual bank support (SAMD2X, SAMDA1)