Coder Social home page Coder Social logo

fengerpeng / cherrydap Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cherry-embedded/cherrydap

0.0 0.0 0.0 2.58 MB

CherryDAP is a DAPLink template based on CherryUSB and ARMmbed DAPLink.

License: Apache License 2.0

C 92.56% Assembly 6.79% Makefile 0.06% CMake 0.59%

cherrydap's Introduction

CherryDAP

CherryDAP is a DAPLink template based on CherryUSB and ARMmbed DAPLink.

Feature

  • CMSIS DAP version 2.1
  • Support SWD + JTAG
  • Support USB2UART

cherrydap1 cherrydap2 ses_debug_hpm

Projects

BL616

  • USB High speed
  • UART with cycle dma(no packet will be lost), so the baudrate can reach 40Mbps
Function Label GPIO
JTAG_TCK IO10 10
JTAG_TMS IO12 12
JTAG_TDI IO14 14
JTAG_TDO IO16 16
SWD_SWCLK IO10 10
SWD_SWDIO IO12 12
UART TX IO11 11
UART RX IO13 13
nRESET - -

m0sdock m0sdock2

You can compile with:

cd projects/bl616

make BL_SDK_BASE=<pwd of bouffalo_sdk prefix>/bouffalo_sdk CROSS_COMPILE=<pwd of toolchain prefix>/toolchain_gcc_t-head_linux/bin/riscv64-unknown-elf-

HPM5301EVKlite

hpm5301evklite

  • USB High speed

  • Support UART, use DMA

  • The 20PJTAG socket of the J5 interface is used by default.

  • for example, use hpm5301evklite debug hpm5300evk

debug_5300evk

  • Use uart3 as usb2uart

53uart

  • build

1、 sdk version must be greater than 1.3

2、 download https://github.com/hpmicro/sdk_env

3、 if the sdk is not hpm5300evklite, you can download the pack unzip to sdk_env/hpm_sdk https://github.com/hpmicro/hpm_sdk/releases/download/v1.3.0/hpm_sdk_v1.3.0_patch-hpm5301evklite.zip

4、open sdk_env start_gui.exe on window

sdk_env

  • download firmware

  • the firmware bin file path: ../bin/hpm5301_daplink.bin

1、use hpm_manufacturing_tool https://github.com/hpmicro/hpm_manufacturing_tool

(1) baidu pan: https://pan.baidu.com/s/1RaYHOD7xk7fnotmgLpoAlA?pwd=xk2n 提取码:xk2n 复制这段内容打开「百度网盘APP 即可获取」

hpm_acc_tools

(2) unzip, open hpm_manufacturing_gui.exe,

(3) uart0 use usbttl module to connect tool, and press the SW1 and SW2 buttons simultaneously, then release SW1 (RESET), and then release SW2 (boot)

hpm_isp_uart

(4) connenct the tool and download firmware

hpm_download

2、use ses ide

3、use gdb

cherrydap's People

Contributors

sakumisu avatar rcsn avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.