82748 program on specific address in internal flash

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

82748 program on specific address in internal flash

591 Views
terrybogard
Contributor II

Dear NXP expert,

How can i program on  specific address in internal flash? 0x7c00~0x7fff is the calibration data, I shouldn't  erase the sector when I update the program. Now when I program the chip, it will always erase the whole flash. 

0 Kudos
1 Reply

586 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

I suppose that the ADC calibration data is from application code, I think this is workaround.

You can do calibration and after the calibration, you can save the calibration data to a SRAM in debug mode or whatever, then record or copy the calibration data. You can create a new project, declare the  a constant array which is initialized with the calibration ADC data, in the new project, you can read the constant data and write them to ADC register.

Hope it can help you

BR

XiangJun Rong

 

0 Kudos