Hi.
( uint8_t my_test[FTFx_PHRASE_SIZE] = {0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u}; )
I pressed F11 Key to debug
and pressed F8 Key to use breakpoint.
But somewhy, the program was stopped by DEV_ASSERT Macro.
I think the value 'ret' was not STATUS_SUCCESS.
so I pressed CTRL+F2 Key to exit debug mode.
and then I tried again. (press F11)
So this error is occured.....
I changed usb plug, and used another s32k144 board.
so, I'm sure this board is stuck in somewhere.
I'm trying to connect to external debugger with my board to do a mass erase.
But popup said that my device can't be mass erased. (mass erase disabled)
it's weird. because I might have written all 0 to flash configuration field.
and to make mass erase disabled, the MEEN field is to be 10....
What happend to my board?
and what can i do...?
please help me.
Thanks,
Best regards,
Phillip.
Solved! Go to Solution.
Hello @kmh48301,
Getting sparks is always a bad sign, if there's a hardware problem the behaviors will be unpredictable si I will suggest investigating first this issue.
Regarding the lock MCU, this usually happens when you write the flash memory section 0x400, that's the reason in the linker file is preserved in this section so try not to write it with any flash operation.
Best Regards,
Alexis Andalon
Hello @kmh48301,
Could you try using the P&E recovery utility?
The functionality is explained here:
Bricking and Recovering FRDM-KL25Z Boards: Reset, SWD Clock and Low Power | MCU on Eclipse
Best Regards,
Alexis Andalon
Hi
thanks for replying.
I've already tried this utility.
I'm not sure I understood how to do this utility.
but, when I tried, I selected "OPENSDAUSB" and clicked start,
then, that console said 'please try power cycling'.
so I repeated unplug and replug the usb.
but i couldn't see any response from the utility..
thanks
Best Regards,
Phillip
Hello @kmh48301,
The power cycling needs to be done until there's a response from the utility if there isn't any reply is probable that is not recoverable.
Also, you could try using the following option:
If these two options don't work is probable that this MCU can't be recovered.
Best Regards,
Alexis Andal0on
Hi. Alexis
Thank you for additional advice.
It also didn't work..
I think my board is gone.
But I need to know the reason...
What is your opinion? Is it Hardware problem or the code was bad?
Actually, I pluged and unpluged many times with usb. and i saw spark from junction.
and I admit that my program was pretty wrong.
because I used P-Flash block that contains important data such as
flash configuration field and code and etc..
But I'm not sure that the wrong program which i made and put
result in this problem..
Thanks
Best regards,
Phillip
Hello @kmh48301,
Getting sparks is always a bad sign, if there's a hardware problem the behaviors will be unpredictable si I will suggest investigating first this issue.
Regarding the lock MCU, this usually happens when you write the flash memory section 0x400, that's the reason in the linker file is preserved in this section so try not to write it with any flash operation.
Best Regards,
Alexis Andalon
Plus D1 RED LED is always on..
my co-worker said my board is stuck in reset sequence..