Skip to main content
Visitor II
April 14, 2017
Question

Sensortile demo app doesn't work without SWD connection.

  • April 14, 2017
  • 1 reply
  • 537 views
Posted on April 14, 2017 at 06:46

Sensortile doesn't work without SWD connection.

When I compiled and ran the demo application(BLE app), only it worked when the sensortile with cradle was connected to SWD which is from Nucleo board. When the board is detached from SWD and working with battery, the flashed image doesn't work. It means the board doesn't work standalone by using battery. I've checked that the battery is fully charged. Could anybody help ?

    This topic has been closed for replies.

    1 reply

    ST Employee
    May 4, 2017
    Posted on May 04, 2017 at 10:09

    STSW-STLKT01 example projects (like BLE_SampleApp) by default are configured to work with a bootloader (can be fount in Utilities\BootLoader\STM32L476RG\BootLoaderL4.bin).

    - Bootloader binary must be downloaded to flash base address: 0x08000000

    - App binary 

    must be downloaded to flash address: 0x08004000 (projects are already configured to do this)

    At reset, if the bootloader is non present then the app cannot run.

    Whereas if you are debugging the app is the debugger itself that start the application even if the bootloader is not there.

    Hope this explains the behavior.