I'm testing the FRDM-K32L2B3 evaluation board using MCUXpresso SDK and IDE as described on the "Getting Started" page but the MCU is unable to run the generated SDK sample code.
I did exactly the following:
Debug result in this screenshot:
I tried also the "hello_word" code sample with the same result.
Thanks' for your help.
Claude
Hello @ClaudeHenry ,
Please find a guide provided by us that could help you out. Please let me know anything else.
Production Flash Programming Best Practices for Kinetis K- and L-series MCUs
Hi,
I didn't find anything that can help me to fix the issue actually.
I did the flash mass erase with the MCUXpresso IDE but this doesn't fix the issue.
I would like to use the "blhost" tool to try to flash the MCU but I didn't find a way to reset the MCU in BOOTROM mode.
Normally I should be able to do that by pressing the button 2 (connected to the NMI) during power up or MCU reset.
Also, is there a way to program the flash FTFA option bits with the MCUXpresso IDE ?
Regards,
Claude
Hello,
I would like to do the SWD flash erase, but I don't know how to do this on my evaluation board FRDM-K32L2B3.
Do I need a special hardware probe plugged on the J11 connector with dedicated software tool, or can I do that via the on board OpenSDA ?
Regards
Claude
Hello @ClaudeHenry ,
You can refer to the following post for the SWD.
How to trigger mass erase on somehow locked K32L2A
Also as you have mcuxpresso you can do a mass erase by using the GUI Flash tool available within the IDE. For instructions on how to use it, please check Chapter 14 of the MCUXpresso IDE User Guide.
Hello,
I already tried to do the mass erase with MCUXpresso IDE but this didn't solve the issue.
Also I can read the flash, so it doesn't seem to be read protected.
Regards,
Claude
Hello @ClaudeHenry
Ok, you can follow the next guide that can help you unlock and erase your MCU.
On the section Unlocking and Erasing with J-Link Commander.
https://mcuoneclipse.com/2014/10/05/unlocking-and-erasing-flash-with-segger-j-link/
Hello,
It would be a good idea but we don't have the Segger J-Link probe.
We only have the on board OpenSDA.
Is it possible to do the same thing using the NXP "blhost.exe" application and in this case, how to do it ?
Thanks' for your help
Claude
Hello @ClaudeHenry ,
I recommend to use the SDK latest version for the K32L2B that can be found on the following link. It is version 2.10.0
FRDM-K32L2B
Thanks', but I tried the latest v2.10.0 with the same result.
Claude
Hello @ClaudeHenry,
I also have a K32L2B3 evaluation board and I can flash a demo with no problems so we can discard a SDK problem.
In this case there are a couple questions:
Regards,
Claude
Hello @ClaudeHenry ,
Thanks for answering my questions, can you please create a new workspace and place the latest version of the SDK and let me know if this works.
It does not seem to be something wrong with your board.
Hi,
I tried a new evaluation board out of the box and all is working fine on this one.
The bad board was flashed first with an application developed on the Zephyr platform.
Is there a specific procedure to reset this board to factory settings for example ?
Regards,
Claude
Hello,
The board was working fine with until I try to load this new software.
I suppressed all SDKs and reinstall the last one 2.10.0.
The result is the same.