Flash API(C40_IP_xxxx ) generate hardfault when running on sram

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

Flash API(C40_IP_xxxx ) generate hardfault when running on sram

470件の閲覧回数
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 返答(返信)