太白金星

DebugCenter

 
Overview

Multifunctional all-in-one debugger
Various debuggers are often used when companies debug boards. Some boards also require external power supply. They often need to connect a lot of wires, which can be messy. Therefore, we have developed such a multifunctional debugger. idea.
In fact, the overall structure is very simple. It is a USBHUB plus various desired functions, integrated on a board, and there is no technical difficulty.
I am just here to provide you with an idea, and you can use this idea and combine it with your own ideas to make something that suits you.
The current version mainly includes the following functions:
1.DAP-LINK (open source)
2.USB_Blaster (PIC microcontroller solution used)
3.UART*2 (optional RS485)
4.USB fast charging (μP9616)
5.3.3V , 5V output, maximum 2A.
This version is only for temporary use. Ultimately, I want to make each function into a small board, and then make a bus board to put the USBHUB, so that it can be freely combined.
Update log:
20.07.05 The first version is completed and ready for board testing (there may be bugs, please use with caution)

21.01.30 Version V1.1 is ready for board testing (there may be bugs, please use with caution)

21.04.01 V1.1 version test completed and can be used

————————————————————————————————

Updated on 2021.01.30

The first version of the debugger has actually been completed a long time ago

DBGV0.1

Test after welding is completed

The USBHUB is normal and every port can be used;

There is something wrong with DAPlink. The schematic diagram is based on Jixiaoxin's. After flashing the firmware, I found that the device can be recognized in the computer settings and the virtual serial port can be recognized in the device manager, but there is no DAP and KEIL cannot find the device.

The USB-blaster is normal and can be recognized after installing the driver. The download function is normal, but the debugging function cannot be tried temporarily;

UART and 485 tests are fine

USB fast charging is normal, and Xiaomi 6X can recognize fast charging;

24V to 3V is normal;

The ripple in the 24V to 5V power supply is huge and the load capacity is extremely weak. Because the 24V to 3V part is normal, I suspect it is a wiring problem.

VPPIt took a lot of time to work on the 5V DCDC circuit. It was determined that there was a problem with the ground wire layout. I changed it to a new version in the middle, but because something happened in the middle, I couldn't test the board.

What you are seeing now is version V1.1, which mainly has the following changes:

1. The USB fast charging function is deleted, which feels useless;

2.DAP-Link changed a plan

3. The two DC outputs have replaced chips, and the structure is simpler than before, making it less prone to problems;

4. The schematic diagram has been organized and looks clearer.

5. The PCB size is further reduced, and a top cover is also drawn, which will look better when stacked.

That's it for now, I'll update it later when the new version is tested.

————————————————————————————————

————————————————————————————————

Updated on 2021.04.01

After asking for it for a long time, this project is finally completed.

In fact, the welding was completed a few days ago, but I have been putting off testing it. I spent some time in the evening to finish it when I had free time in the past two days.

————————————————————————————————

The test results are as follows:

1.12V to 5V/3.3V test is normal

     The V1.1 version of the DCDC chip was replaced with TPS562200. After testing, both channels can work normally. The ripple is slightly larger, but within the acceptable range.

2.DAP-LINK test is normal

     This time, the DAP-LINK has a different picture. After testing, it can be downloaded and debugged normally, and the serial port function is also normal.

3.USB-Blaster test is normal

     This is the same as before, no problem

4. USB to TTL serial port test is normal

     There was no problem in the two-channel CH340E test. The two-channel CH340E was tested spontaneously for a period of time at the baud rate of 1382400, and no bit errors occurred.

5.RS485 test is normal

    The baud rate is the same as the serial port test. The two channels send and receive each other. No bit errors occurred after testing for a period of time.

————————————————————————————————

————————————————————————————————

At this point, this project is completely completed and there will probably be no further updates in the future.

Next, I plan to make a tool that integrates JLINK-V9, USB-Blaster, USB-232, and USB-485. It is estimated that it will take several months and a half to complete.

The firmware of UB and DAP is in the attachment

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-06-23 12:58:56

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号