CoretechR / Keybon

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

Please give me some answers these days. After struggling all night, I successfully lit it up ❥(^_-) #11

Open mayjack0312 opened 11 months ago

mayjack0312 commented 11 months ago

Prompt before burning:

Sketch uses 36364 bytes (55%) of program storage space. Maximum is 65536 bytes.
Global variables use 6048 bytes (29%) of dynamic memory, leaving 14432 bytes for local variables. Maximum is 20480 bytes.
maple_loader v0.1
Resetting to bootloader via DTR pulse
Searching for DFU device [1EAF:0003]...
Reset via USB Serial Failed! Did you select the right serial port?
Assuming the board is in perpetual bootloader mode and continuing to attempt dfu programming...

Found it!

Opening USB Device 0x1eaf:0x0003...
Found Runtime: [0x1eaf:0x0003] devnum=1, cfg=0, intf=0, alt=2, name="STM32duino bootloader v1.0  Upload to Flash 0x8002000"
Setting Configuration 1...
Claiming USB DFU Interface...
Setting Alternate Setting ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
Transfer Size = 0x0400
bytes_per_hash=727
Starting download: [##################################################] finished!
error resetting after download: usb_reset: could not reset device, win error: ָ�������ڵ��豸��

state(8) = dfuMANIFEST-WAIT-RESET, status(0) = No error condition is present
Done!
Resetting USB to switch back to runtime mode
timeout waiting for COM5 serial
a3104a8330e0542a286a47bef901d34

Then it prompts that the device installation is successful

Then the screen lights up normally and the host computer runs normally.

3d66881e076a5eabecc9302a48fa555

The measured screen used the 4.5 yuan ssd1315 driver screen and there was no problem.

CoretechR commented 11 months ago

Awesome! Do you know what the error was or what you are now doing differently?

mayjack0312 commented 11 months ago

Awesome! Do you know what the error was or what you are now doing differently?

The problems encountered are as follows:

  1. Burning, flash loader metaphysics is invalid, I don’t know why
  2. Compilation, various libraries report errors
mayjack0312 commented 11 months ago

Awesome! Do you know what the error was or what you are now doing differently?

I also want to ask the boss, if I want the hotkey Ctrl V, how should I express it? Is it {^{+V} ?

CoretechR commented 11 months ago

Here is the documentation for this kind of keyboard command: https://learn.microsoft.com/en-us/dotnet/api/system.windows.forms.sendkeys.send?view=windowsdesktop-8.0

mayjack0312 commented 11 months ago

Here is the documentation for this kind of keyboard command: https://learn.microsoft.com/en-us/dotnet/api/system.windows.forms.sendkeys.send?view=windowsdesktop-8.0

Okay, thank you for the feeding tutorial, I will study it first