SteamVR Tracking HDK

SteamVR Tracking HDK

Need help flashing nRF52840 (DK)
Hey,

I'm studying electrical engineering in Germany and came across a project on GitHub named "FlowingDongleCCD," which amazed me, and I thought about doing something similar myself.

Unfortunately, I'm not very knowledgeable about microcontrollers yet. I want to use this project to learn more about SoCs, PCB design, USB hubs, etc.

I've already purchased an nRF52840 development kit and designed a PCB for a USB hub IC and a few nRF52840 modules. However, before I order a PCB for testing, I want to make sure that I'm able to flash the firmware onto the nRF52.

The development kit has a built-in J-Link that I use for SWD flashing. I did manage to create the bootloader (nRF5_SDK_17.1.0_ddde560\examples\dfu\open_bootloader\pca10056_usb_debug\armgcc) file for the nRF52 using "make for Windows and ARM toolchain," and I found the MBR (nRF5_SDK_17.1.0_ddde560\components\softdevice\mbr\hex). If I flash these two things, the nRF gets detected as "Nordic Semiconductor Open DFU Bootloader," and one LED on the dev board blinks. But I just can't get the dongle firmware running.

I've tried converting "nrf52_20180215v6-jtag.bin" into a hex file using srec cat and flashing that, but without success. I also tried all the .bat files (Steam\steamapps\common\SteamVR Tracking HDK\firmware) but they just say "Error: unable to open device."


My attempts either result in the chip not being recognized by Windows or, if it gets recognized, it just shows up as "Nordic Semiconductor Open DFU Bootloader" and can't be used as a dongle.

I would be really grateful if someone could give me some tips or tell me how to successfully flash the "nrf52_20180215v6-jtag.bin" (or any other firmware from the HDK) file onto my nRF52840.


Kind regards
Henrik
< >
Viser 1-4 af 4 kommentarer
Is there really no one who can help me? I've tried so much at this point - converting firmware to UF2, installing it through a UF2 bootloader, loading the firmware directly into the nRF52840 with different offsets, using a different file (temp_app_stamped.bin), and much more. But somehow, I'm stuck and just can't get it working. :/
Could you tell me how you made .uf2 from .bin?
denw 2. aug. kl. 14:47 
Bumping an old thread, but perhaps try writing the adafruit nrf52 bootloader to your devkit, then short RST to GND twice in 0.5s (just do it quick) to get it into DFU mode, then you should be able to drop in the .uf2 file that you can generate with the watchman-uf2 scripts repo above.
< >
Viser 1-4 af 4 kommentarer
Per side: 1530 50