The S32K312 FEE cannot set the data flash at 0x10002000 as the starting address.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

The S32K312 FEE cannot set the data flash at 0x10002000 as the starting address.

420 Views
victory
Contributor IV

Hi,NXP

1. When using the fee module to set 0x10002000 as the starting address, the S32DS compiler reports an error. Can you help solve this issue?

2. Detailed code is attached.

0 Kudos
Reply
8 Replies

400 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@victory

I don't see any compiler error

Senlent_0-1730269287156.png

 

0 Kudos
Reply

393 Views
victory
Contributor IV

Hi Senlent,

The MEM_43_INFLS and MemAcc of MCAL will report errors, as shown in Figures 1 and 2.

victory_0-1730284656411.png

                           Figures 1

 

victory_1-1730284729494.png

                                    Figures 2

 

Tags (1)
0 Kudos
Reply

380 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@victory

I didn't see any error on myside, maybe you can click "update code" to see if the error will miss or not.

Senlent_0-1730339044552.png

 

0 Kudos
Reply

377 Views
victory
Contributor IV

Hi,Senlent

After clicking the "Update" button, please check the error displayed in the lower right corner of the image. The MemSectorBatch address can only be set to 0x10000000 and cannot be set to 0x10002000.

victory_0-1730341840979.png

 

Tags (1)
0 Kudos
Reply

366 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@victory

You should know that “Mem Physical Sector” and “Mem Start Address” are one-to-one and fixed, and cannot be modified.

Senlent_0-1730353465568.png

 

0 Kudos
Reply

373 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@victory

I want to ask, is this the code you wrote yourself?

Have you confirmed that the RTD version is consistent with the project you provided?

I have already shown you my screenshots, and there is no ERROWs.

0 Kudos
Reply

370 Views
victory
Contributor IV

1. This is the code I wrote myself.

2. The RTD version is 4.0.0.

3. I saw your screenshot; setting the starting address of MemSectorBatch to 0x10000000 is fine, but when I try to set MemSectorBatch to 0x10002000, I get an error.

4. I want to use 32k of data flash starting from 0x10002000, and reserve the data flash from 0x10000000 to 0x10001FFF for booting purposes.

Tags (1)
0 Kudos
Reply

359 Views
victory
Contributor IV

Hi

1.I want to use 32k of data flash starting from 0x10002000, and reserve the data flash from 0x10000000 to 0x10001FFF for booting purposes.

2.Based on point 1, can the fee function still be implemented?

0 Kudos
Reply