I work with the S32K144 device. I have a program linked against the lower half of FlexNVM (address range 0x10000000:0x10008000), and flash it with the J-Link loadfile command.
When the FlexNVM is configured as D-flash only (no eerpom), everything works as expected. However, if FlexNVM is partitioned into 32k D-Flash and 32k EEPROM backup, loadfile fails with
Downloading file [****]...
Comparing flash [100%] Done.
Erasing flash [100%] Done.
Programming flash [100%] Done.
Verifying flash [015%]
**************************
WARNING: CPU could not be halted
**************************
100%] Done.
J-Link: Flash download: Bank 0 @ 0x00000000: 2 ranges affected (22528 bytes)
J-Link: Flash download: Total time needed: 0.112s (Prepare: 0.013s, Compare: 0.005s, Erase: 0.001s, Program: 0.087s, Verify: 0.000s, Restore: 0.003s)
****** Error: Verification failed @ address 0x00000000
Error while programming flash: Verify failed.
Any advice?
Thanks in advance,
Victor
When the FlexNVM is configured as D-flash only (no eerpom), everything works as expected. However, if FlexNVM is partitioned into 32k D-Flash and 32k EEPROM backup, loadfile fails with
Downloading file [****]...
Comparing flash [100%] Done.
Erasing flash [100%] Done.
Programming flash [100%] Done.
Verifying flash [015%]
**************************
WARNING: CPU could not be halted
**************************
100%] Done.
J-Link: Flash download: Bank 0 @ 0x00000000: 2 ranges affected (22528 bytes)
J-Link: Flash download: Total time needed: 0.112s (Prepare: 0.013s, Compare: 0.005s, Erase: 0.001s, Program: 0.087s, Verify: 0.000s, Restore: 0.003s)
****** Error: Verification failed @ address 0x00000000
Error while programming flash: Verify failed.
Any advice?
Thanks in advance,
Victor