- Wed Dec 28, 2016 5:56 am
#192659
Hi,
I'm trying to prototype an ANT+ bike power sensor using the nRF52832 Breakout Board.
Thanks to the detailed hookup guide I got the blinky example running using the Arduino IDE, after working around the nrfutils issue already reported here: https://forum.sparkfun.com/viewtopic.ph ... 32#p192517. I also managed to build and run examples from the Nordic SDK, after minor adjustments for toolchain location and custom_board.h.
Next step would be to run a simple ANT example. To do so, I need to get one of the ANT softdevices uploaded to the board, which I aquired from thisisant.com. However, I'm not clear on how to upload the S212 or S332 softdevice to the board while keeping the DFU bootloader working. I have no JTAG tools at hand currently, so I'd better avoid breaking the bootloader and consequently bricking the board.
As far as I understand, bootloader and application share the same softdevice, is that correct? Does this imply that I have to build a new bootloader against the S332 softdevice and upload that together with the softdevice before uploading an ANT enabled application? If so, are there instructions on how to do so?
I tried to investigate into that direction, but got stuck. I managed to build the bootloader from https://github.com/sparkfun/nRF52832_Breakout.git against SDK 11.0.0 and the S132 softdevice, and DFU it to the board. However, when trying to build against the S332 softdevice, I'm failing on SDK versions. If I understand the Nordic documents correctly, I need to build the bootloader against SDK 11.0.0, because the bootloader protocol changed with SDK 12.2.0, right? However, the S332 softdevice has a newer API than the S132 from SDK 11.0.0, which breaks the build. On a side note: I don't need the BLE capabilities of the bootloader, UART is sufficient for prototyping. Is there an easy way to remove the BLE dependencies from the bootloader?
So I need some advice on how to proceed. Did I miss some documentation on how to run an ANT application on the SparkFun nRF52832 breakout?
Thanks,
Wolfgang
I'm trying to prototype an ANT+ bike power sensor using the nRF52832 Breakout Board.
Thanks to the detailed hookup guide I got the blinky example running using the Arduino IDE, after working around the nrfutils issue already reported here: https://forum.sparkfun.com/viewtopic.ph ... 32#p192517. I also managed to build and run examples from the Nordic SDK, after minor adjustments for toolchain location and custom_board.h.
Next step would be to run a simple ANT example. To do so, I need to get one of the ANT softdevices uploaded to the board, which I aquired from thisisant.com. However, I'm not clear on how to upload the S212 or S332 softdevice to the board while keeping the DFU bootloader working. I have no JTAG tools at hand currently, so I'd better avoid breaking the bootloader and consequently bricking the board.
As far as I understand, bootloader and application share the same softdevice, is that correct? Does this imply that I have to build a new bootloader against the S332 softdevice and upload that together with the softdevice before uploading an ANT enabled application? If so, are there instructions on how to do so?
I tried to investigate into that direction, but got stuck. I managed to build the bootloader from https://github.com/sparkfun/nRF52832_Breakout.git against SDK 11.0.0 and the S132 softdevice, and DFU it to the board. However, when trying to build against the S332 softdevice, I'm failing on SDK versions. If I understand the Nordic documents correctly, I need to build the bootloader against SDK 11.0.0, because the bootloader protocol changed with SDK 12.2.0, right? However, the S332 softdevice has a newer API than the S132 from SDK 11.0.0, which breaks the build. On a side note: I don't need the BLE capabilities of the bootloader, UART is sufficient for prototyping. Is there an easy way to remove the BLE dependencies from the bootloader?
So I need some advice on how to proceed. Did I miss some documentation on how to run an ANT application on the SparkFun nRF52832 breakout?
Thanks,
Wolfgang