cancel
Showing results for 
Search instead for 
Did you mean: 

I have bought new stm32l562E-DK board recently, I have written embedded rust code to blink an led. the compilation is proper binary file generated. When I Flash it is showing this error. Please help me out.

bsara.1
Associate II

sarathk@sarath:~/Desktop/project/open_s_projects/rust_projects/stm32l/led_blink$ probe-run target/thumbv7em-none-eabihf/debug/led_blink --chip stm32l562qeixq

Error: Error while flashing

Caused by:

   0: Something during the interaction with the core went wrong

   1: An error with the usage of the probe occured

   2: Operation timed out

13 REPLIES 13

I have connected under reset, it is showing the same issue.

Yes this first time programming the board.

That is I am not sure. When I press reset button LD4, LD5,LD6 and LD7 glows in sequence and stops. Finally the LD9, LD10 and LD5 are on.

Hi, still I am not able to figure out the issue , Can you please help me. Thank you.

Hi @bsara.1​ ,

Try the tips provided in the article How to solve debugger connection issues?

May be you altered debug pins with your first loaded code.

-Amel

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Piranha
Chief II

Mode: Under reset

Reset mode: Hardware reset