download program via PE error

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

download program via PE error

2,059件の閲覧回数
wxf
Contributor I

dear all,
  When I download the program to MPC5775E through PE, the following error is generated:

"error during flash programming. Terminating debug session."

with the console information as follows:

"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.

Reset script (D:\Program Files\S32DS_Power_v2.1\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_1.8.7.201906071634\win32\gdi\P&E\s32e200_mpc5777c.mac) completed.

MPC5777C Device detected.
PE-ERROR: Error downloading to the device.
Disconnected from "127.0.0.1" via 127.0.0.1. Disconnection by port "59345" from 7224
Target Disconnected."

Can you tell me how this happened and how to resolve it.

 

 

tank you!

 XiufengWang

0 件の賞賛
返信
4 返答(返信)

2,033件の閲覧回数
stanish
NXP Employee
NXP Employee

Hi,

Are you using a custom board or an NXP evaluation board?

I'd recommend you to create a new dummy single core project for MPC57775E.

Build the project and debug via PE.

First I'd start with Debug_RAM build configuration - no flash programming involved.

Then I'd repeat the test with Debug_FLASH build configuration

If you are able to debug  both - the issue is related to your custom project . Typically could be an issue in linker file (e.g. section placement into unavailable memory) causing programming algorithm to fail.

Hope it  helps.

Stan

2,029件の閲覧回数
wxf
Contributor I

Thank you for your reply

I created an empty project, and I can download the program with Debug_Ram successfully, but the result is still the same error with Debug_Flash.

The board we use is a custom board

0 件の賞賛
返信

1,913件の閲覧回数
stanish
NXP Employee
NXP Employee

Hi,

could you check the reset signal while programming flash? Do you use SBC chip on your custom board?

Also I'd recommend you to instal the latest S32DS update (it includes the latest version of pemicro plugin):

https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/S32-Design-Studio-for-Power-Architectu...

Stan

 

 

0 件の賞賛
返信

1,802件の閲覧回数
wxf
Contributor I

Sorry for the late reply

 

the VERSION of SD32DS we are using now should be ok (it has been successfully used on the development board), we used SBC chip (FS8510) to power in debug mode  

0 件の賞賛
返信