cancel
Showing results for 
Search instead for 
Did you mean: 

Is OTA Service Manager in BlueNRG-1 disables SWD port?

Andrew B
Associate

Hello!

I'm developing BlueNRG-1 application, I want to add the OTA functionality to my project. But when I flash default OTA Service Manager to empty device it disconnects from ST-Link Utility and can't connect again. The only way to flash again is to pull BOOT pin high. So, is OTA Service Manager firmware disables SWD port? How I can change that? Thanks.

1 REPLY 1
Sebastien DENOUAL
ST Employee

Hi @Andrew B​ ,

I can confirm OTA service manager is not affecting SWD interface (ST-Link) behavior. SWD is functional after flashing OTA service manager.

What I suspect here is normal behavior because of sleep mode. Indeed OTA service manager integrates sleep mode manager - Cortex-M0 core is switch off between 2 RF events (sleep).

If BlueNRG-1 in sleep mode, you can not attached ST-link to it as core and peripherals are off.

To confirm this hypothesis, you can comment sleep mode request in OTA service manager projects.

==>  /* BlueNRG_Sleep(SLEEPMODE_NOTIMER, 0, 0); */

Regards,

Sebastien.