Trap occurence when accesing invalid section in Pflash section

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

cross mob
User16595
Level 1
Level 1
Hello All,

I was trying to read different sections of PFLASH in TC387-QP series micro+6

The section which is nor flashed have invalid values so when i read such section i get a trap.

Please help me how to disable the ECC trap before reading the PFLASH section.
0 Likes
1 Reply
cwunder
Employee
Employee
5 likes given 50 likes received 50 solutions authored
The ECC on the PFlash is calculated over 256 data bits and the address bits. The data is stored in Flash with error correcting codes “ECC” in order to protect against data corruption.

You should not disable the ECC fault. If you want to check if some of the PFlash memory is in the erased state there are FSI command for doing this:

Verify Erased Page
Verify Erased WL
Verify Erased Logical Sector Range
0 Likes