-
-
Notifications
You must be signed in to change notification settings - Fork 522
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using --force memory fails to validate #234
Comments
I am currently having a very similar issue when trying to flash my keyboard, however I did not have any issues with RGB headers or notice anything else. I managed to successfully flash it couple of days ago, without any problems. I just wanted to restore default layout from QMK configurator for my DZ60rgb v2 ansi board and it failed. Tried flashing another .hex file from VIA firmware and it failed again. Currently I can configure my layout on VIA without any issue however I am not able to flash anything else on the board using QMK toolbox. System Info
Quick update: flashing ISP fixed my problem. I suspect that my memory got corrupted since I had previously encountered keyboard crash/hang up on Windows boot. |
Same issue here. Also my if I currently press RBG mode + 5 times the board becomes unresponsive and I have to press the physical reset button on it to get it into DFU then cancel out if it, or attempt to flash but I get the same x invalid bytes, y outside region. Flashing or clearing EEPROM doesn't change the firmware on the board either. it is also a DZ60 RGB v2 ANSI PCB |
I am hitting the same issue with DZ60rgb v2 ansi board using qmk toolbox 0.0.21. The first time flash finished successfully. However, the second and later attempts to flash the firmware all lead to the same error above. Update: ISP flashing fixed my issue as well. |
@chuan I am having the same issue on DZ60rgb v2 ansi board using qmk toolbox 0.0.21. The first time flashing the firmware was successful but after that I keep getting |
I used SparkFun PocketAVR and followed instructions here: https://beta.docs.qmk.fm/using-qmk/guides/keyboard-building/isp_flashing_guide |
I'm having this issue too, when i try to flash it, it seems working but on the last validation step it fails : Im lucky that my board is still working fine, but i can't flash it anymore to customise some shortcuts. Is there any software solution ? i would like to avoid the « ISP flashing », i don't even know what it is 😅 |
I tried the ISP flashing with SparkFun PocketAVR but it didn't workout .. my board is still working but I cannot flash any new firmware at this point. I had to get a new board. I might set it up later. |
@NYUTerminal Sounds like you ISP flashed the firmware and not the bootloader. If you only flash the firmware, there is no bootloader to allow you to flash over USB. |
Describe the Bug
The RGB headers on my board have recently been freaking out so I went to re flash the board and saw there was a memory error and to use --force. After updating to QMK 0.0.20 when it tries to force the flash it now fails to validate the memory on the board. Some googling suggest performing an ISP flash which I want to avoid if possible due to the complexity of it, is there a way to dump the memory within QMK before performing the flash?
System Information
Additional Context
The log info from the failed flash is below.
Attempting to flash, please don't remove device
The text was updated successfully, but these errors were encountered: