Skip to main content
FBoth.1
Associate II
Jun 29, 2020 8:48 AM UTC
Solved

Programming the sensor tile

Good day,

I have purchased a sensor-tile and would like to code said tile. The board is receiving power and the SWD connections are correct and double checked. Then when the st link is plugged in and one wants to debug and program the micro an error states that the target is not detected. Therefore I cannot code the micro. These are the only connections to and from the micro. I am using a ST-Link V2 to program this product. Also when the board has power I cannot pick it up through Bluetooth. Any help will be greatly appreciated.

This topic has been closed for replies.
FBoth.1
FBoth.1Best answer
Associate II
Jul 28, 2020 5:53 PM UTC

Got it working. Was an issue with the board it was soldered to

8 replies

Eleon BORLINI
ST Employee
Jun 30, 2020 3:27 PM UTC

Hi @FBoth.1​ , do you have the ST-Link V2 and the correct adapter for programming the SensorTile.box board? Which programming toolchain are you using? I suggest you to launch a full chip erase for example through the STM32 ST-LINK Utility or with the Cube Programmer and then reconnect it to the board. Regards

FBoth.1
FBoth.1Author
Associate II
Jul 1, 2020 6:48 AM UTC

I have the official ST-Link V2. I am connecting the SWD interface to the bord using the pinout shown below.

0693W000001rsteQAA.png

Then when running a full chip erase a still get the same error I always get

0693W000001rsuhQAA.png

And I have tried everything the error message suggests but still no change

Eleon BORLINI
ST Employee
Jul 7, 2020 7:53 AM UTC

Hi @FBoth.1​ , if you are using the SensorTile.box tool, in order to interface it with the STLINK V2 programmer you need a dedicated adapter and cable that should have been provided with the ST.box tool, as described in the user manual UM2626... Do you have it? Regards

0693W000001sHyFQAU.png

FBoth.1
FBoth.1Author
Associate II
Jul 9, 2020 12:42 PM UTC

I am currently using the SensorTile module (STEVAL-STLCS01V1) shown below

0693W000001sXIZQA2.png

I then connect its SWD pins to that of the ST link. I also have an ST link onboard one of my other ST dev boards that have SWD output to program external applications. I connect these SWD pins to that of the sensor tile and it still does not work. This procedure is followed in the getting set up guide provided but they use a Nucleo board with an ST link V2-1 onboard. I am wondering if it is possible to program the sensor tile with a ST link V2 instead of the ST link V2-1 or equivalent that they state in the guide.

Many thanks

Eleon BORLINI
ST Employee
Jul 9, 2020 2:33 PM UTC

Hi @FBoth.1​ , ok understood, so it was not the SensorTile.box but the Sensortile. But are you using the SensorTile expansion Cradle board or the SensorTile Cradle (which are part of the STEVAL-STLKT01V1 kit) that are equipped with the SWD connector, where you can plug the STLINK V2 (Nucleo) cable? Regards

FBoth.1
FBoth.1Author
Associate II
Jul 9, 2020 3:36 PM UTC

No cradle board. Using the chip as is in the picture above soldered to connectors and only connecting the SWD pins on the chip to the ST Link. From the schematics there seems to be no additional circuitry required to connect the chip to the ST Link. Even if it is connected via the cradle board. Or did I miss something?

FBoth.1
FBoth.1AuthorBest answer
Associate II
Jul 28, 2020 5:53 PM UTC

Got it working. Was an issue with the board it was soldered to

Eleon BORLINI
ST Employee
Jul 29, 2020 7:51 AM UTC

Good to hear it from you ;)