how to erase the whole d-flash every time with PE micro

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

how to erase the whole d-flash every time with PE micro

960 Views
gumu
Contributor IV

Hi NXP team,

when I download elf file via PE micro, the d-flash value can't be erased.

I'd like to know how to fix that.

Thanks!

Tags (1)
0 Kudos
8 Replies

943 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

Which device is this question related to?

0 Kudos

938 Views
gumu
Contributor IV

MCU is S32K314.

Thanks!

0 Kudos

920 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

Have you chosen right flash algorithm? (i.e. nxp_s32k314_1x32x1012k_hse_disabled.arp)?

0 Kudos

919 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

In the debugger there is no other option that erase all, so it should always erase the whole flash memory block.

Otherwise it could be possible to use external tool like this:

https://www.pemicro.com/products/product_viewDetails.cfm?product_id=15320181&productTab=1

 

0 Kudos

910 Views
gumu
Contributor IV

Hi,

I find that FEE example have the same issue . Here is screenshoot:

gumu_1-1678878144939.png

The data flash should be erased after downloading code every time.

 but that is not the case at all.

I'd like to know which point I missed.

Thanks!

 

Tags (1)
0 Kudos

888 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

We have tested it and it really does not erase d-flash. I have reported it to S32DS expert and he creates ticket for this in order to modify ARP algorithms.

0 Kudos

842 Views
gumu
Contributor IV

Hi @davidtosenovjan ,

Any update please notify us, thanks.

0 Kudos

835 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

It's ongoing, even if the ticket ends up with PeMicro.

Possibly you could speed it up contacting PeMicro support:

https://www.pemicro.com/login.cfm?from_url=https://www.pemicro.com/SRS/main_screen_user.cfm

 

0 Kudos