cancel
Showing results for 
Search instead for 
Did you mean: 

how to solve this error "No source available for "memset() at 0x8002a28" ?

Girish1
Associate III
 
1 ACCEPTED SOLUTION

Accepted Solutions
liaifat85
Senior II

This error message means that the debugger is trying to access the source code for the memset()  function but cannot find it. Please follow the instructions given by STTwo-32. Recheck your optimization level and memory allocation. If you ever consider making a customized board with STM32, you can try this

 

View solution in original post

4 REPLIES 4
STTwo-32
ST Employee

Hello @Girish1 

I think you should check your debug configuration settings (Optimization Level, and Debug Level). For that, I advise you to check this post (not updated but it Can help) and this video. it may help you. Also, have a look at this article in the debug section: How to make sure the STM32 starts properly in our design?

Best Regards.

STTwo-32 

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.

liaifat85
Senior II

This error message means that the debugger is trying to access the source code for the memset()  function but cannot find it. Please follow the instructions given by STTwo-32. Recheck your optimization level and memory allocation. If you ever consider making a customized board with STM32, you can try this

 

make all src/main.d:1: *** multiple target patterns. Stop. how to solve this error

Don't hijack threads, even ones that you started.