2018-09-16 12:29 PM
Upgraded ST-Link to V2.J29.M18 STM32 Debug+Mass storage.
STM32 ST-LINK Utility is v4.2.0.0 USBDriver v5.0.3.0 CLI.exe v3.2.0.0
Removed both ST link jumpers .
Fresh CR2032 battery installed on STEVAL-SmarTag1
Connected directly on SWD (pin 1 correctly aligned)
Message Can not connect to target!
ST-Link V2 is connected to Nucleo L476 board.
ST-Link does connect to this board when ST-links reinstalled.
I have also tried a separated ST-Link V2. Also no connection to SmartTag1
How do I connect to the STEVAL-SmarTag1 to change firmware from default?
Solved! Go to Solution.
2018-09-24 02:44 AM
Sorry,
Stupid question..
Do you have removed the 2 CN2 jumper on ST-Link for the Nucleo Board?
if you connect the SmarTag with ST-link and open the ST-LINk...
do you see this ?
Device family: STM32L03x 32k
and so on?
Because if you see L4... because if you don't see it... you are looking the STM32 of the Nucleo Board and not the SensorTile's one.
Ciao
Luca
2018-09-17 12:22 AM
I had downloaded the STSW-LINK004 V.4.2.0, the latest available on st.com like you.
I had updated the st link firmware to V2.j29.M18 like you
I had tried with 2 different Nucleo Boards: one Nucleo-L053R8 and like you with one Nucleo-L475RG.
I had tried to flash one binary using the ST-link or with a simple Copy&paste using the file manager and all the times I am always able to flash the new firmware on EVAL-SmarTag1.
Please be sure to follow the instructions on Quick Start Guide:
See the image attached.
So remove the 2 jumpers for CN2 and, in order to be sure, attach the EVAL-SmarTag1 directly to the
Nucleo Board like the image highlighted with the Blue arrow.
You could try also to make before e Full Flash erase from ST-Link and after flash the new firmware.
For ST-Link Check also the settings, I'm using:
It's necessary to make the "connect under reset" because we use the Low Power mode for STM32.
best regards
Luca
2018-09-17 12:24 AM
2018-09-17 08:16 AM
Thanks Luca.
I followed all your suggestions without connecting.
I then tried both plugging in the Smartag1 directly to the ST-Link SWD and
using the 6 wire cable with the Blue wire connected to CN3-Rx as shown in the photo.
I always get the NODE_L476RG to pop up with the FAIL.TXT message
" The interface firmware FAILED to reset/halt the target MCU "
Details.TXT is " Version: 0221
Build: May 30 2018 10:37:36"
Last night I also upgraded to V2.J31.M21 STM32 Debug+Mass storage
I have the settings as shown in your screen shot.
Mine shows Detection Fail of the Target
Finally, I decided to check the battery again. Apparently my battery was cycling from 3.3 to 2.4
I had measured it out-of-circuit at 3.3 but decided to replace it with a completely virgin battery.
Finally, it connected again. Stupid battery lied to me!
I compared the Smartag1.bin with my compiled version and see major differences although I have not changed the original source code. What Optimization level does the sample binary have?
2018-09-24 02:44 AM
Sorry,
Stupid question..
Do you have removed the 2 CN2 jumper on ST-Link for the Nucleo Board?
if you connect the SmarTag with ST-link and open the ST-LINk...
do you see this ?
Device family: STM32L03x 32k
and so on?
Because if you see L4... because if you don't see it... you are looking the STM32 of the Nucleo Board and not the SensorTile's one.
Ciao
Luca