cancel
Showing results for 
Search instead for 
Did you mean: 

Nucleo-144 zephyr blinking example not working

curiousmind
Associate II

I can build it successfully using west but when I program it I get: "Warning: The core is locked up" and no LED blinks.

I also made my own blinking LED but that doesn't work either.

I can program the board using stmcubeide and that work. It seems to be an stm32cubeprogrammer issue?

3 REPLIES 3
Andrew Neil
Super User

@curiousmind wrote:

I also made my own blinking LED but that doesn't work either.


So what investigation/testing/debugging have you done to find why it's "not working" ?

 

How to write your question to maximize your chances to find a solution

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

I haven't gotten to debug it yet, I am new to Zephyr, I just wanted to try and run a simple application to begin with.

 

I managed to run the debugger, it goes to:

 

void z_arm_fault(uint32_t msp, uint32_t psp, uint32_t exc_return, _callee_saved_t *callee_regs)
{
	uint32_t reason = K_ERR_CPU_EXCEPTION;
	int fault = SCB->ICSR & SCB_ICSR_VECTACTIVE_Msk;
	bool recoverable, nested_exc;
	struct arch_esf *esf;

 with the fault 3.