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 issue can occur for several reasons; one common case is when flashing an RD-RW612-BGA binary onto an FRDM-RW612 board. Doing so will lock the board, preventing any further writes to the flash until it is unlocked.
Please try the following:
1. Get MCUXpresso Secure Provisioning Tool
2. Create a New Workspace and select RW612
3. In Source executable image select
<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:
- Ensure the board is powered off (fully disconnected)
- Press and hold the ISP button (SW3)
- While holding SW3, connect the USB cable to J10 and your PC
- Release SW3 after the board powers up
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.