If you are trying to flash your FRDM-RW612 and one of the following J-Link errors appears:
Error 1:
****** Error: Verification failed @ address 0x18000000
Error while programming flash: Verify failed.
Error 2:
****** Error: Verification failed @ address 0x08000000
Error while programming flash: Verify failed.
This can happen because of different reasons; the one I have addressed is when we flash a RD-RW612-BGA binary into FRDM-RW612. When doing this the board will get locked, and we will no longer be able to write data into the flash until we unlock it.
Please try the following:
1. Get MCUXpresso Secure Provisioning Tool
2. Create a New Workspace and select RW612
3. In Source executable image select i.e. "<path_to\>MCUX_Provi_v9\bin\_internal\data\sample_data\targets\RW612\source_images\frdmrw612_gpio_led_output.s19". Click on the check box of the Configuration Helper message that appeared and click OK.
4. Set your board in ISP mode; Connect the USB cable to your PC via J10 with the ISP (SW3) button pressed.
5. In the options of the tool please select RW612, UART (select the correct PORTx), Plain, Flex SPI NOR - complete FCB, InField shadow regs, No TrustProvi and PyOCD.
6. Click on Build Image
7. Move to Write Image section and click on Write Image
8. Once the example is flashed, the LED in the board should start to blink
9. Power reset your board and try flashing a MCUXpresso SDK hello_world
I hope this helps.
Regards,
Daniel.