cancel
Showing results for 
Search instead for 
Did you mean: 

stm32l151 bootloader issue

Parmin Nayani
Associate III
Posted on May 03, 2017 at 15:39

Hi,

We have a custom designed STM32L151R board. We have not been able to flash the code using the flash loader application (demonstrator gui) . We are able to load the code using ST-Link and the serial port works properly when configured through the code. Is this an inherent problem of the controller or are we doing something wrong? We need to get the serial boot loader working as there may be site updates. Thank you for your time. Awaiting your suggestions to solve the problem.

Note: this post was migrated and contained many threaded conversations, some content may be missing.
23 REPLIES 23
Posted on May 25, 2017 at 17:22

Hi

Nayani.Parmin

,

Could you pleasecheck with STLINK-Utility @address 0x00000000 if boot is configured to system memory where bootloader resides or not ?

Thanks

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Posted on May 25, 2017 at 17:29

Do you have analyzer plots of the 0x7F/0x79 interactions? We seem to be going in circles, and no one from ST has indicated that the System Loader is chronically broken, so let's start assuming it is not, and look more clearly at exactly what is going on, and how that might be remediated.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on May 29, 2017 at 14:30

Hi Imen D,

Here is the screenshot of the memory0690X00000603oYQAQ.jpg

Hope this will help.

Posted on May 29, 2017 at 14:34

Hello Clive One,

Checked the Rx and Tx pins with an oscilloscope. Pulses are seen on Rx pin of the controller whenever 0x7F is sent from PC/Laptop, but there is nothing on the Tx pin. Thank you.