Announcements

Equip yourself to optimize AURIX™ MCUs for Evs at the EV Webinar. Click here to register.

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

AURIX™ Forum Discussions

WarmSpring
Level 1
Level 1
First like given First reply posted 10 sign-ins

After I transferred the PF0 program to SRAM to run, then executed [Erase Logical Sector Range] in sequence.

It work well,  HF_ERRSR did not report an error, and HF_OPERATION also passed, no busy.

But when I check memory dump by TASKING, it is true that almost all the data is displayed as "0", but there are a few bits that are "1".

I thought it was due to bad memory or unstable current and voltage. So I repeated the test several times and changed the Triboard, but the result remained the same, it could not be erased to "0" in several fixed address.

I took a screenshot of part of it.
[Erase Logical Sector Range] can be that all PF fields become 0, is my understanding wrong?
Thank you for watching.

WarmSpring_0-1671614751312.png

WarmSpring_1-1671614773291.png

WarmSpring_2-1671614776723.png

WarmSpring_3-1671614804552.png

 

 

0 Likes
1 Solution
cwunder
Employee
Employee
25 likes received 25 solutions authored 100 sign-ins

You cannot directly read PFlash after an "Erase" operation. As you stated you have checked HF_ERRSR
and HF_OPERATION for errors and there were none. If you want to check the erased state of PFlash then you need to use the one of the following commands:

cwunder_0-1671672451054.png

cwunder_1-1671672613481.png

 

View solution in original post

2 Replies
cwunder
Employee
Employee
25 likes received 25 solutions authored 100 sign-ins

You cannot directly read PFlash after an "Erase" operation. As you stated you have checked HF_ERRSR
and HF_OPERATION for errors and there were none. If you want to check the erased state of PFlash then you need to use the one of the following commands:

cwunder_0-1671672451054.png

cwunder_1-1671672613481.png

 

Thank you for your answer, I have learned more about AURIX's ECC and flash command.

0 Likes