DEMO9S12XEP100 flash busy at power on

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

DEMO9S12XEP100 flash busy at power on

Jump to solution
1,800 Views
jsmcortina
Contributor III

I am getting intermittent problems where the flash controller reports it is busy at power on.

FSTAT bit MGBUSY is set and CCIF is clear. (FSTAT = 0x08)

FCLKDIV is set correctly. I changed the crystal to 8MHz, so use value 7.

(I had this issue with the 4MHz crystal too.)

 

My chip is mask set 1M48H which has an errata relating to flash busy. I believe I followed the published workaround by setting DFPART < 99. I used 98 and disable the EEE in any case.

The problem persists.

 

The only factor that appears to be repeatable is that I don't believe I have seen this problem when the board is powered from the USB. Mostly I power it from the 12V unreg input and that's when I see this problem.

What's the difference?

 

I believe that during application development I may have at some point used the wrong FCLKDIV which _may_ have damaged the flash according to the datasheet. But, I would expect to see the problem whatever power supply I was using.

 

 I'm somewhat stuck here. Not sure what is wrong - my code, the demo board or the CPU?

 

Any ideas?

 

James

Labels (1)
0 Kudos
Reply
1 Solution
584 Views
jsmcortina
Contributor III

I subsequently found that this is a known defect with mask set 1M48H. It is fixed in later revisions.

 

James

View solution in original post

0 Kudos
Reply
2 Replies
585 Views
jsmcortina
Contributor III

I subsequently found that this is a known defect with mask set 1M48H. It is fixed in later revisions.

 

James

0 Kudos
Reply
584 Views
jsmcortina
Contributor III

As there have been no responses here I have raised a support request with Freescale.

 

James

0 Kudos
Reply