Coder Social home page Coder Social logo

Comments (11)

CoretechR avatar CoretechR commented on September 15, 2024

Hi, there are a lot of weird dependencies and old libraries that this project uses. So it can be a little tricky to set up.
I just added a binary file that you can try to flash to your board:
https://github.com/CoretechR/Keybon/blob/main/keybon/keybon.ino.generic_stm32f103c.bin

from keybon.

mayjack0312 avatar mayjack0312 commented on September 15, 2024

Hi, there are a lot of weird dependencies and old libraries that this project uses. So it can be a little tricky to set up. I just added a binary file that you can try to flash to your board: https://github.com/CoretechR/Keybon/blob/main/keybon/keybon.ino.generic_stm32f103c.bin

I don’t know the technology well, so I hope you can help me. This project is really great. Thank you again for the firmware.

from keybon.

mayjack0312 avatar mayjack0312 commented on September 15, 2024

Hi, there are a lot of weird dependencies and old libraries that this project uses. So it can be a little tricky to set up. I just added a binary file that you can try to flash to your board: https://github.com/CoretechR/Keybon/blob/main/keybon/keybon.ino.generic_stm32f103c.bin

I don’t know the technology well, so I hope you can help me. This project is really great. Thank you again for the firmware.

Please help me, it seems like I’ve fallen over again o(╥﹏╥)o
This time after flashing the firmware, the device can’t even read it.
image

from keybon.

CoretechR avatar CoretechR commented on September 15, 2024

Did you manage to flash the binary file?
In my experience, when Windows does not recognize the device, it was usually a hardware problem. Maybe you have a short on the PCB. You can also try to flash the bootloader again an see if that helps.

from keybon.

mayjack0312 avatar mayjack0312 commented on September 15, 2024

您是否成功刷新了二进制文件? 根据我的经验,当 Windows 无法识别该设备时,通常是硬件问题。可能是你的PCB短路了。您还可以尝试再次刷新引导加载程序,看看是否有帮助。

image

from keybon.

mayjack0312 avatar mayjack0312 commented on September 15, 2024

Then I try to flash the boot now and it can’t be flashed (the flash loader tool is quite mysterious)
image

from keybon.

CoretechR avatar CoretechR commented on September 15, 2024

Yes, the flash loader does not always work on the first try.
But if it does not work at all, I suspect a hardware issue. Please check your PCB, maybe there is something wrong with the wiring.

from keybon.

mayjack0312 avatar mayjack0312 commented on September 15, 2024

Yes, the flash loader does not always work on the first try.
But if it does not work at all, I suspect a hardware issue. Please check your PCB, maybe there is something wrong with the wiring.

Thank you for your patient answer. I basically spent all night working on the burning problem today.
image
I'm trying to use STM32CubeProgrammer directly for burning. So far, everything is good (I hope I can succeed this time)

However, there does seem to be some problems with directly flashing this firmware.
image
This error message came out again

I tried uploading directly using arduino and this time I got a new error

WARNING: library JC_Button claims to run on avr architecture(s) and may be incompatible with your current board which runs on STM32F1 architecture(s).
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
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000007110b5db, pid=28812, tid=22164
#
# JRE version: OpenJDK Runtime Environment Microsoft-40648 (11.0.16.1+1) (build 11.0.16.1+1-LTS)
# Java VM: OpenJDK 64-Bit Server VM Microsoft-40648 (11.0.16.1+1-LTS, mixed mode, tiered, compressed oops, g1 gc, windows-amd64)
# Problematic frame:
# C  [jSSC-2.8_x86_64.dll+0xb5db]
#
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#
# An error report file with more information is saved as:
# C:\Users\LMY\AppData\Local\Arduino15\packages\stm32duino\tools\stm32tools\2022.9.26\win\hs_err_pid28812.log
#
# If you would like to submit a bug report, please visit:
#   https://github.com/microsoft/openjdk/issues
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

from keybon.

mayjack0312 avatar mayjack0312 commented on September 15, 2024

This is the error log when uploading to arduino
hs_err_pid28812.log

from keybon.

CoretechR avatar CoretechR commented on September 15, 2024

I have not worked with STM32CubeProgrammer before and don't know what is causing this error, sorry.

from keybon.

mayjack0312 avatar mayjack0312 commented on September 15, 2024

I have not worked with STM32CubeProgrammer before and don't know what is causing this error, sorry.

I searched online again and checked. The upload did not fail. The STM32CubeProgrammer burning should have been successful, but the screen did not light up and the function keys seemed to have no effect.

  • Screen I bought it here,
    I don’t know if it’s the reason for the mismatch.

from keybon.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.