2019-08-12 06:03 AM
Hi,
Someone could help me, please?
When I remove battery on my system (NO VDD and NO Vbat on the MCU), and I connect it back, the system do not start!!!!
The only way to start the system is a NRST signal.
OR
Switch OFF and ON only the VDD power supply (VBAT still 1.8V).
What should be investigated ?
Thank's for any reply.
Stef
2019-09-03 03:22 PM
So the hardware works and the problem is purely software related... An the last lines in a console shows very clearly what has happened!
OS_ERR_CPU_STATE_ISR_ILLEGAL (166 = 0xA6) *** OS-function called from ISR with high priority
Also, as You have commented out HAL_Init(), but are using HAL, then HAL_GetTick() & Co must be properly implemented in Your code.