i'm trying to make a simple led switch on or off with an LPC1124 P3.4
but when i'm initializing, i alway end up int HardFault_handler
I have no idea what is wrong ?
/* Initialize GPIO */
Chip_GPIO_Init(LPC_GPIO);
Chip_GPIO_SetPinDIR(LPC_GPIO, 3, 4, true); // WHEN I DO THIS I END UP in HardFault Handler.... why is this ?
The same thing works for the LPC 11U37
If i try the same thing even with the blinky project i have the same error while debugging...
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
To provide the fastest possible support, I'd highly recommend you to use the demo in the LPC1125's LPCOpen library.
LPCOpen Software for LPC11XX | NXP
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Hi Jeremy,
Thanks for the help but i already solved the problem.
It was a hardware problem with the debugging cable which gave me this strange effect...
Pascal
Hi pascal carreweyn,
Thanks for your reply.
Goad to hear the issue had been solved.
If you have any further questions about it, please feel free to contact me.
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------