How to preserve second block of flash during debugging

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

How to preserve second block of flash during debugging

1,223件の閲覧回数
paulderocco
Contributor III

I'm using a FRDM-K64F board, and I'd like to store some non-volatile data into the upper flash block. How do I configure the KDS debugger so that when I load my code, it doesn't erase the entire flash? I'm using the Multilink Universal FX and JTAG.

ラベル(1)
タグ(1)
0 件の賞賛
返信
3 返答(返信)

1,012件の閲覧回数
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello Paul:

Maybe this tutorial is what you are looking for, explained by colleague Erich Styger:

Preserving Memory Ranges with Eclipse and P&E GDB Server | MCU on Eclipse


Regards!,
Jorge Gonzalez

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

1,012件の閲覧回数
paulderocco
Contributor III

That works--thanks.

It is, however, kind of an ugly hack to modify a readonly file deep in the KDS system, though. It would be really nice if the developers added a way to do this on a per-project basis, as was apparently the case in the old CW.

0 件の賞賛
返信

1,012件の閲覧回数
BlackNight
NXP Employee
NXP Employee

Hi Paul,

yes, I agree this is only a hack and a workaround. I already have asked P&E if they could add that to their gdb solutions. As a customer of their Fx probes, for sure you can ask them too, so P&E knows that there is a need for this functionality.

Thanks,

Erich

0 件の賞賛
返信