S32K3 with pflash erase/write operation while dlfash configured as simulated e2prom

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

S32K3 with pflash erase/write operation while dlfash configured as simulated e2prom

652件の閲覧回数
cfyywcc
Contributor II

HI NXP expert team:

I have an S32K314 board with AUTOSAR 4.2.2, we've configured the DFLASH as simulated e2prom,and it works fine!

Next, I plan to develop soft a/b upgrade function, you see, by which I can upgrade B partition(BLOCK3-4) when AUTUSAR runs in A parition(BLOCK1-2) online.

But I just don't know how to configure the pflash erasable/writable since it seems that AUTOSAR has already configured the low level fls interface with dflash.

So, my question is: what can I do to approach the purpose? 

Deeply appreciate your sincere help!

ラベル(1)
タグ(1)
0 件の賞賛
返信
5 返答(返信)

550件の閲覧回数
Nhi_Nguyen
NXP Employee
NXP Employee

Hi @cfyywcc ,

You means that you want to run multicore?

Best regards,

Nhi

0 件の賞賛
返信

473件の閲覧回数
cfyywcc
Contributor II

No, S32K314 is single-core with AUTOSAR 4.2.2. and we can only config dflash operation on it with Davinci tool, so if I want to operate(erase/write) dflash, OK, AUTOSAR has already support it natively,but based on this if I want to operate pflash on AUTOSAR furtherly , no way, right?

0 件の賞賛
返信

468件の閲覧回数
Nhi_Nguyen
NXP Employee
NXP Employee

Hi @cfyywcc ,

What package are you using? As far as I know, dflash and pflash will be support to configure in driver. This is for pflash.

Nhi_Nguyen_0-1704268279523.png

Best regards,

Nhi

0 件の賞賛
返信

463件の閲覧回数
cfyywcc
Contributor II

Logically dflash will be configed as nvm usage, but if I also config pflash as bootable B partition of full a/b solution, maybe I update B partition at the same time AUTOSAR will refresh some nvm item too, conflict occurs,right?

So, how can I do now?

0 件の賞賛
返信

446件の閲覧回数
Nhi_Nguyen
NXP Employee
NXP Employee

Hi @cfyywcc ,

As far as I know, conflict just occur when you touch to same regions. pflash and dfash are on difference regions. In configuration, there is overlap error when you try to configure same regions.

Best regards,

Nhi

0 件の賞賛
返信