What is the minimum connections for MCF52259 to operate?

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

What is the minimum connections for MCF52259 to operate?

Jump to solution
2,253 Views
Dglzz
Contributor I

I want to prepare a self-sufficient breakout board (means having minimum connections to operate and be programmed) for 144-pin MCF52259. 

 

So power rails and crystal pins are obvious but what are the other essential pins? Especially I am confused about programming part.

 

 

Thanks 

Labels (1)
0 Kudos
1 Solution
564 Views
scifi
Senior Contributor I

A few weeks ago, I made my first MCF52259-based board. Apart from power supply pins, it is essential to configure clock source out of reset (pins CLKMOD0..1, XTAL.) You have to deassert TEST and RCON as well. I'm also using a power supply supervisor to generate RESET and a CMOS oscillator for external clock. I am using BDM for debugging and flash programming, that's 6 pins total (pins 38-43.) That's all.

 

Regards,

- mike

View solution in original post

0 Kudos
6 Replies
565 Views
scifi
Senior Contributor I

A few weeks ago, I made my first MCF52259-based board. Apart from power supply pins, it is essential to configure clock source out of reset (pins CLKMOD0..1, XTAL.) You have to deassert TEST and RCON as well. I'm also using a power supply supervisor to generate RESET and a CMOS oscillator for external clock. I am using BDM for debugging and flash programming, that's 6 pins total (pins 38-43.) That's all.

 

Regards,

- mike

0 Kudos
564 Views
Obetz
Contributor III

scifi wrote:

A few weeks ago, I made my first MCF52259-based board. Apart from power supply pins, it is essential to configure clock source out of reset (pins CLKMOD0..1, XTAL.) You have to deassert TEST and RCON as well. I'm also using a power supply supervisor to generate RESET and a CMOS oscillator for external clock. I am using BDM for debugging and flash programming, that's 6 pins total (pins 38-43.) That's all.


What about JTAG_EN?

 

Oliver

0 Kudos
564 Views
Dglzz
Contributor I

Thanks, it is very helpful, and another question;

 

If I buy use a low-cost BDM like AxBDM-CF, will I need a 26-pin BDM pinout. Or is there another debug pinout(port) to use that 6 pins(38-43) to program?

 

 

 

 

 

 

 

0 Kudos
564 Views
Nouchi
Senior Contributor II

Hello,

 

BDM link needs 9 lines, you can build a cable adaptor from 26 pins berg connector to a 10 pins connector with a smaller footprint for your PCB.

You need to keep BKPT, RSTI, DSCLK, DSI, TCLK, DSO, ALLPST, +VCC and GND indeed.

 

 

Emmanuel

 

Message Edited by BugMan on 2009-10-08 09:14 AM
0 Kudos
564 Views
Obetz
Contributor III

BugMan wrote:

 

BDM link needs 9 lines, you can build a cable adaptor from 26 pins berg connector to a 10 pins connector with a smaller footprint for your PCB.

You need to keep BKPT, RSTI, DSCLK, DSI, TCLK, DSO, ALLPST, +VCC and GND indeed.


 

You don't need TCLK and ALLPST for basic BDM debugging. Well, ALLPST saves polling but it's not needed unless the debug adapter insists on using it.

 

It might be necessary to have TCLK (and JTAG_EN, of course) if you want to unlock a protected device via JTAG, (alternatively you can use EzPort).

 

Oliver

Message Edited by Obetz on 2009-10-09 09:49 AM
0 Kudos
564 Views
PabloBaena
Contributor III

Hi,

I'm having difficulties for programming the MCF52259 in my own board for the first time. I studied the TWR-MCF5525X circuit but my design is not working for BDM connection.  Can't find what is missing

What about the PST[3..0] and DDATA[3..0] lines?

Thanks in advance for your response.

0 Kudos