sg- / CMSIS-DAP

Interface Firmware providing USB CMSIS-DAP for debugging, USB MSD for programming, USB Serial for communication.
Apache License 2.0
1 stars 4 forks source link

CMSIS-DAP Refactoring Efforts

Goals are:

Current Status

Nothing on this branch is guaranteed to work. Current efforts are with the bootloader and then the interface project

Bootloader:

Interface:

ToDo

Tests

A baseline for testing the dap firmware should cover:

  1. program hello world echo application onto target MCU
    • copy using cmd line method
    • copy using drag n drop method
    • Top 3 browsers for each OS
  2. flash with pyOCD
    • change demo app with package to be hello world echo

Note: Test should be completed when echo is received so CDC support is inclusive to all tests.

Note: To automate bootloader testing it may be worth putting a sequence in the dap firmware to execute the bootloader (ie: erase vector table at offset and reset)

Directory

+---bootloader
¦   +---common
¦   +---hal
¦       +---freescale
¦       +---nxp
+---dap
¦   +---common
¦   +---hal
¦       +---freescale
¦       +---nordic
¦       +---nxp
+---flash
¦   +---common
¦   +---hal
¦       +---freescale
¦       +---nxp
+---shared
¦   +---cmsis
¦   +---common
¦   ¦   +---freescale
¦   ¦   +---nxp
¦   +---rtos
¦   +---usb
+---tools
    +---build
    +---export
    +---test