Skip to main content
Andrew B
Visitor II
Jan 16, 2022 9:26 AM UTC
Question

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

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.

This topic has been closed for replies.

1 reply

Sebastien DENOUAL
ST Employee
Jan 17, 2022 7:49 AM UTC

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.