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.
Hi,
I'm working on ATSAME70Q21 microcontroller in Keil IDE. I downloaded latest Keil and SAME70_DFP (ATMEL) software packages. I created a dummy project (which is having only main function) and tried to flash in controller. The code is flashing but while running it's going to hard-fault before coming to the main function.
There is a problem in start up files, which I could not find out.
Can anybody help in this regards.
Thanks & Regards,
Yashwanth.
Yashwanth said:it's going to hard-fault before coming to the main function.
it's going to hard-fault before coming to the main function.
So have you stepped through the startup code to see where the Hard Fault occurs?
Or used the standard Cortex-M Hard Fault debugging techniques:
https://community.arm.com/developer/tools-software/tools/f/keil-forum/44640/faultisr-infinite-loop/161465#161465
https://community.arm.com/developer/tools-software/tools/f/keil-forum/44640/faultisr-infinite-loop/168666#168666