Hello pgo i have a small problem with an s12xs128 mcu,i successfully reflash the rom file that i have in linear address $7E0000 but when i try to verify fail and get this message " that buffer is not agreed with the content".
What do you think is the problem and i can't verify the file that aleready is inside?
Mcu is not secured.
Spiros
Solved! Go to Solution.
Hi Spiros,
The USBDM programmer uses two different methods to verify the image programmed. A more complicated method used during programming and a simpler read-back used for the "Verify" function. Unfortunately the second method doesn't handle linear addresses correctly.
I have attached a modified programming file that uses the 1st method at both times so that the separate verify will correctly validate the flash contents.
Note: It was the verify which was in error. The programming and programming verify was correct.
I will have to consider the appropriate long-term approach.
bye
Hi Spiros,
I have just retested with a MC9S12XS128 and it passed the tests I tried.
Could you provide the image you are trying to program so that I can test further?
Also:
Thanks.
Hi Spiros,
The USBDM programmer uses two different methods to verify the image programmed. A more complicated method used during programming and a simpler read-back used for the "Verify" function. Unfortunately the second method doesn't handle linear addresses correctly.
I have attached a modified programming file that uses the 1st method at both times so that the separate verify will correctly validate the flash contents.
Note: It was the verify which was in error. The programming and programming verify was correct.
I will have to consider the appropriate long-term approach.
bye
Hello pgo
Yes the programming-verify works great only the verify was the problem.
Thank you for the quick fix.
Spiros