mirror of
https://github.com/safijari/openpuck.git
synced 2026-11-03 22:30:22 +00:00
[GH-ISSUE #112] Is it possible to get the .hex files for flashing onto non DFU (.uf2) boards? #47
Labels
No labels
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
safijari/openpuck#47
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @backdraft254-stack on GitHub (Jul 3, 2026).
Original GitHub issue: https://github.com/safijari/openpuck/issues/112
Hi, I purchased Holyiot 21017 nRF52840 board from aliexpress due to having the integrated high gain antenna in a simple USB case.
Board info:
http://www.holyiot.com/eacp_view.asp?id=336
It seems that board comes with Nordic bootloader instead of the Adafruit so it doesn't support getting into DFU mode and it doesn't show up as a simple USB drive that I can just copy .uf2 file onto.
Seems that the programming for this board needs to be done via nRF Desktop and the only option for flashing files there is to target .hex file.
Are there any plans to support .hex files as well?
Much appreciated for the great project!
@safijari commented on GitHub (Jul 3, 2026):
Yes, I can update the CI to output the hex files as well
@safijari commented on GitHub (Jul 3, 2026):
https://github.com/safijari/openpuck/releases/tag/0.9.6
Do the hex files here work?
@backdraft254-stack commented on GitHub (Jul 5, 2026):
I don't think it works
flashing the .hex file works without issues, but then plugging the openpuck into a PC simply doesn't light up any led + can't see the openpuck in any way in the device manager or steam
@brettp commented on GitHub (Jul 6, 2026):
If it uses Openboot, try my branch for a Raytac device: #137
@backdraft254-stack commented on GitHub (Jul 6, 2026):
Sadly it doesn't work, the only documentation for this board is here
Holyiot-21017-nrf52840.pdf
so basically it only supports .hex or .zip files to flash, uses the nordic bootloader (so not the adafruit one that can drag'n'drop uf2 files)
as per the docs, softdevice should be 0x9D (s132_nrf52_5.0.0)
@brettp could you please try making one for the Holyiot board? It looks all neat and should have a great antenna, would be much appreciated!
@brettp commented on GitHub (Jul 7, 2026):
@backdraft254-stack - s132 appears to target the nRF52810 and nRF52832, not nRF52840. You'd need to confirm the chip and then check the memory ranges for the application data for that version of the softdevice. You can build with nrfutil by passing in the correct firmware
--sd-reqand--sd-idvalues like in the Makefile. You could also try provisioning up to s140 if you're certain the chip is 52840, which would probably be the easiest route if it works.@backdraft254-stack commented on GitHub (Jul 7, 2026):
the chip is definitely nRF52840 as that is listed on the docs, I reached out to Holyiot company and they confirmed the same, not sure why they specify s132, but it is what it is
@backdraft254-stack commented on GitHub (Jul 8, 2026):
nrf Connect Desktop also confirms its a proper board, just has the Nordic DFU instead of adafruit UF2 one, just not sure about the green application regions not matching up
@backdraft254-stack commented on GitHub (Jul 15, 2026):
yeah, something is definitely wrong here, either during the installation or really bad luck with 2/2 boards so far not working with openpuck fw
bought a new nRF52840 MDK USB Dongle
this one supports .uf2 so simply drag and drop flashes the board, but afterwards, dongle doesn't show up in openpuck webUI under the connect window at all (tried 2 different win10 machines, both Chrome and Edge, multiple USB ports)
its strange that when plugging the dongle into a PC, no sound is heard like when plugging a new USB device, nothing shows up in the device manager
@safijari @brettp any help in getting this working would be greatly appreciated boys!
@DraconicNEO commented on GitHub (Jul 19, 2026):
I recently bought one of these dongles as well and I wasn't able to get it working either. It just doesn't show in WebUI and I tried multiple computers with no luck :(
@backdraft254-stack commented on GitHub (Jul 20, 2026):
@safijari could you please re-open this issue, its clearly not fixed and the sooner we get some more users with different boards to get the traction on this, the sooner we can fix it
@brettp commented on GitHub (Jul 23, 2026):
@backdraft254-stack @DraconicNEO I'll be able to look into this more in the next week or so. Since I don't have this hardware it'd help if you can provide any logs of what you tried, the output of the makefile commands, and any errors.
@safijari commented on GitHub (Aug 20, 2026):
@brettp do you have any updates on this?
@Aftonstjarna commented on GitHub (Aug 29, 2026):
Raytac MDBT50Q-CX Nordic nRF52840 works if you flash with nrfconnect and this other hex. hex
Just don't try updating from the webui after because it borks it.
https://www.reddit.com/r/SteamController/s/qaTR6vZxXu