Can the currently used flash bank be determined?

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

Can the currently used flash bank be determined?

659件の閲覧回数
mario_goeckel_e
Contributor I

i want to write data of a new software-image via IAP (In Application Programming) to this one of flash-banks (A and B), which is currently NOT in use to not run into conflict with parts of the running application located on the currently used flash-bank.

Within the user-manual of LPC43xx i only found the command "Chip_IAP_SetBootFlashBank(..)" for setting the boot flash-bank to A or B.

But what I need is to evaluate the used flash-bank (e.g. A) in the first place and set the boot flash-bank (B) in the second place.

0 件の賞賛
返信
2 返答(返信)

574件の閲覧回数
jeremyzhou
NXP Employee
NXP Employee

Hi Mario Göckel,

Thank you for your interest in NXP Semiconductor products and
for the opportunity to serve you.
To be honest, I'm a bit confused with the mean of 'what I need is to evaluate the used flash-bank (e.g. A) in the first place'.
Whether you want an indicator to tell which flash bank is active now, please explain it.
Have a great day,
TIC

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

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 件の賞賛
返信

574件の閲覧回数
mario_goeckel_e
Contributor I

Hello and thanks for the fast response,

Yes, i need an indicator, which tells me which flash bank is active.

Here i already found FLASHCFGA, FLASHCFGB and i am reading bit31 of these registers.

Of cource i could have written a function and a function pointer, pointing to this function and just reading this address to know which flash bank is used, but this would only be a workaround.

I guess this issue can be closed now.

Best regards

Mario Göckel

Von: jeremyzhou

Gesendet: Dienstag, 14. Mai 2019 04:16

An: Goeckel, Mario (ext) (SHS PV R&D-PE MDGC)

Betreff: You have been mentioned by jeremyzhou in Re: Can the currently used flash bank be determined? in NXP Community

NXP Community <https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg>

You have been mentioned

by jeremyzhou<https://community.nxp.com/people/jeremyzhou?et=notification.mention> in Re: Can the currently used flash bank be determined? in NXP Community - View jeremyzhou's reference to you<https://community.nxp.com/message/1150794?commentID=1150794&et=notification.mention#comment-1150794>

0 件の賞賛
返信