You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
J-Link provides a flash loader for the RA8x1 MCUs suitable for programming code & data into external flash at 0x8000_0000 or 0x9000_0000.
However currently this flash loader will fail to program the external flash if the flash has already been configured into OSPI mode (for example by application code that has previously been programmed into the internal flash).
This can lead to errors being displayed such as:
e2 studio :
J-Link log file :
J-Link commander :
This problem can be avoided by resetting the OSPI flash device into single bit mode before programming. This can be done using the JLinkScript file contained in the attached ZIP file : RA8x1_Reset_OSPI.zip. This uses the OM_Reset (P106) pin - which is expected to be connected from the RA8x1 MCU to the flash device - to trigger a reset of the flash.
If using e2 studio, this JLinkScript can be added to the launch configuration:
Alternatively, you can carry out an initialise operation in the RFP (Renesas Flash Programmer) tool to mass erase the MCU, and then do a full power on reset before attempting to program the OSPI flash device.
The text was updated successfully, but these errors were encountered:
renesas-austin-hansen
changed the title
RA8x1 : J-Link OSPI Flash Loader fails if flash in OSPI mode
RA8M1 : J-Link OSPI Flash Loader fails if flash in OSPI mode
Nov 6, 2023
renesas-andyb
changed the title
RA8M1 : J-Link OSPI Flash Loader fails if flash in OSPI mode
RA8M1 / RA8D1 : J-Link OSPI Flash Loader fails if flash in OSPI mode
Jan 8, 2024
jeremy-baker
added a commit
to lvgl/lv_port_renesas_ek-ra8d1_gcc
that referenced
this issue
Mar 29, 2024
Enable the OSPI Flash on the EK-RA8D1 board and move the
const data for img_ebike_bg_large.c to the OSPI flash
using the linker script
need to add the RA8x1_Reset_OSPI.JLinkScript to the
debug configuration->Connection Settings->Script File :-
${workspace_loc:/${ProjName}}/RA8x1_Reset_OSPI.JLinkScript
renesas/fsp#330
J-Link provides a flash loader for the RA8x1 MCUs suitable for programming code & data into external flash at 0x8000_0000 or 0x9000_0000.
However currently this flash loader will fail to program the external flash if the flash has already been configured into OSPI mode (for example by application code that has previously been programmed into the internal flash).
This can lead to errors being displayed such as:
e2 studio :
J-Link log file :
J-Link commander :
This problem can be avoided by resetting the OSPI flash device into single bit mode before programming. This can be done using the JLinkScript file contained in the attached ZIP file : RA8x1_Reset_OSPI.zip. This uses the OM_Reset (P106) pin - which is expected to be connected from the RA8x1 MCU to the flash device - to trigger a reset of the flash.
If using e2 studio, this JLinkScript can be added to the launch configuration:
If using other tools, see the information on SEGGER's wiki site : https://wiki.segger.com/J-Link_script_files#Using_J-Link_script_files
Alternatively, you can carry out an initialise operation in the RFP (Renesas Flash Programmer) tool to mass erase the MCU, and then do a full power on reset before attempting to program the OSPI flash device.
The text was updated successfully, but these errors were encountered: