Flash API(C40_IP_xxxx ) generate hardfault when running on sram

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Flash API(C40_IP_xxxx ) generate hardfault when running on sram

471 次查看
kyc6507
Contributor I

Hi, 

1. Development summary is

CPU : S32K312, Tools : Design studio 3.5, D32K3.P01 RTD autosar R21-11 version 3.0.0

Emulator : PEMicro USB multilink

 

2. I am developing functions for flash programming on ethernet communication

1) Upload binary file to PCB board by ethernet comm.

2) Burn flash(Flash block2) by upload binary data

3) Copy flash block2 to flash block1 and reset CPU(This function is running on ram code)

 

3. I did this functions for

1) Generate C40_IP component

kyc6507_1-1726995568301.png

2) I changed macro of CP_IP.h, CP_IP.c  as follows

#define FLS_START(STOP)_SEC_CODE --> FLS_START(STOP)_SEC_RAMCODE

 

4. Errors are

kyc6507_2-1726995904962.png

I will really appreciate your help

Thank you

 

 

 

 

 

 

0 项奖励
回复
0 回复数