RA0E1- Unable to access SWD/UART with flash programmer

 Hello,
       At first by using Renesas Flash programmer., I have performed a target read using SWD for the code flash (all blocks), data flash (1 KB), and config area (36 Bytes), all of which were in a 0xFF state. I then wrote to the code flash (all blocks), including block 0 with random data. Following this, I was unable to access the RA0E1 target via SWD, An error (E4000003) is shown during the connection attempt.
Even when tried with UART interface also displays error (E3000105)
    

 what could be the cause of this issue? or what steps can I take to recover it?
any suggestion would be greatly appreciated.
Thanks.

Parents
  • Hello,

    RFP does not support RA0E1 via 2-wire UART - only via SWD.

    Please try to erase block 0 with the attached script.

    Modify the JLink_path.bat to match with your J-Link installation path and run the .bat file.

    RA0E1_Erase_Block_0.zip

  • Hello,
    I appreciate your prompt reply, The installation directory and version are identical to those specified in JLink_path.bat, namely, "C:\Program Files\SEGGER\JLink_V838" and when I run the Erase_Block_0_RA0E1.bat in the command prompt, it shows the following error:


    it is possible that the contents of RA0E1_Erase_Block_0.zip contain invalid code. Could you kindly verify this and provide us an appropriate solution? Any suggestions would be highly valued.

  • I then wrote to the code flash (all blocks), including block 0 with random data

    There is a chance that this enabled accidentally the ID code protection for on-chip debugger by writing the OSIS registers with random data. This protection may or may not allow connecting again to the device.

    If you do not know the correct ID code, and the protection is enabled with bit 127, 126 set to 1 (2nd case on above table), you can issue the ALeRASE ID code via the debugging interface with the attached scipt (again run the .bat file and modify the j-link installation path).

    https://community.renesas.com/cfs-file/__key/communityserver-discussions-components-files/256/RA0E1_5F00_ALeRASE.7z

Reply
  • I then wrote to the code flash (all blocks), including block 0 with random data

    There is a chance that this enabled accidentally the ID code protection for on-chip debugger by writing the OSIS registers with random data. This protection may or may not allow connecting again to the device.

    If you do not know the correct ID code, and the protection is enabled with bit 127, 126 set to 1 (2nd case on above table), you can issue the ALeRASE ID code via the debugging interface with the attached scipt (again run the .bat file and modify the j-link installation path).

    https://community.renesas.com/cfs-file/__key/communityserver-discussions-components-files/256/RA0E1_5F00_ALeRASE.7z

Children