Dear
The processor I use is MPC5777C, the debuger I use is Multilink_Universal_FX, and the IDE I use is S32 Design Studio for Power Architecture Version 2.1.I created the project to be able to debug in RAM and flash.
But I can't download the generated .elf file to flash using the flash from file tool.Attached is the .elf file generated by the project.The compilation information of the console is as follows:
“Connection from "127.0.0.1" via 127.0.0.1. Connection from port "49779" to 7224
Copyright 2018 P&E Microcomputer Systems,Inc.
Command Line :D:\NXP\S32DS_Power_v2.1\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_2.0.2.202005132054\win32\pegdbserver_power_console -device=MPC5777C -startserver -singlesession -serverport=7224 -gdbmiport=6224 -interface=USBMULTILINK -speed=5000 -port�
P&E Interface detected - Flash Version 10.81
Flash Data in range 0x00800000-0x00800007.
Flash Data in range 0x00800400-0x008006ED.
Flash Data in range 0x00810000-0x008100F3.
Flash Data in range 0x00811000-0x00811763.
Flash Data in range 0x00811770-0x0081B453.
CMD>RE
Initializing.
Device IDCODE is $00000377
Device ID revision is $00000001
Initializing Ram Block 0x00300000-0x00307FFF.
MPC5777C Device detected.
Target has been RESET and is active.
CMD>CM D:\NXP\S32DS_Power_v2.1\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_2.0.2.202005132054\win32\gdi\P&E\nxp_mpc5777c_1x32x2048k_cflash_highspeed.pcp
Initializing.
Device IDCODE is $00000377
Device ID revision is $00000001
Initializing Ram Block 0x00300000-0x00307FFF.
MPC5777C Device detected.
DOUBLE BUFFERING enabled.
Initialized.
;version 1.04, 12/13/2016, Copyright P&E Microcomputer Systems, www.pemicro.com [5777C_8meg_highspeed]
;device NXP, MPC5777C, 1x32x2048k, desc=CFlash_highspeed
;begin_cs device=$30800000, length=$00800000, ram=$00300000
Loading programming algorithm ...
Done.
Programming sequency is : erase, blank check, program, and verify {default}
CMD>VC
Verifying object file CRC-16 to device ranges ...
block 00800000-00800007 ...
Ok.
block 00800400-008006ED ...
Ok.
block 00810000-008100F3 ...
Ok.
block 00811000-00811763 ...
Ok.
block 00811770-0081B453 ...
Ok.
Checksum Verification Successful. (Cumulative CRC-16=$9609)
Application verified in memory. No need to reprogram.
CMD>RE
Initializing.
Device IDCODE is $00000377
Device ID revision is $00000001
Initializing Ram Block 0x00300000-0x00307FFF.
MPC5777C Device detected.
Target has been RESET and is active.
Device IDCODE is $00000377
Device ID revision is $00000001
Starting reset script (D:\NXP\S32DS_Power_v2.1\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_2.0.2.202005132054\win32\gdi\P&E\s32e200_mpc5777c.mac) ...
REM This script is compatible with MPC5777C devices.
REM Clean GPRs to remove residual data after using algorithm
REM Setup MMU for for Periph B Modules
REM Base address = $FFE0_0000
REM TLB0, 2 MByte Memory Space, Guarded, Don't Cache, All Access
Once Status Register Result = $0209
REM Set up MMU to put internal Flash at 0...
REM Virtual address 0x0 -> Physical address = $0000_0000
REM TLB1, 16 MByte Memory Space, Not Guarded, Cachable, All Access
Once Status Register Result = $0209
REM Set up MMU for External Memory
REM Base address = $2000_0000
REM TLB2, 16 MByte Memory Space, Not Guarded, Cachable, All Access
Once Status Register Result = $0209
REM Set up MMU for Internal SRAM
REM Base address = $4000_0000
REM TLB3, 512 KByte Memory Space, Not Guarded, Don't Cache, All Access
Once Status Register Result = $0209
REM Set up MMU for Periph A Modules
REM Base address = $C3E0_0000
REM TLB4, 2 MByte Memory Space, Guarded, Don't Cache, All Access
Once Status Register Result = $0209
REM Initialize all of the Main SRAM - 512KB
Initializing RAM from $40000000 to $4007FFFF.
Initializing Ram Block 0x40000000-0x4007FFFF.
Reset script (D:\NXP\S32DS_Power_v2.1\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_2.0.2.202005132054\win32\gdi\P&E\s32e200_mpc5777c.mac) completed.
MPC5777C Device detected.
No breakpoints currently set.
Disconnected from "127.0.0.1" via 127.0.0.1. Disconnection by port "49779" from 7224
Target Disconnected.
”


I really need your help, thank you very much for your help.
respectly