MCF52259 -- errata?  Address fetch speculation?

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

MCF52259 -- errata?  Address fetch speculation?

Jump to solution
2,699 Views
RichTestardi
Senior Contributor II
Hi all,
 
I noticed in the 52259 stationery that flash address speculation is still disabled in FLASHBAR bit 6.
 
However, I was unable to find any errata that might indicate this is broken, like in the 52221 or 52233.
 
Does anyone know if it is safe to turn it on?
 
It sure seems to work, and gives an instant 9% performance improvement for my application, on top of the 5% that seems intrinsic in the 52259 already!
 
(With it turned on, 52221's and 52233's can't even boot my application.)
 
-- Rich
 
Labels (1)
0 Kudos
Reply
1 Solution
725 Views
mjbcswitzerland
Specialist V
Hi Rich

I received confirmation from freescale that the "speculaton bug has been fixed in the MCF5225X". This means that the workaround is no longer needed for this chip.

Regards

Mark

www.uTasker.com



View solution in original post

0 Kudos
Reply
4 Replies
726 Views
mjbcswitzerland
Specialist V
Hi Rich

I received confirmation from freescale that the "speculaton bug has been fixed in the MCF5225X". This means that the workaround is no longer needed for this chip.

Regards

Mark

www.uTasker.com



0 Kudos
Reply
725 Views
RichTestardi
Senior Contributor II
Awesome, thanks!!!
 
We broke 100,000 StickOS BASIC statements per second on the MCF52259! :smileyhappy:
 
-- Rich
 
0 Kudos
Reply
725 Views
Nouchi
Senior Contributor II
Hi Rich,

If the AFS bit still in the Reference Manual, I guess it works, because there's no AFS anymore in the MCF52235RM/MCR52223RM (bit 7-6 reserved, should be cleared).  This feature seems to be discarded on kirin2 devices. I don't seen any kirin3 device errata for the moment.


Emmanuel
0 Kudos
Reply
725 Views
RichTestardi
Senior Contributor II
I'm not really sure the absence in the 52223/52235 reference manual means anything, since both the 52223 and 52235 errata's say:
 
Use FLASHBAR[6] to enable or disable the address speculation mechanisms of the flash controller. The default configuration (FLASHBAR[6] = 0) enables the address speculation. If FLASHBAR[6] equals 1, address speculation is disabled. Core performance may be degraded from 4% – 9%, depending heavily on application code.
So you actually have to *set* a reserved bit in this case, and the stationery startup code does just that.
0 Kudos
Reply