Code Monkey home page Code Monkey logo

qmk_toolbox's Introduction

QMK Toolbox

Latest Release GitHub Workflow Status Discord

This is a collection of flashing tools packaged into one app. It supports auto-detection and auto-flashing of firmware to keyboards.

Windows macOS
Windows macOS

Flashing

QMK Toolbox supports the following bootloaders:

And the following ISP flashers:

  • AVRISP (Arduino ISP)
  • USBasp (AVR ISP)
  • USBTiny (AVR Pocket)

If there's an interest in any others, they can be added if their commands are known.

HID Console

The Toolbox also listens to HID messages on usage page 0xFF31 and usage 0x0074, compatible with PJRC's hid_listen.

If you have CONSOLE_ENABLE = yes in your keyboard's rules.mk, you can print messages with xprintf(), useful for debugging:

Hello world from Console

See the QMK Docs for more information.

Installation

System Requirements

  • macOS 12 (Monterey) or higher
  • Windows 10 May 2020 Update (20H1) or higher

Dependencies

When using the QMK Toolbox on Windows, it will prompt at first run to install the necessary drivers.

If you run into any issues with "Device not found" when flashing, then you may need to use Zadig to fix the issue.

Download

The current version of QMK Toolbox is 0.3.2.

For Homebrew users, it is also available as a Cask:

brew install qmk-toolbox

qmk_toolbox's People

Contributors

aloisdg avatar annamaliakal avatar colemarkham avatar dependabot[bot] avatar drashna avatar erovia avatar fauxpark avatar frederikvs avatar hanocha avatar jackhumbert avatar jhawthorn avatar lukeberry99 avatar mattlink avatar mavanmanen avatar mjmerin avatar nooges avatar prechtig avatar rhettjay avatar rolandcrosby avatar sigprof avatar skullydazed avatar stoic-lemon avatar turbomech avatar tzarc avatar winskil avatar wjchen-vlsi avatar xscorpion2 avatar yiancar avatar zvecr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

qmk_toolbox's Issues

Malware detected in mcufont.exe of release 0.0.9

Bitdefender deleted qmk_toolbox.exe claiming it contained a ransom malware:

qmk_firmware\lib\ugfx\tools\mcufontencoder\binaries\windows\mcufont.exe
SHA256 Hash: 727952580c14ecb0f39408aa3ffe568b5486c55dd5b91f9e86a167263e289a8b
Malware Name: Trojan.GenericKD.30594631
Threat Type: Malware, Status:Deleted

Maybe it's a false alarm, but it should be looked into.

Installation for Linux

Hi, any plans updating the README with the linux installation instructions? I could help

Error opening HID Manager

Describe the Bug

