Quantcast
Channel: Forum - Recent Threads
Viewing all articles
Browse latest Browse all 1583

Which files should I modify if I changed sflash MX25L25635FMI-10G to MX25V8035F whith based motor development board,Biplane_EtherCAT_V1.19.

$
0
0

Hello Kazi and everybady:

Core:Renesas R7S91001

Tool: Iar, j-link

We use Renesas R7S910018 develop motor control. And   the most electronic components are same with RZ/T1 motor development board. The s-flash, MX25L25635FMI-10G,  aslo is

same with the motor development board. We have developed a motor control program based on Biplane_EtherCAT_V1.19.

But now,we have changed s-flash from  MX25L25635FMI-10G to MX25V8035F.

Question1: What should I do after switching s-flash. Or Which files should I modify?

I find there is flashloader project   in  RZ/T1 motor development board project. and when using IAR download and debug,FlashRSK_RZT1_SerialFlash.out  willl be loaded.

So, when s-falsh is change, the flashloader project  should be modify?

Question2:

1) i use j-link to erase the all  flash and use j-link download "

r01an4432xx0200-rzt1-usb-sflash\workspace\iccarm\demo_sample\RZ_T1_userprog_serial_boot.bin without boot code " in MX25L25635FMI and it ok.

2) i use j-link to erase the all  flash and use j-link download "

r01an4432xx0200-rzt1-usb-sflash\workspace\iccarm\demo_sample\RZ_T1_userprog_serial_boot.bin without boot code " in MX25V8035F and it repoted error .

That is to say boot code is not play a role in download binaries  using j-link? 

So what  decided the binaries  download using j-link? And what should i do to resolve the problem.

I find there is flashloader project   in  RZ/T1 motor development board project. and when using IAR download and debug,FlashRSK_RZT1_SerialFlash.out  willl be loaded.

So, when s-falsh is change, the flashloader project  should be modify?

Works I've done: 

1) At present, the use of the original procedure cannot use J-Link download, and it will be reported error as debug log 1 at the end.

Verify download and  Use flash loaders.

2) Comfirm j-link is suport the flash  MX25V8035

3) Cancel Verify download and  Use flash loaders, and downloadding while report as debug log 2 at the end..

Debug log 1 :

Mon Feb 21, 2022 17:11:46: IAR Embedded Workbench 7.80.3 (armproc.dll)
Mon Feb 21, 2022 17:11:46: Loaded macro file: C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.5\arm\config\debugger\Renesas\Trace_RZT1.dmac
Mon Feb 21, 2022 17:11:46: Loaded macro file: D:\Document\Renesas\IAR_workspace\yizhi\202202\servo_6axis_rzt_fz_latest\servo_6axis_rzt_fz\prj\iar\flashloader\
FlashRSK_RZT1_SerialFlash.mac
Mon Feb 21, 2022 17:11:47: JLINK command: ProjectFile = D:\Document\Renesas\IAR_workspace\yizhi\202202\servo_6axis_rzt_fz_latest\servo_6axis_rzt_fz\prj\iar\settings\
servo_6axis_rzt1_Debug.jlink, return = 0
Mon Feb 21, 2022 17:11:47: Device "R7S910016_R4F" selected.
Mon Feb 21, 2022 17:11:47: DLL version: V6.12i, compiled Nov 25 2016 18:08:26
Mon Feb 21, 2022 17:11:47: Firmware: J-Link V9 compiled May 7 2021 16:26:12
Mon Feb 21, 2022 17:11:47: JTAG speed is initially set to: 1000 kHz
Mon Feb 21, 2022 17:11:47: Initial reset was performed
Mon Feb 21, 2022 17:11:47: TotalIRLen = 4, IRPrint = 0x01
Mon Feb 21, 2022 17:11:47: TotalIRLen = 4, IRPrint = 0x01
Mon Feb 21, 2022 17:11:47: ARM AP[0]: 0x44770001, AHB-AP
Mon Feb 21, 2022 17:11:47: ARM AP[1]: 0x24770002, APB-AP
Mon Feb 21, 2022 17:11:47: ROMTbl 0 [0]: 00001003, CID: B105900D, PID:04-003BB907 ETB
Mon Feb 21, 2022 17:11:47: ROMTbl 0 [1]: 00002003, CID: B105900D, PID:04-003BB906 ECT / CTI
Mon Feb 21, 2022 17:11:47: ROMTbl 0 [2]: 00003003, CID: B105900D, PID:04-004BB912 TPIU
Mon Feb 21, 2022 17:11:47: ROMTbl 0 [3]: 00004003, CID: B105900D, PID:04-001BB908 CSTF
Mon Feb 21, 2022 17:11:47: ROMTbl 0 [4]: 00005003, CID: B105900D, PID:04-002BB913 ITM
Mon Feb 21, 2022 17:11:47: ROMTbl 0 [5]: 00006003, CID: B105900D, PID:04-002BB914 SWO
Mon Feb 21, 2022 17:11:47: ROMTbl 0 [7]: 00008003, CID: B105900D, PID:04-008BBC14 Cortex-R4
Mon Feb 21, 2022 17:11:47: Found Cortex-R4 r1p4
Mon Feb 21, 2022 17:11:47: 8 code breakpoints, 8 data breakpoints
Mon Feb 21, 2022 17:11:47: Debug architecture ARMv7.0
Mon Feb 21, 2022 17:11:47: Data endian: little
Mon Feb 21, 2022 17:11:47: Main ID register: 0x411FC144
Mon Feb 21, 2022 17:11:47: I-Cache L1: 8 KB, 64 Sets, 32 Bytes/Line, 4-Way
Mon Feb 21, 2022 17:11:47: D-Cache L1: 8 KB, 64 Sets, 32 Bytes/Line, 4-Way
Mon Feb 21, 2022 17:11:47: TCM Type register: 0x00010001
Mon Feb 21, 2022 17:11:47: MPU Type register: 0x00000C00
Mon Feb 21, 2022 17:11:47: System control register:
Mon Feb 21, 2022 17:11:47: Instruction endian: little
Mon Feb 21, 2022 17:11:47: Level-1 instruction cache disabled
Mon Feb 21, 2022 17:11:47: Level-1 data cache disabled
Mon Feb 21, 2022 17:11:47: MPU disabled
Mon Feb 21, 2022 17:11:47: Branch prediction enabled
Mon Feb 21, 2022 17:11:47: Found 1 JTAG device, Total IRLen = 4:
Mon Feb 21, 2022 17:11:47: #0 Id: 0x4BA00477, IRLen: 4, IRPrint: 0x1 CoreSight JTAG-DP
Mon Feb 21, 2022 17:11:47: ----- Prepare hardware for flashloader -----
Mon Feb 21, 2022 17:11:47: Hardware reset with strategy 0 was performed
Mon Feb 21, 2022 17:11:54: 3520 bytes downloaded and verified (18.38 Kbytes/sec)
Mon Feb 21, 2022 17:11:54: Loaded debugee: D:\Document\Renesas\IAR_workspace\yizhi\202202\servo_6axis_rzt_fz_latest\servo_6axis_rzt_fz\prj\iar\flashloader\
FlashRSK_RZT1_SerialFlash\Exe\FlashRSK_RZT1_SerialFlash.out
Mon Feb 21, 2022 17:11:54: Target reset
Mon Feb 21, 2022 17:11:54: Unloaded macro file: D:\Document\Renesas\IAR_workspace\yizhi\202202\servo_6axis_rzt_fz_latest\servo_6axis_rzt_fz\prj\iar\flashloader\
FlashRSK_RZT1_SerialFlash.mac
Mon Feb 21, 2022 17:11:54: The flash loader program reported an error.
Mon Feb 21, 2022 17:11:56: IAR Embedded Workbench 7.80.3 (armproc.dll)

Debug log 2:

