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

Switch from S210 to S310

Hi, 

Is switching from softdevice S210 to S310 as simple as changing the IRom start address and putting the uploading the softdevice onto the device?

Now I have IROM1 start: 0xD000 and size: 0x33000. Should I change these values? To what?

Are the two softdevices compatible in the ANT area? 

I want to migrate my app that now uses only ANT+ to be able to use Bluetooth as well.

Thanks

Parents
  • Ok, I just tried. I moved the address from 0xD000 to 0x1D000 as the S310 take up 0x1CFFF. The program loads and runs however the execution failes @ the softdevice initiation. To be exact, it fails @ err_code = ant_plus_key_set(ANTPLUS_NETWORK_NUMBER);

    Network number i 0. Network key is set properly I suppose as the code worked on the S210.

    I also changed the settings in the preprocessor settings for C++ and Asm (changed S210 to S310). Need I change anything else?

Reply
  • Ok, I just tried. I moved the address from 0xD000 to 0x1D000 as the S310 take up 0x1CFFF. The program loads and runs however the execution failes @ the softdevice initiation. To be exact, it fails @ err_code = ant_plus_key_set(ANTPLUS_NETWORK_NUMBER);

    Network number i 0. Network key is set properly I suppose as the code worked on the S210.

    I also changed the settings in the preprocessor settings for C++ and Asm (changed S210 to S310). Need I change anything else?

Children
No Data
Related