lpcware

Global variable

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by manlong on Thu Jun 12 14:14:32 MST 2014
Hello,

I use LPCXpresso v7.2.0 for LPCXpresso 1549.
I don't understand why when I execute my program with a global varialbe, the program go directly to HardFault_Handler.
The program compile well.
When I comment the use of my global variables but the declaration stay present, the program run well.
When I use global variable, and I want to execute it, the program go directly to HardFault_Handler.
Do you have an explanation, a solution of my issue?

Regards

Man Long

Outcomes