Skip to content
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

Is qmk_pok3r stable for Pok3r RGB? #29

Open
blanclemjk opened this issue Mar 1, 2019 · 11 comments
Open

Is qmk_pok3r stable for Pok3r RGB? #29

blanclemjk opened this issue Mar 1, 2019 · 11 comments

Comments

@blanclemjk
Copy link

I'd like to use qmk on my Pok3r RGB. I've looked around and from the last records I found here, I understand it would be somewhat unstable. Anything to be worried of? If so, is development still going on?
Thanks in advance!

@blanclemjk
Copy link
Author

up^

@me0wday
Copy link

me0wday commented May 31, 2019

interested too

@scarab5q
Copy link

Yeah I'm interested

@unicorn855
Copy link

unicorn855 commented Jun 15, 2020

Has there been any major setback with this project? I recently got a pok3r rgb as well, and was thus wondering why this whole project has not been requested to be merged with the qmk master repo @ChaoticEnigma ? Maybe there is renewed significance now since VIA is a thing :)

@ChaoticEnigma
Copy link
Member

The setback is that qmk_pok3r does not work (hardfaults) with flash security enabled on the MCU (the way it comes from the factory). This is very difficult to debug, because flash security makes it impossible to use a debugger. So qmk_pok3r is only usable if you connect a hardware debugger to program the firmware.

I thought about attempting to merge with upstream qmk, but there were a number of changes I had to make to get the drivers to work that would make that difficult.

@unicorn855
Copy link

Thank you @ChaoticEnigma for that quick response :) I don't know if you mean difficult in the sense that it shouldn't be attempted, or that it is 'just' more work. In the latter case, perhaps it could be made into a collaborative effort, so that all the qmk-things are in one place? Another related question I have would then be if you know whether VIA will work with your modified version of qmk?

@ChaoticEnigma
Copy link
Member

"Difficult" meaning I wasn't going to attempt it until I had exhausted my other options (rewriting the whole firmware lol). If someone wants to dig into it, I'll help how I can.

I don't know much about VIA, because it seems to have very sparse documentation. I don't know if the client/configurator itself is open source?

Whatever protocol VIA uses to program the keys is not supported in qmk_pok3r, but it should be possible to implement. I have my own configurator for qmk_pok3r, though, so I probably wouldn't be the one to add support to VIA.

@unicorn855
Copy link

I mentioned this in the official qmk discord, and people there referred to https://docs.qmk.fm/#/platformdev_selecting_arm_mcu
I just thought I would add that here :) feel free to drop into the qmk discord and talk about things if you want @ChaoticEnigma :)

@me0wday
Copy link

me0wday commented Oct 12, 2020

Hi friends, I just got my j-link and am going to attempt the flash today. Can I confirm two things, the device only needs to be unlocked once to flash? And then it no longer needs the j-link?
And can I put the original firmware back on?

@ChaoticEnigma
Copy link
Member

@thinkv This is for the pok3r RGB right? Just FYI, I don't believe qmk-pok3r for the pok3r RGB is stable, but i guess some people have had some luck with it?

You need to mass-erase/unlock the flash, and then write the bootloader. After that, you can use the bootloader to flash the main firmware via USB, so you shouldn't need the JLink anymore.

You can re-flash the original firmware with the bootloader, yes.

@me0wday
Copy link

me0wday commented Oct 13, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants