This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Building a new project using ANT+

Hi,

I'm trying to build a working example of an aplication that uses the ANT+ softdevice (either s210 or s212). I already found out that the PCA10028 and PCA10031 (my board) have the same chipset, so the examples for 28 should work for 31 assuming I change the board name in the compiler/linker settings (see this post: https://devzone.nordicsemi.com/f/nordic-q-a/8207/ble_peripheral-on-pca10031-dongle#post-id-45007). Is that correct?

The newest example of an application that uses ant+ that I could find is based on SDK10.0.0. I managed to compile it after some terrible problems but it doesn't seem to work and I cant fix the debug (again). The application is the HRM_RX. The main problem is, that it won't load with the soft device on 

ERROR: FLASH DOWNLOAD FAILED: CORTEX M0

When I delete the softdevice it won't run, it hangs searching for a softdevice, I think. The solution could be, shifting the start of the program memory above the softdevice, but it doesn't seem to work me either... duh (see here: https://devzone.nordicsemi.com/f/nordic-q-a/9/why-do-i-get-error-flash-download-failed-cortex-m0-when-downloading-a-project-from-keil)

questions:

1.Can you help me fix the above problems?

2. Is there a way to migrate an app for newer board, that uses a newer SDK to the older board (10031)?

3. Can you provide me with an example of a working app for ANT+ (hr-rx would be perfect) fot 10031 (NRF51 dongle) using the newest SDK?

Thanks

Related