Example code of initialization for mini flexbus with MCF51JE256

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

Example code of initialization for mini flexbus with MCF51JE256

1,174 Views
miguelbuitrago
Contributor I

I am trying to use mini flexbus with MCF51JE256 but it doesn´t work. I was trying to migrate from MCF52259 but the instruction aren´t the same. Could anybody give me an example with MCF51JE256 of how start the code? Thanks in advance.

Labels (1)
0 Kudos
Reply
1 Reply

662 Views
TomE
Specialist II

You need something like "CFInit" which Freescale used to provide to generate startup code. This is so old it isn't on Freescale's site any more, but this thread refers to it and where it is now:

https://community.freescale.com/message/100270#100270

It doesn't support any MCF51 chips though.

Have you downloaded and looked at "TWR-MCF51JF_QUICK_START_DEMO: TWR-MCF51JF Quick Start Demo.", which is linked from the "Software and Tools" tab for your CPU?

I thought CodeWarrior had an equivalent code generation function now? Yes, that's "Processor Expert":

https://community.freescale.com/docs/DOC-93227

Otherwise, there's only THREE registers to set up in the Mini FlexBus Module for each chip select, so you should be able to work it out by reading the manual.

Tom