-
Notifications
You must be signed in to change notification settings - Fork 289
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
What is the best method to deploy OpenSK on makerdiary nRF52840 USB dongle without loosing boot loader? #312
Comments
It should be safe to flash the dongle over DFU. I've done it and it works if the dongle is new. The bootloader (both the Nordic one and the UF2 one) use code at the beginning of the flash called MBR and this is safe with regards to TockOS/OpenSK. But they also use storage for settings in the flash, which OpenSK doesn't know about. And after using the dongle for a while, it might be possible that this settings area got overwritten by OpenSK. That's why the PR isn't merged yet. We need to analyze the bootloader, the settings, and the layout of the flash to find a reliable solution that removes that risk and ensures that OpenSK firmware can be safely upgraded. |
To understand that right: The programmer |
This will generate a IntelHEX file. Which then can be turned into a DFU package using Nordic tools
Between flash address
Well, it works for me. I'm using python3.9 and I have |
The aur package was fixed yesterday, my fault. |
I had the previous mkd UF2 firmware for OpenSK and then I flashed the one I built with the latest code from this repo, now I can't access the UF2 again. |
Hello,
As you know makerdiary nRF52840 USB dongle ships with UF2 boot loader that enables deploying/upgrading new firmware without using any programmer. But according to the pull request #186 deploying current version of OpenSK will erase the boot loader. So my question is what is the best method to deploy the OpenSK without loosing boot loader.
I know that this approach have some side effects and security risks, but currently I want to do some development and do some tests.
The text was updated successfully, but these errors were encountered: