CoretechR / Keybon

Adaptive Macro Keyboard
https://hackaday.io/project/176239
GNU General Public License v3.0
290 stars 32 forks source link

dfu mode #8

Open F1hone opened 2 years ago

F1hone commented 2 years ago

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 commented 2 years ago

image

F1hone commented 2 years ago

image

F1hone commented 2 years ago

image

CoretechR commented 2 years ago

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.

F1hone commented 2 years ago

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 commented 2 years ago

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

CoretechR commented 2 years ago

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.

F1hone commented 2 years ago

。。。。。

F1hone commented 2 years ago

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

CoretechR commented 2 years ago

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

F1hone commented 2 years ago

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

CoretechR commented 2 years ago

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

F1hone commented 2 years ago

yes i made it thank you very much

CoretechR commented 2 years ago

That's great! Glad I could help.

F1hone commented 2 years ago

%B{`FWGWFZ8L79QY{@5KW8O

F1hone commented 2 years ago

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

CoretechR commented 2 years ago

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

F1hone commented 2 years ago

Thanks a lot, I'll look into it

mayjack0312 commented 1 year ago

%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?