*** QMK Toolbox (http://qmk.fm/toolbox)
    Supporting following bootloaders:
     - DFU (Atmel, LUFA) via dfu-programmer (http://dfu-programmer.github.io/)
     - Caterina (Arduino, Pro Micro) via avrdude (http://nongnu.org/avrdude/)
     - Halfkay (Teensy, Ergodox EZ) via teensy_loader_cli (https://pjrc.com/teensy/loader_cli.html)
     - STM32 (ARM) via dfu-util (http://dfu-util.sourceforge.net/)
     - Kiibohd (ARM) via dfu-util (http://dfu-util.sourceforge.net/)
    And the following ISP flasher protocols:
     - USBTiny (AVR Pocket)
     - AVRISP (Arduino ISP)
*** Halfkay device connected
*** Attempting to flash, please don't remove device
>>> teensy_loader_cli -mmcu=atmega32u4 /Users/user1/Downloads/lfkeyboards_lfkpad_ayout_numpad_6x4_mine-2.hex -v
    Teensy Loader, Command Line, Version 2.1
    Read "/Users/user1/Downloads/lfkeyboards_lfkpad_ayout_numpad_6x4_mine-2.hex": 21460 bytes, 66.5% usage
    Error opening HID Manager
    Unable to open device

System Information

  • Operating system: macOS Mojave - 10.14.4
  • QMK Toolbox version: 0.0.9 (1)

Additional Context

All the dependencies were installed via brew and are on most recent version.
I originally installed via cask but got the error so I uninstalled via cask and manually downloaded the file but received the same error.

I looked up the error and saw something about ATOM but nothing with a clean solution or a something I would know how to implement.

Autoflash is dangerous

Since this is happened REPEATEDLY to me.... (You'd think I'd learn, but here we are)...

Would it be possible to "lock down" the autoflash to single device (as an option), or enable "only if mod/shift/key is held down" option?
This would prevent idiots like me from flashing the wrong firmware on their boards (and potentially bricking the controller)

dfu-programmer: no device present.

the QMK Toolbox can find DFU device connected,but when press Flash, the dfu-programmer can't find the device.
if build the firmware use this command: make keyboard:default:dfu. no problem

*** QMK Toolbox (https://qmk.fm/toolbox)
Supporting following bootloaders:
- DFU (Atmel, LUFA) via dfu-programmer (http://dfu-programmer.github.io/)
- Caterina (Arduino, Pro Micro) via avrdude (http://nongnu.org/avrdude/)
- Halfkay (Teensy, Ergodox EZ) via teensy_loader_cli (https://pjrc.com/teensy/loader_cli.html)
- STM32 (ARM) via dfu-util (http://dfu-util.sourceforge.net/)
- Kiibohd (ARM) via dfu-util (http://dfu-util.sourceforge.net/)
- BootloadHID (Atmel, ps2avrGB, CA66) via bootloadHID (https://www.obdev.at/products/vusb/bootloadhid.html)
- Atmel SAM-BA via mdloader (https://github.com/patrickmt/mdloader)
And the following ISP flasher protocols:
- USBTiny (AVR Pocket)
- AVRISP (Arduino ISP)
*** DFU device connected: ATm32U4DFU -- 03EB:2FF4:0001 {88bae032-5a81-49f0-bc3d-a4ff138216d6}
*** Attempting to flash, please don't remove device

dfu-programmer.exe atmega32u4 erase --force
dfu-programmer: no device present.
dfu-programmer.exe atmega32u4 flash "C:\Users\geno\OneDrive\Keyboard\firmware\tu60rgb_geno.hex"
dfu-programmer: no device present.
dfu-programmer.exe atmega32u4 reset
dfu-programmer: no device present.

Error flashing pro micro on windows

Issue occurs whilst using qmk toolbox on windows 8.1 enterprise edition.

Possibly related to this issue #42.

avrdude.exe -p atmega32u4 -c avr109 -U flash:w:"<hex-file-location>\macro12_default.hex":i -P <qmk-install-location>\QMK\QMK Toolbox\0.0.9\avrdude.exe: option requires an argument -- P Usage: avrdude.exe [options]

I assume it its just a error and it should be this or something similar:
avrdude.exe -p atmega32u4 -c avr109 -U flash:w:"<hex-file-location>\macro12_default.hex":i -P "<qmk-install-location>\QMK\QMK Toolbox\0.0.9\avrdude.exe"

Error popup trying to download a default layout

  1. Open QMK Toolbox
  2. Select Tokyo60 under "keyboard from qmk.fm" (or almost any other keyboard...)
  3. Click "Load"

Error:

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel.
   at System.Net.WebClient.DownloadFile(Uri address, String fileName)
   at System.Net.WebClient.DownloadFile(String address, String fileName)
   at QMK_Toolbox.Form1.setFilePath(String filepath)
   at QMK_Toolbox.Form1.loadKeymap_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3260.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
qmk_toolbox
    Assembly Version: 0.0.9.0
    Win32 Version: 0.0.9
    CodeBase: file:///C:/Program%20Files%20(x86)/QMK%20Toolbox/qmk_toolbox.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3221.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3314.0 built by: NET472REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3221.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Management
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3221.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
HidLibrary
    Assembly Version: 3.2.46.0
    Win32 Version: 0.0.9
    CodeBase: file:///C:/Program%20Files%20(x86)/QMK%20Toolbox/qmk_toolbox.exe
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1055.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3221.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3221.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1055.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Deployment
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3221.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Deployment/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.7.3221.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Newtonsoft.Json
    Assembly Version: 10.0.0.0
    Win32 Version: 0.0.9
    CodeBase: file:///C:/Program%20Files%20(x86)/QMK%20Toolbox/qmk_toolbox.exe
----------------------------------------
System.Numerics
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1055.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
System.Runtime.Serialization
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3260.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
System.Data
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3260.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.IO.Compression.FileSystem
    Assembly Version: 4.0.0.0
    Win32 Version: 0.0.9
    CodeBase: file:///C:/Program%20Files%20(x86)/QMK%20Toolbox/qmk_toolbox.exe
----------------------------------------
Syroot.Windows.IO.KnownFolders
    Assembly Version: 1.0.2.0
    Win32 Version: 0.0.9
    CodeBase: file:///C:/Program%20Files%20(x86)/QMK%20Toolbox/qmk_toolbox.exe
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Exception/odd behaviour when there is no internet connection

On Windows, if there is no internet connection when starting the toolbox, you get this exception:

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Net.WebException: The remote name could not be resolved: 'compile.qmk.fm'
   at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
   at System.Net.WebClient.DownloadString(Uri address)
   at System.Net.WebClient.DownloadString(String address)
   at QMK_Toolbox.Form1.LoadKeyboardList()
   at QMK_Toolbox.Form1.Form1_Load(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at QMK_Toolbox.Form1.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2600.0 built by: NET471REL1LAST
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
qmk_toolbox
    Assembly Version: 0.0.9.0
    Win32 Version: 0.0.9
    CodeBase: file:///C:/Users/fauxpark/Desktop/qmk_toolbox.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2556.0 built by: NET471REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2556.0 built by: NET471REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2556.0 built by: NET471REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Management
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2556.0 built by: NET471REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
HidLibrary
    Assembly Version: 3.2.46.0
    Win32 Version: 0.0.9
    CodeBase: file:///C:/Users/fauxpark/Desktop/qmk_toolbox.exe
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2556.0 built by: NET471REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2600.0 built by: NET471REL1LAST
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2556.0 built by: NET471REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Deployment
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2556.0 built by: NET471REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Deployment/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Newtonsoft.Json
    Assembly Version: 10.0.0.0
    Win32 Version: 0.0.9
    CodeBase: file:///C:/Users/fauxpark/Desktop/qmk_toolbox.exe
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

macOS handles it slightly better, but the "supported bootloaders" text does not appear.

Reset EEPROM doesn't work for atmega32u2

Clicking the "Reset EEPROM" runs dfu-programmer atmega32u2 erase --force with a message that prints 'success'. There is no indication that the EEPROM was not actually reset. To support atmega32u2, the empty EEPROM file just needs to be added to the build alongside the 32u4 file, but any other processor that doesn't work should print a message.

Latest Windows release flagged as TROJAN

I don't know if it is a known issue, but the latest qmk_toolbox.exe on the release page is flagged as Trojan:Win32/Occamy.C by Windows Defender on Windows 10.

QMK Toolbox Crash when flashing

I am using a STM32 board, with QMK Toolbox version 0.0.10 on MacOS 10.14.5.
I did "make projectkb/alice:default" to create the bin. When I hit "Flash" on QMK Toolbox it crashes immediately and the window disappears. No apparent error messages are shown.

This was working fine on v0.0.9.

Request for new official release

I am running into an issue on the latest official release that was later fixed in #22. I don't know how to build the code from source on Windows, so I would really appreciate a new official release. Thanks!

Getting an exception upon starting the toolbox

A window pops up with this message: "Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately. Object reference not set to an instance of an object."

Details:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at QMK_Toolbox.Form1.LoadKeyboardList()
at QMK_Toolbox.Form1.Form1_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at QMK_Toolbox.Form1.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2600.0 built by: NET471REL1LAST
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

qmk_toolbox
Assembly Version: 0.0.9.0
Win32 Version: 0.0.9
CodeBase: file:///C:/Program%20Files%20(x86)/QMK%20Toolbox/qmk_toolbox.exe

System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2556.0 built by: NET471REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2556.0 built by: NET471REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2556.0 built by: NET471REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System.Management
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2556.0 built by: NET471REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll

HidLibrary
Assembly Version: 3.2.46.0
Win32 Version: 0.0.9
CodeBase: file:///C:/Program%20Files%20(x86)/QMK%20Toolbox/qmk_toolbox.exe

System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2556.0 built by: NET471REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2600.0 built by: NET471REL1LAST
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2556.0 built by: NET471REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

System.Deployment
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2556.0 built by: NET471REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Deployment/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll

Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

Newtonsoft.Json
Assembly Version: 10.0.0.0
Win32 Version: 0.0.9
CodeBase: file:///C:/Program%20Files%20(x86)/QMK%20Toolbox/qmk_toolbox.exe

System.Numerics
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2556.0 built by: NET471REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll

System.Runtime.Serialization
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll

System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2556.0 built by: NET471REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Are the Servers down?

OS:Win10

OS Version:Latest

QMK Toolbox version:0.09

Issue description:Are the servers down? QMK Toolbox just installed and it says "trying to get the keyboard list from QMK.FM, you might not have a internet connection or the servers are down."

QMK Toolbox log:*** QMK Toolbox (https://qmk.fm/toolbox)
Supporting following bootloaders:
- DFU (Atmel, LUFA) via dfu-programmer (http://dfu-programmer.github.io/)
- Caterina (Arduino, Pro Micro) via avrdude (http://nongnu.org/avrdude/)
- Halfkay (Teensy, Ergodox EZ) via teensy_loader_cli (https://pjrc.com/teensy/loader_cli.html)
- STM32 (ARM) via dfu-util (http://dfu-util.sourceforge.net/)
- Kiibohd (ARM) via dfu-util (http://dfu-util.sourceforge.net/)
- BootloadHID (Atmel, ps2avrGB, CA66) via bootloadHID (https://www.obdev.at/products/vusb/bootloadhid.html)
- Atmel SAM-BA via mdloader (https://github.com/patrickmt/mdloader)
And the following ISP flasher protocols:
- USBTiny (AVR Pocket)
- AVRISP (Arduino ISP)
Something went wrong when trying to get the keyboard list from QMK.FM, you might not have a internet connection or the servers are down.

I indeed do have an internet connection however. And When I hit the "Say Hello" button it gives me an error saying it cannot do this.

I mean it happens if the server(s) is(are) down, but I just haven't seen anyone else with this issue.

Install drivers for dfu-programmer and dfu-util devices

Not sure if here is the right place, or if it would be better in the ergodox infinity readme, but it would be good to mention that boards that need to be flashed with DFU will likely need the WinUSB driver for flashing to be successful, otherwise you'll see this message:

dfu-util: No DFU capable USB device available.

I used Zadig (http://zadig.akeo.ie/) to install the driver after I remembered I needed it, but I lost a good 30 minutes to attempting to troubleshoot the issue then finding the driver.

Linux ever?

Any plans to finish the coding for Linux? Anyone working on it or is it dead in the water?

.NET error on startup

Using the latest version of QMK Toolbox on Windows I get this error:

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at QMK_Toolbox.Usb.DetectBootloader(ManagementBaseObject instance, Boolean connected)
   at QMK_Toolbox.Usb.DetectBootloaderFromCollection(ManagementObjectCollection collection, Boolean connected)
   at QMK_Toolbox.MainWindow.MainWindow_Load(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at QMK_Toolbox.MainWindow.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3260.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------

I seem to be able to proceed fine by pressing the "Continue" button in the error pop-up.

I also get this error when I press the "Say Hello" button:

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at QMK_Toolbox.MainWindow.sayHelloButton_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3260.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
qmk_toolbox
    Assembly Version: 0.0.9.0
    Win32 Version: 0.0.9
    CodeBase: file:///C:/Users/GMWERB/Downloads/qmk_toolbox.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3221.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3221.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3221.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Management
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3221.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
HidLibrary
    Assembly Version: 3.2.46.0
    Win32 Version: 0.0.9
    CodeBase: file:///C:/Users/GMWERB/Downloads/qmk_toolbox.exe
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1055.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3221.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3221.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1055.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Deployment
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3221.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Deployment/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.7.3221.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.IO.Compression.FileSystem
    Assembly Version: 4.0.0.0
    Win32 Version: 0.0.9
    CodeBase: file:///C:/Users/GMWERB/Downloads/qmk_toolbox.exe
----------------------------------------
Newtonsoft.Json
    Assembly Version: 10.0.0.0
    Win32 Version: 0.0.9
    CodeBase: file:///C:/Users/GMWERB/Downloads/qmk_toolbox.exe
----------------------------------------
Syroot.Windows.IO.KnownFolders
    Assembly Version: 1.0.2.0
    Win32 Version: 0.0.9
    CodeBase: file:///C:/Users/GMWERB/Downloads/qmk_toolbox.exe
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Win 10 reporting both qmk_toolbox.exe and qmk_toolbox_install.exe have malware

Describe the Bug

When running version 0.0.10 of qmk_toolkbox_install.exe, Windows warned that it was suspicious.

After installing qmk_toolbox.exe is not present.

When downloading 0.0.10 qmk_toolbox.exe directly, the download fails and the file is not present.

The Windows Threat History reports finding Trojan:Win32/Occamy.C in these files and removing them.

System Information

  • Operating system: Windows 10
  • QMK Toolbox version: 0.0.10

Additional Context

I was able to download and install 0.0.9 just fine. It has no problems.

Spaces in paths cause file loading to fail (macOS)

Describe the Bug

On macOS Mojave, loading a .hex file with a space in the path results in a path with a %20 in it, which is presumably the error. The file just won't load. However, when the file is moved to a path without a space, there are no problems. If this is macOS specific, I would potentially say that there's a misuse of string/path handling utilities in Obj-C, but since I haven't use it in a while and don't have the time to look into this myself right now, that's the most I can say.

System Information

  • Operating system: macOS Mojave
  • QMK Toolbox version: 0.0.10

Custom URL protocol

qmk://qmk.fm/keyboards/<keyboard>/<revision>/<keymap>.qmk would load https://qmk.fm/keyboards/<keyboard>/<revision>/<keymap>.qmk into the toolbox.

Bad command

Hello,

I just installed qmk-toolbox and I would like to flash PROMICRO based keyboard,

But after the boot of the application:

*** QMK Toolbox (http://qmk.fm/toolbox)
    Supporting following bootloaders:
     - DFU (Atmel, LUFA) via dfu-programmer (http://dfu-programmer.github.io/)
     - Caterina (Arduino, Pro Micro) via avrdude (http://nongnu.org/avrdude/)
     - Halfkay (Teensy, Ergodox EZ) via teensy_loader_cli (https://pjrc.com/teensy/loader_cli.html)
     - STM32 (ARM) via dfu-util (http://dfu-util.sourceforge.net/)
     - Kiibohd (ARM) via dfu-util (http://dfu-util.sourceforge.net/)
    And the following ISP flasher protocols:
     - USBTiny (AVR Pocket)
     - AVRISP (Arduino ISP)
*** Caterina device connected: Périphérique d’entrée USB -- ::
*** Caterina device connected: Périphérique série USB (COM3) -- ::
*** Caterina device connected: Périphérique USB composite -- 2341:8037:6

I select my .hex file and hit the Flash button and I get this:

*** Attempting to flash, please don't remove device
>>> avrdude.exe -p atmega32u4 -c avr109 -U flash:w:"C:\Users\ben\Downloads\iris_rev2_default_5ee3e304.hex":i -P 
    C:\Users\ben\AppData\Local\QMK\QMK Toolbox\0.0.9\avrdude.exe: option requires an argument -- P
    Usage: avrdude.exe [options]
    Options:
      -p <partno>                Required. Specify AVR device.
      -b <baudrate>              Override RS-232 baud rate.
      -B <bitclock>              Specify JTAG/STK500v2 bit clock period (us).
      -C <config-file>           Specify location of configuration file.
      -c <programmer>            Specify programmer type.
      -D                         Disable auto erase for flash memory
      -i <delay>                 ISP Clock Delay [in microseconds]
      -P <port>                  Specify connection port.
      -F                         Override invalid signature check.
      -e                         Perform a chip erase.
      -O                         Perform RC oscillator calibration (see AVR053). 
      -U <memtype>:r|w|v:<filename>[:format]
                                 Memory operation specification.
                                 Multiple -U options are allowed, each request
                                 is performed in the order specified.
      -n                         Do not write anything to the device.
      -V                         Do not verify.
      -u                         Disable safemode, default when running from a script.
      -s                         Silent safemode operation, will not ask you if
                                 fuses should be changed back.
      -t                         Enter terminal mode.
      -E <exitspec>[,<exitspec>] List programmer exit specifications.
      -x <extended_param>        Pass <extended_param> to programmer.
      -y                         Count # erase cycles in EEPROM.
      -Y <number>                Initialize erase cycle # in EEPROM.
      -v                         Verbose output. -v -v for more.
      -q                         Quell progress output. -q -q for less.
      -l logfile                 Use logfile rather than stderr for diagnostics.
      -?                         Display this usage.
    
    avrdude version 6.3, URL: <http://savannah.nongnu.org/projects/avrdude/>

It seems the avrdude command is bad formatted.. Do I need to upgrade soemthing or this is an issue?

Regards,

SSL/TLS connection when loading default layout

OS: Windows 10

OS Version: 1903 18362.113

QMK Toolbox version: 0.0.9.0

Issue description:

I receive an UNhandled exception error - the request was aborted: Could not create SSL/TLS secure channel when trying to load default hex layouts

QMK Toolbox log:

ee the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel.
at System.Net.WebClient.DownloadFile(Uri address, String fileName)
at System.Net.WebClient.DownloadFile(String address, String fileName)
at QMK_Toolbox.Form1.setFilePath(String filepath)
at QMK_Toolbox.Form1.loadKeymap_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3801.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

qmk_toolbox
Assembly Version: ###0.0.9.0
Win32 Version: 0.0.9.net

Is it supposed to work on macOS High Sierra ?

Hello,

First of all, thanks for this tool, I'm using it on windows and it's awesome.
I just tried the mac version on macOS High Sierra ( 10.13.2 ) and it does not even open. Do you have any report about this ? I tried your latest released version.

Thanks in advance.

QMK Toolbox should work with `open`

On macOS you can use the 'open' command to launch GUI programs from the shell. QMK Toolbox should register itself as able to open ".qmk", ".hex", and ".bin" files, and handle the event that is thrown. I believe this would also enable double-clicking a firmware file from the Finder.

RESET and Reset are confusing

When flashing a keyboard you often press a physical RESET button on the PCB, or you use the RESET key code, which exists keyboard mode and enters dfu mode. Inside the QMK Toolbox there's a button labeled Reset whose job it is to exit flashing mode and enter keyboard mode. More than a few new users are getting confused when they press Reset in the toolbox and their keyboard doesn't enter flashing mode.

I'm not sure what the best solution here is, but the first possibility that comes to mind is changing "Reset" to "Exit DFU".

when flashing with avrdude device does not reset

i tried to flash my atmega 32u4 but qmktoolbox stuck when lunching avrdude.

no message or other. i just see the command line of avrdude and nothing happens

i tried to put the device in reset mode but qmktoolbox did not find the correct com port when the device is in flashing mode.

i see from device manager (windows 10) that atmega 32u4 when connect has a com port lets say per example com4.

when the device goes in flashing mode and during the 5 second timespan it has a different com port. and it is always -1 respect the normal com port it is assigned when connected (so if com4 is assigned, during reset it is com3)

then i put the device in flashing mode and lunched directly avrdude (from a command line) with the com -1 port and i was able to flash qmk.

when searching online a solution i found that you can force the atmega to reset connecting at 1200bps on com port.

i think qmktoolbox when falshing with avrdude should use the 1200bps open/close trick then get the rigth com port and finally run avrdude on that port

Improve Pro Micro/Catrina support on windows

Recently we've had an influx of folks struggling to flash new pro micros on windows using qmkt. @bakingpy has kindly offered to look into improving it so it works as well as OSX.

Add ability to delete entries in file list for MacOS side

Feature Request Type

  • Core functionality
  • Alteration (enhancement/optimization) of existing feature(s)
  • New behavior

Description

This feature does/will exist for the Windows side, but not the macOS side. So to keep feature parity, it would need to be added on the MacOS side.

[Question] Atmega32u4 Connection

I am working on a custom macropad powered by an atmega32u4. I’m struggling to have it recognized by the computer and was wondering if you have any suggestions for verifying the various layers. I realize this isn’t an issue, and am happy to move this if there is a better place to ask.

Setup

  • atmega32u4-au
    • Uses external clock
    • Should come flashed with the atmel bootloader
  • Circuit
    • Atmega with datasheet-recommended usb schematic
    • Decoupling capacitors on all power/ground pairs
    • 16 MHz timing crystal
    • Reset on push button. Pulled high normally
    • HWB connected to gnd through 10k r
  • Computer
    • macOS with up to date qmk toolbox and dependencies
    • Have used this computer to flash a teensy board and other boards in the past

Status

  • I cannot see the device from dfu-programmer
  • No unknown usb devices are listed

Questions

  • Do you have any recommended things to try to verify the device exists/there is a bootloader?
  • My understanding is that the out of the box atmel bootloader is fine, and that did-programmer is used through the toolbox to flash the device. Is that understanding correct?

Can't reset eeprom

Windows 10, qmk toolbox 0.0.10
32u4
result like this:
[ X ERROR
Memory write error, use debug for more info.
However,
0.0.9 works......
Sorry for my bad English

Is Linux version just a draft?

I tried to compile and run linux folder but i see nothing but empty screen with buttons.

image

Also, the folder itself looks like has no functional code except UI.

Block .hex uploads when using dfu-util

Dfu-util doesn't support ihex formatted files, but it will happily open them and send them as raw data... which obviously doesn't work.

Have Toolbox detect such attempts and stop with an error explaining that the .bin version needs to be used instead.

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.