Good eavening,
Unfortunately, after programming the flash incorrectly, I can no longer find the target.
I tried deleting the .launch file; it sees that there is a card but can no longer find it.
I do not have an external debugger. How can I repair the target?
Thanks in advance.
已解决! 转到解答。
Hi @Transidico,
What could be happening is that the flash memory is secured. Could you help me check if the memory is protected?
You can do this using the MCUXpresso Secure Provisioning Tool.
Click the UART button (red). This will open the Connection with Target Processor window.
Test the UART connection by connecting the board through the MCU-Link USB (J13) and using Test connection button (green).
If the flash is secured as shown in the picture, you can try the following:
Open the Command Line Interface (blue) and run the command:
blhost -p COM37,57600 -- flash-erase-all-unsecure
Note: The COM port may vary depending on your setup.
Best Regards,
Pablo
Let me explain what happened: I'm using the frdm-mcxc242 board with the integrated mcxpresso console. I wanted to try making a very simple program that would save a variable to the flash drive by inserting it from the console. It saved and read the variable to the flash drive 3 or 4 times, then at a certain point it showed me the screen shown before: SWD no device available.
I don't use external debuggers, but I need to recover the board. I tried pressing the reset button and restarting the PC, but it didn't work.
Was the board lost?
Hi @Transidico,
Can you help me test whether updating the firmware of the LPC55S69 resolves your issue?
You can follow the steps outlined in the following post:
How to update the debugger of the MCX - N & MCX - A - NXP Community
To set the EVK into DFU mode on the FRDM-MCXC242, you need to close jumper JP1.
Best Regards,
Pablo
Good morning Pablo,
I tryed to do the programming the LPC55s69 but it didn't work. I also tryed to do the mass erase of the flash and also not work.
If i delate the file .launch i can see the device
but when I try to recharge, it does not recognise the device:
I really wouldn't know how to do that.
Thanks. Best regards
Hi @Transidico,
What could be happening is that the flash memory is secured. Could you help me check if the memory is protected?
You can do this using the MCUXpresso Secure Provisioning Tool.
Click the UART button (red). This will open the Connection with Target Processor window.
Test the UART connection by connecting the board through the MCU-Link USB (J13) and using Test connection button (green).
If the flash is secured as shown in the picture, you can try the following:
Open the Command Line Interface (blue) and run the command:
blhost -p COM37,57600 -- flash-erase-all-unsecure
Note: The COM port may vary depending on your setup.
Best Regards,
Pablo
I can't figure out what this new firmware has to do with anything. I think if I programmed the flash incorrectly, I think mass erasing the flash will probably fix the problem. If I programmed the flash with a variable from the console and the console abruptly shut down, I programmed the flash incorrectly. Can you tell me if mass erasing fixes this?
Thank you for reply.