check in
Completed

Isolated DAP-Link debugger based on AT32F415

PROIsolated DAP-Link debugger based on AT32F415

tag

113
0
0
0
Mode:Full

License

GPL 3.0

Creation time:2024-12-18 06:36:54Update time:2024-12-18 10:02:31

Description

AT32F415-based isolated DAP-Link debugger

 

Changelog

20240522 First release

20240527 Updated firmware 20240527.hex to optimize the transceiver performance of the serial port

20240611 Update firmware 20240611.hex, optimize SWD speed, support dual serial port function, if you need to use the host computer, you can choose the old version of firmware

20240717 Updated 3D printed enclosure link

20241125 Update firmware 20241125.hex to fix the non-dual serial port issue of 20240611.hex

 

Key features

Based on the AT32F415 chip of Artery, an isolated DAPLink debugger is designed, which supports up to 1500V isolation (5KV can be reached without connecting to the isolated power supply), which can be used to debug other equipment such as motor control boards.

Using the CherryUSB framework, together with the optimized DAPLink code, it is possible to achieve high download speeds and 4M speed serial communication under USB FS.

 

Design Essentials

1. USB Type-C design, convenient for long-distance debugging.

2. The use of Chuanshi micro isolation chip to achieve full isolation of power supply and signal, to prevent high voltage from entering the computer circuit through the signal line.

3. 5V isolated power supply (solderless) is used to isolate the signal and equipment at the opposite end, with short circuit protection and other functions.

4. Use 3U gold-plated horn seat (optional) for a more exquisite appearance.

5. Keep the cost of materials low.

 

Software Features

1. DAP SWD download/debugging, the oscilloscope measured the maximum SWD frequency is about 8M.

2. USB to serial port, can achieve 4M baud rate without losing characters (can develop the second serial port to USB)

3. Support USB updater, no need to disassemble to refresh the program.

4. Support host computer, which can be used to configure DAP ID to easily distinguish multiple DAPs.

5. The serial number generated according to the unique code of the chip can prevent duplication.

 

Enclosure printing and assembly

File: upper.stl lower.stl

The slice file can be found in the attachment shell.3mf

For more information, please refer to: https://makerworld.com.cn/zh/models/335477#profileId-266989

After printing, use a soldering iron to melt four nuts into the hole, and then put the board into it, and then use M3*5 screws to screw it in from the class, the reference figure is as follows:

Screw purchase link (choose color classification: M3 * 5 (100 pcs)):

https://detail.tmall.com/item.htm?id=624811454452&spm=a1z09.2.0.0.1de82e8d8Zps2p&_u=h2dklb456894

Hot melt nut purchase link (color classification: M3*6*4.2 [100 pieces]):

https://detail.tmall.com/item.htm?id=598418504681&spm=a1z09.2.0.0.1de82e8d8Zps2p&_u=h2dklb458180

 

Original purchase link

1. 10P horn seat (Select color category: 10P Specification: straight needle):https://item.taobao.com/item.htm?_u=m2dklb45f734&id=712321967438&spm=a1z09.2.0.0.e8dd2e8dC6CepY

2. White plate Type-C seat (want to look good can buy this, normal reference BOM table can be purchased):https://item.szlcsc.com/3272613.html

3. Isolated power supply (choose B0505S-3WR2 [5V to 5V600mA], the original is also available in lcsc):https://detail.tmall.com/item.htm?_u=m2dklb45d901&id=612898477250&spm=a1z09.2.0.0.e8dd2e8dC6CepY

4. Isolation chip (CA-IS3742HW, CA-IS3741HW):https://item.taobao.com/item.htm?_u=m2dklb45ea32&id=609653319378&spm=a1z09.2.0.0.e8dd2e8dC6CepY

5. AT32F415CCU7:https://item.taobao.com/item.htm?_u=m2dklb45fe39&id=650419388165&spm=a1z09.2.0.0.e8dd2e8dC6CepY

6. ESD:https://item.taobao.com/item.htm?_u=m2dklb45580f&id=653799154764&spm=a1z09.2.0.0.6b752e8dC0aQg2

(Other originals can be purchased according to BOM)

 

The program is open source

Note that select one_uart branch, and the test firmware can refer to the attachment: 20240523.hex

https://gitee.com/fhcloud/at_-f415_-dap

 

Firmware flashing tutorial

Download ISP Tool:https://www.arterytek.com/file/download/1720

Hold down BOOT0 and connect the USB port of the debugger to the computer, and the computer should be able to hear the USB recognition.

Select the Artery_DFU_DriverInstall.exe in Artery_ISP_Programmer_V2.0.13\Artery_DFU_DriverInstall, double-click to install the USB DFU driver.

After the installation is complete, open the ArteryISPProgrammer.exe in Artery_ISP_Programmer_V2.0.13\Artery ISP Programmer_V2.0.13 and start burning.

 

Private protocols are open source

This debugger supports a private protocol to connect to the debugged chip, and the protocol refers to the attachment "Isolated DAP HID Communication Protocol", which can be controlled by using a host computer .7z

 

Display pictures

Designed by FanHuaCloud (from OSHWHub)

a:https://oshwhub.com/fanhuacloud/dap-link-iso

Design Drawing

Download File
The preview image was not generated, please save it again in the editor.

Attachments

OrderFile nameDownload times
1
Isolate DAP HID communication protocol .pdf
119
2
upper computer .7z
179
3
20240523.hex
42
4
20240527.hex
39
5
20240611.hex
36
6
Shell .3mf
12
7
upper shell.stl
11
8
Lower shell.stl
11
9
20241125.hex
7
Add to Album
0
0
Share
Report

Comment

All Comments(1)
Sort by time|Sort by popularity
Followers0|Likes0
Related projects
Empty

Bottom Navigation