cancel
Showing results for 
Search instead for 
Did you mean: 

DEV_TARGET_NOT_HALTED

amine1
Associate

I have a problem with this part of the code that involves the HAL erase function. I want to calculate the sector address from the block number i, but after execution, I encounter an error during debugging: "target ST-LINK error (DEV_TARGET_NOT_HALTED)."  any one can you give me a solution please  1.png2.png

1 REPLY 1
KDJEM.1
ST Employee

Hello @amine1 and welcome to the Community ,

 

Could you please give more detail about the issue.

Which STM32 MCU are you using?

Are you use an ST board?

 

Thank you.

Kaouthar

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.