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
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.
It 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
All reference designs on this site are sourced from major semiconductor manufacturers or collected online for learning and research. The copyright belongs to the semiconductor manufacturer or the original author. If you believe that the reference design of this site infringes upon your relevant rights and interests, please send us a rights notice. As a neutral platform service provider, we will take measures to delete the relevant content in accordance with relevant laws after receiving the relevant notice from the rights holder. Please send relevant notifications to email: bbs_service@eeworld.com.cn.
It is your responsibility to test the circuit yourself and determine its suitability for you. EEWorld will not be liable for direct, indirect, special, incidental, consequential or punitive damages arising from any cause or anything connected to any reference design used.
Supported by EEWorld Datasheet