We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
hello ! in fact i want to place 2 section with overlay technique on a CORTEX M0 but always i face a hardfault , please is there any tricks on how i should use the overlay manager or what
So you first need to determine why, exactly, you are getting the Hard Fault.
Google, "Cortex M0 Hard Fault" for plenty of tips & tutorials on debugging Cortex-M0 Hard Faults.
You should also study a copy of Joseph Yiu's "The Definitive Guide to ARM® Cortex®-M0 and Cortex-M0+ Processors"
www.elsevier.com/.../978-0-12-803277-0
thank you sir for your reply , in fact i adapted my cortex M0 hard fault handler to see the register just like on cortex M3 and that hard fault is caused by the wrong use of overlay technique so i want to know is there any tricks to add to overlay manager to resolve this
Hello Hamzaoui,
It would help to understand why you are using data overlaying. This is not used as often in Cortex-M devices compared to more powerful ARM processors.
Also, overlaying can be more involved than just a few liner commands. Did you see this Compiler Guide section?
developer.arm.com/.../overlay-support-in-arm-compiler
Since this is an ARM Compiler specific question, I suggestion you cross-post over at
https://community.arm.com/
...and add a link from that forum page here. That way, you have more eyeballs on your compiler issues.
Thanks,