Skip to content

Releases: devanlai/dap42

Version 1.31

09 Oct 04:15
Compare
Choose a tag to compare

dap42 firmware release 1.31

This is an incremental release to update to the latest version of libopencm3 and to formalize the DAP42DC hardware target.

Changelog

DAP42DC hardware target

  • Derek's standalone DAP42 debugger design now has its own dedicated target: DAP42DC.
  • The pinout is similar to the BRAINV3.3 target except without CAN support.

libopencm3 updates

  • The libopencm3 submodule has been updated to 239b4a4 (2018-10-03).
  • Linker scripts now reference cortex-m-generic.ld instead of libopencm3_stm32f0.ld/libopencm3_stm32f1.ld
  • It is no longer necessary for the Cortex-M0 target configurations to provide default USART preprocessor defines for compatibility
  • USB control callbacks now use the usbd_request_return_codes enum type instead of int
  • The CAN driver no longer passes in the CAN peripheral to can_filter_id_mask_32bit_init. I'm pretty sure that parameter is going to come back in a future version of libopencm3 though.

Continuous Integration updates

  • The CircleCI 1.0 configuration has been updated to the new CircleCI 2.0 format
  • The build toolchain has been updated from gcc-arm-none-eabi-5.2-2015q4 to gcc-arm-none-eabi-6.2-2016q4.
  • The toolchain install utility script now detects and complains if the toolchain is not executable due to 32-bit/64-bit compatibility issues.

Prebuilt binaries

Binaries for F042 targets

  • DAP42.bin is the firmware for native dap42 hardware.
  • DAP42DC.bin is the firmware for ISC's standalone DAP42 debugger hardware.
  • BRAINv3.3.bin is the firmware for dap42 hardware embedded into CalSol's custom LPC1549 development board.

Binaries to flash onto STLink/v2 clones via SWD

  • DAP103-dapboot-combined-stlink.bin contains the debugger firmware bundled with the dapboot DFU bootloader.
  • DAP103-stlink.bin is just the debugger firmware, with no firmware upgrade capabilities.

Binaries to upgrade reprogrammed STLink/v2 clones via DFU

  • DAP103-DFU-stlink.bin is just the updated debugger firmware.

Sources

Full source code for the dap42 project can be found online:

Version 1.30

09 Sep 16:57
Compare
Choose a tag to compare

dap42 firmware release 1.30

This release includes CDC-ACM performance enhancements, CAN->USB support, and a bootloader update.

Changelog

CDC-ACM enhancements

  • The serial port now uses a DMA-driven circular buffer for receiving data on the hardware UART.
    • On F042 based targets, the receive buffer has been bumped from 128B to 1024B
    • On F103 based targets, the receive buffer has been bumped from 1024B to 4096B
  • The serial port has been stress-tested up to 2 MBaud on F042 targets and 2.25 MBaud on F103 targets.
  • The CDC-ACM driver now uses the USB SOF event for framing transfers instead of a timeout.

CAN->USB support

  • CAN-capable targets now expose a second CDC-ACM interface that encodes CAN frames using the slcan/Lawicel CANUSB protocol.
  • The slcan interface has been tested with USBtinviewer, the socketcan slcand daemon, and the UAVCAN GUI Tool.
  • Only F042-based targets can collect CAN frames while connected over USB.
  • Currently, the only official target with CAN enabled is the BRAINV3.3
    • To share CAN frames with the debugger, connect the CAN transceiver's RX pin to pin P0_15.
    • The debugger can only receive frames in listen-only/silent mode - it cannot transmit or ACK frames.
    • The BOOT0 pin must be disabled to use CAN - see FLASHING.md for details.

Bootloader update

  • The bundled dapboot DFU bootloader for DAP103 STLink targets has been updated from version 1.0 to version 1.10.
    • Version 1.10 re-enables DFU upload (reading out the existing firmware) and prevents writing past the end of flash.
  • To update the bootloader and the debugger firmware at the same time, you can flash the DAP103-dapboot-combined-stlink-updater.bin updater over DFU, which will upgrade the bootloader and install DAP103 version 1.30.

Prebuilt binaries

Binaries for F042 targets

  • DAP42.bin is the firmware for native dap42 hardware.
  • BRAINv3.3.bin is the firmware for dap42 hardware embedded into CalSol's custom LPC1549 development board.

Binaries to flash onto STLink/v2 clones via SWD

  • DAP103-dapboot-combined-stlink.bin contains the debugger firmware bundled with the dapboot DFU bootloader.
  • DAP103-stlink.bin is just the debugger firmware, with no firmware upgrade capabilities.

Binaries to upgrade reprogrammed STLink/v2 clones via DFU

  • DAP103-DFU-stlink.bin is just the updated debugger firmware.
  • DAP103-dapboot-combined-stlink-updater.bin is a bootloader updater that overwrites the bootloader and itself with the contents of DAP103-dapboot-combined-stlink.bin after loading it over DFU.

Sources

Full source code for the dap42 project can be found online:

Version 1.20

29 Apr 02:19
Compare
Choose a tag to compare

dap42 firmware release 1.20

This release includes general CDC-ACM UART improvements and BRAINv3.3 support.

Changelog

  • On the new BRAINv3.3 target, the embedded debugger can use the target's reset button as a replacement for the BOOT0 pin to enter the DFU bootloader on power up.
  • The CDC-ACM RX buffer is now cleared whenever a new serial connection is opened for better compatibility with baudrates besides 115200.
  • The CDC-ACM RX endpoint now consumes less USB bandwidth by only sending a packet when the packet buffer is full or after 1ms since the last packet was sent, whichever comes first.
  • The CDC-ACM TX endpoint now sends NAKs as needed to prevent the USB host from overflowing the TX buffer.

Prebuilt binaries

  • DAP42.bin is the firmware for native dap42 hardware.
  • DAP103-dapboot-combined-stlink.bin is firmware for STLink/v2 clone hardware, bundled with the dapboot DFU bootloader.
  • DAP103-stlink.bin is also for STLink/v2 clone hardware, but with no bootloader.
  • DAP103-DFU-stlink.bin can be used to upgrade an STLink/v2 over DFU if it has a DFU bootloader installed.
  • BRAINv3.3.bin is the firmware for dap42 hardware embedded into CalSol's custom LPC1549 development board.

Sources

Full source code for the dap42 project can be found online:

Version 1.10

02 Oct 19:46
Compare
Choose a tag to compare

Initial dap42 v1.10 firmware release for native dap42 hardware and STLink/v2 clone hardware.

DAP42.bin is the firmware for native dap42 hardware.
DAP103-dapboot-combined-stlink.bin is firmware for STLink/v2 clone hardware, bundled with the dapboot DFU bootloader.
DAP103-stlink.bin is also for STLink/v2 clone hardware, but with no bootloader.
DAP103-DFU-stlink.bin can be used to upgrade an STLink/v2 over DFU if it has a DFU bootloader installed.