Tue Feb 22, 2022 11:30:18: IAR Embedded Workbench 7.80.3 (armproc.dll)
Tue Feb 22, 2022 11:30:18: Loaded macro file: C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.5\arm\config\debugger\Renesas\Trace_RZT1.dmac
Tue Feb 22, 2022 11:30:18: Loaded macro file: D:\Document\Renesas\IAR_workspace\yizhi\202202\servo_6axis_rzt_fz_latest\servo_6axis_rzt_fz\prj\iar\startup\spi\\RZT1_init_boot.mac
Tue Feb 22, 2022 11:30:19: JLINK command: ProjectFile = D:\Document\Renesas\IAR_workspace\yizhi\202202\servo_6axis_rzt_fz_latest\servo_6axis_rzt_fz\prj\iar\settings\
servo_6axis_rzt1_Debug.jlink, return = 0
Tue Feb 22, 2022 11:30:19: Device "R7S910016_R4F" selected.
Tue Feb 22, 2022 11:30:19: DLL version: V6.12
Tue Feb 22, 2022 11:30:19: Firmware: J-Link V9 compiled May 7 2021 16:26:12
Tue Feb 22, 2022 11:30:19: JTAG speed is initially set to: 1000 kHz
Tue Feb 22, 2022 11:30:19: Initial reset was performed
Tue Feb 22, 2022 11:30:19: Found SWD-DP with ID 0x3BA02477
Tue Feb 22, 2022 11:30:19: Found SWD-DP with ID 0x3BA02477
Tue Feb 22, 2022 11:30:19: CoreSight AP[0]: 0x44770001, AHB-AP
Tue Feb 22, 2022 11:30:19: CoreSight AP[1]: 0x24770002, APB-AP
Tue Feb 22, 2022 11:30:19: ROMTbl 0 [0]: 00001003, CID: B105900D, PID:04-003BB907 ETB
Tue Feb 22, 2022 11:30:19: ROMTbl 0 [1]: 00002003, CID: B105900D, PID:04-003BB906 ECT / CTI
Tue Feb 22, 2022 11:30:19: ROMTbl 0 [2]: 00003003, CID: B105900D, PID:04-004BB912 TPIU
Tue Feb 22, 2022 11:30:19: ROMTbl 0 [3]: 00004003, CID: B105900D, PID:04-001BB908 CSTF
Tue Feb 22, 2022 11:30:19: ROMTbl 0 [4]: 00005003, CID: B105900D, PID:04-002BB913 ITM
Tue Feb 22, 2022 11:30:19: ROMTbl 0 [5]: 00006003, CID: B105900D, PID:04-002BB914 SWO
Tue Feb 22, 2022 11:30:19: ROMTbl 0 [7]: 00008003, CID: B105900D, PID:04-008BBC14 Cortex-R4
Tue Feb 22, 2022 11:30:19: Found Cortex-R4 r1p4
Tue Feb 22, 2022 11:30:19: 8 code breakpoints, 8 data breakpoints
Tue Feb 22, 2022 11:30:19: Debug architecture ARMv7.0
Tue Feb 22, 2022 11:30:19: Data endian: little
Tue Feb 22, 2022 11:30:19: Main ID register: 0x411FC144
Tue Feb 22, 2022 11:30:19: I-Cache L1: 8 KB, 64 Sets, 32 Bytes/Line, 4-Way
Tue Feb 22, 2022 11:30:19: D-Cache L1: 8 KB, 64 Sets, 32 Bytes/Line, 4-Way
Tue Feb 22, 2022 11:30:19: TCM Type register: 0x00010001
Tue Feb 22, 2022 11:30:19: MPU Type register: 0x00000C00
Tue Feb 22, 2022 11:30:19: System control register:
Tue Feb 22, 2022 11:30:19: Instruction endian: little
Tue Feb 22, 2022 11:30:19: Level-1 instruction cache disabled
Tue Feb 22, 2022 11:30:19: Level-1 data cache disabled
Tue Feb 22, 2022 11:30:19: MPU disabled
Tue Feb 22, 2022 11:30:19: Branch prediction enabled
Tue Feb 22, 2022 11:30:19: Found 1 JTAG device, Total IRLen = 4:
Tue Feb 22, 2022 11:30:19: Executing execUserPreload() function
Tue Feb 22, 2022 11:30:19: Hardware reset with strategy 0 was performed
Tue Feb 22, 2022 11:30:19: Initialize ATCM
Tue Feb 22, 2022 11:30:19: ACTRL: 06000020
Tue Feb 22, 2022 11:30:26: ATCM initialization finished
Tue Feb 22, 2022 11:30:26: Init SPIBSC
Tue Feb 22, 2022 11:30:26: FINISH Executing execUserPreload() function
Tue Feb 22, 2022 11:30:33: Fatal error: Error while determining flash info (Bank @ 0x30000000) Session aborted!
Tue Feb 22, 2022 11:30:33: Failed to load debugee: D:\Document\Renesas\IAR_workspace\yizhi\202202\servo_6axis_rzt_fz_latest\servo_6axis_rzt_fz\prj\iar\Release\Exe\servo_6axis_rzt1.out
Tue Feb 22, 2022 11:30:33: IAR Embedded Workbench 7.80.3 (armproc.dll)


Viewing all articles
Browse latest Browse all 1583

Trending Articles