I'm using CrossStudio for ARM with a STlink v2 emulator and about half the time I download a program by clicking Debug->Build and Debug a hard fault is generated. The other half the time things work fine.
Also, if the hardfault is generated and I load the program using the Target->Download->Binary option and the click run, I'm able to debug the program. Is there a setting that could be causing the hard fault when using the built in debug menu?
Please sign in to leave a comment.