Do delay time requried to read d flash data at start up after reset?

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

Do delay time requried to read d flash data at start up after reset?

515件の閲覧回数
rubykrishna
Contributor III

Hi,

Im using a MC9S12XET256 controller(mc9s12xe family).

i'm reading a particular value from d flash memory.  For ex: lets assume the current value in the the address 0x10 _0000 is  23

 

on start up, i have the following piece of code 

_startup()

{

clockinit()

flashinit()

main()

}

 

void main()

{

temp= *(NVM_Reprogramming * __far)0x100000;

}

i found that value is not read properly 

 

When i inject a random delay, it is read properly.

_startup()

{

main()

}

 

void main()

{

uint16 i=0;

while(i<10000)

{

i++;

}

temp= *(NVM_Reprogramming * __far)0x100000;

}

 

Its reading value  23 correctly.

 

 Is any delay required to read dflash data from memory? after reset ? 

 Though controller supported emulated eeprom we didnt opt for it?

Did anybody faced such hissues earlier?

ラベル(1)
0 件の賞賛
1 返信

335件の閲覧回数
RadekS
NXP Employee
NXP Employee

Hi Ruby,

It seems that content of your question is almost the same as your next thread at https://community.nxp.com/thread/437990

We may continue in a discussion there.

I hope it helps you.

Have a great day,
Radek

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

0 件の賞賛