Keybon icon indicating copy to clipboard operation
Keybon copied to clipboard

dfu mode

Open F1hone opened this issue 2 years ago • 19 comments

Hello, I like your keybon very much, I made one too, but I don't know how to use tx/rx to burn my board, For bl, I chose to use stlink, I flew dio and clk on the board, which allowed me to flash the bootloader smoothly, and it could be recognized by the computer, but I don't know how to burn the program in the arduino into it I don't know how to get the board into dfu mode

F1hone avatar Aug 05 '22 17:08 F1hone

image

F1hone avatar Aug 05 '22 17:08 F1hone

image

F1hone avatar Aug 05 '22 17:08 F1hone

image

F1hone avatar Aug 05 '22 17:08 F1hone

Hi, are you sure the correct driver is installed? The board should show up as a serial port in the device manager. You might also try to flash the bootloader again. I am not sure if this could be hardware related. If there is a bad solder joint on the USB interface, the device should not show up at all. But you could check that, too, just to be safe.

CoretechR avatar Aug 05 '22 17:08 CoretechR

I don't know what kind of driver I should use. After I flashed generic_boot20_pc13.bin, the maple 003 is displayed when I use usb to connect to the computer. I am using CH340. What driver should I use? I just need to connect the rx/tx of the board to the rx/tx of the ch340. Is the power supply of the board borne by the typec? image

F1hone avatar Aug 05 '22 19:08 F1hone

image yes I successfully used the software you recommended with ch340 to flash into bl, but the cooperation with arduino is still not very good

F1hone avatar Aug 05 '22 19:08 F1hone

What exactly do you use the ch340 for? After the bootloader is installed, you can program the board via the USB-C connector. You need the serial connector only for flashing the bootloader.

CoretechR avatar Aug 05 '22 19:08 CoretechR

。。。。。

F1hone avatar Aug 05 '22 19:08 F1hone

But my arduino still can't upload image But my arduino still can't upload The board is not recognized as a serial port, but maple 003

F1hone avatar Aug 05 '22 19:08 F1hone

Have you installed the drivers from here: https://github.com/rogerclarkmelbourne/Arduino_STM32/tree/master/drivers

CoretechR avatar Aug 05 '22 19:08 CoretechR

i have run [wdi-simple.exe] once, But now I think it should be a driver problem, so I run almost everything in there

F1hone avatar Aug 05 '22 20:08 F1hone

Try running the .bat files. If the device does not show up as a serial port it's definitely a driver problem.

CoretechR avatar Aug 05 '22 20:08 CoretechR

yes i made it thank you very much

F1hone avatar Aug 05 '22 20:08 F1hone

That's great! Glad I could help.

CoretechR avatar Aug 05 '22 20:08 CoretechR

%B{`FWGWFZ8L79QY{@5KW8O

F1hone avatar Aug 05 '22 20:08 F1hone

Thank you so much for your help, I couldn't have done it without you Then, I want to ask, how should I use the software, how should the hotkey be bound to the program and the process, I hardly know anything about it

F1hone avatar Aug 05 '22 20:08 F1hone

Your PCB looks really nice! The app works like this: You select one of the layouts from the drop down list. Then you drag/drop images to the buttons. Black/white icons work best. Then you can insert a command that runs when a button is pressed. The code works like the sendkeys method: https://docs.microsoft.com/en-us/office/vba/language/reference/user-interface-help/sendkeys-statement You can read more about the app here: https://hackaday.io/project/176239-keybon-adaptive-macro-keyboard/log/186859-companion-app

CoretechR avatar Aug 05 '22 20:08 CoretechR

Thanks a lot, I'll look into it

F1hone avatar Aug 05 '22 21:08 F1hone

%B{`FWGWFZ8L79QY{@5KW8O

Hello, what kind of screen do you use? I think the UG(Univision Semicon) UG-6448KLBEG03 screen is a bit too expensive Can you recommend any cheaper alternative screens?

mayjack0312 avatar Nov 20 '23 06:11 mayjack0312