Hello, I have a pca10028 and I am wondering if I can use it also to flash nrf52 boards.
I quickly tried with rknrfgo on mac to wipe a custom board based on nRF52832 and it doesn't work, what might be the problem?
Thanks!
Hello, I have a pca10028 and I am wondering if I can use it also to flash nrf52 boards.
I quickly tried with rknrfgo on mac to wipe a custom board based on nRF52832 and it doesn't work, what might be the problem?
Thanks!
Yes it works. Can you post more details about the error? Any screenshots, error codes? Cheers Jan
Did you change the flash start and ram address accordingly? Did you change the softdevice accordingly? Not sure why you would want to use the nrf51 compiled code on the nrf52. You would be better taking that source code and compiling towards the nrf52 sdk and predefine options. That way the code to optimized and compiled to run on the nrf52.
I only tried to erase the chip for now and unfortunately rknrfgo does not give any error, it just doesn't work. In particular I am using the devices Meta Motion R (store.mbientlab.com/.../).
Just for clarity, I don't want to flash nrf51 compiled code (I edited the question) and for now I only tried to erase the chip because I have no compiled code for nrf52, I will try in the following days.
Hi,
I'm not sure if rknrfgo support nRF52832, but you should be able to erase/flash it using the pca10028 board and nrfjprog, which can be found in the OSX version of nRF5x Command line tools. Here is documentation about how to install it.
Commands to erase:
nrfjprog --family nrf52 --eraseall
and flash the file hex_file.hex
:
nrfjprog --family nrf52 --program hex_file.hex –-chiperase
Best regards,
Jørgen
It turned out I had an old version of the SEGGER software. Installing the latest version fixed the problem. I can now erase and flash the board fine using the pca10028, also with rknrfgo.