Skip to main content
Associate II
November 28, 2023
Solved

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

  • November 28, 2023
  • 4 replies
  • 2899 views

..

This topic has been closed for replies.
Best answer by liaifat85

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

 

4 replies

STTwo-32
ST Technical Moderator
November 28, 2023

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.
liaifat85Best answer
Visitor II
November 28, 2023

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

 

Girish1Author
Associate II
December 15, 2023

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

David Littell
Senior II
December 15, 2023

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