Hi, I'm trying to move my code from Red Bear BLE shield with Arduino to nRF51 dongle. Is there any possible method? (ex. share the same library or SDK helping)
Hey.
Update: This is not possible. The arduino code is for an atmel chip, which communicated with a nRF8001 over SPI. This code will not work on the nRF51 inside the nRF Dongle.
Wrong answer:
I do not have any first hand knowledge with the redBearlab Arduino framework, but it should be possible. When compiling the arduino code, a hex file should be generated. You can transfer this hex file to the dongle with nRFgo studio or drag-and-dropping it on the JLINK drive in "My Computer". Let me know if you unsuccessful, and i will try it myself.
-Anders
Hi Anders, thanks for your reply.
Originally, I plan to modify the example code and load the code to flash memory using Keil uVision.
So is it possible to make the code work only transfer the hex?
(following this tutorial : devzone.nordicsemi.com/.../)
Hi. I just realized that the BLE shield contains a nRF8001. The dongle has a nRF51422. You cannot use the same code as with the BLE shield. You can use any of the example projects in our SDK to program the dongle though.