I defined a constant with a default value in the dflash of the software.But when I use BDM to program the software to the MC9S12P128, I find that the dflash area of the defined data is not the default value I set, but all is 0xFF. I ues the CW 5.1 .But when I change to CW4.7, I also use the BDM flash method to see that the dflash area is the correct default value. Why is there such a difference between CW5.1 and CW4.7? How can I use CW5.1 to program dflash?
Hi,
Thank you for contacting us.
I couldn’t reproduce your problem. Can you please send me your demo code that runs under CW4.7 and CW5.1? I will check it directly from my side. Please mention which memory address you monitored.
Have a great day,
Jennie Zhang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------