Tool/software: Code Composer Studio
I want to do 2 in answer② . Could you tell me how to do this in detail? With sample code
http://www.tij.co.jp/tool/jp/ucd3138fw-psf
Suddenly, the following address value was rewritten to 0xffffffff.
00018880 _pmbus_dcdc_cal_constants
0001888c _pmbus_dcdc_cal_nonpaged_constants
00018890 _pmbus_dcdc_config_constants
000188d0 _pmbus_dcdc_config_nonpaged_constants
00018900 _pmbus_checksum
Parameters are not rewritten in Fusion digital power studio.
Are there any possible causes?
Can you think of the effects of noise?
②There is a noise related cause that will erase data flash. In the background loop, there is code like this:
if (erase_segment_counter > 0)
{
erase_task(); // Handle the DFlash segment erases
}
We have seen cases where system noise and inadequate grounding and filtering of the UCD power supply can cause the processor bit to be changed so that the erase segment counter will be seen as non-zero when it is actually zero. The end effect of this is that most of the dflash is erased.
Our recommended way of dealing with this is twofold:
1. Fix the layout so that the noise level is low enough so that this doesn't happen
2. Put the lock value for the dflash lock in RAM, and have a PMBus command to write to it. Otherwise, keep it at zero. That way if a spontaneous data erase or other issue happens in the field, it won't destroy the data. If you want to actually change the data, for example at production test and calibration, you need to write the lock value.
Happy Debugging,