82748 program on specific address in internal flash

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

82748 program on specific address in internal flash

814件の閲覧回数
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 件の賞賛
返信
1 返信

809件の閲覧回数
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 件の賞賛
返信