What is the minimum connections for MCF52259 to operate?

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

What is the minimum connections for MCF52259 to operate?

ソリューションへジャンプ
3,198件の閲覧回数
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 

ラベル(1)
0 件の賞賛
返信
1 解決策
1,509件の閲覧回数
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 件の賞賛
返信
6 返答(返信)
1,510件の閲覧回数
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 件の賞賛
返信
1,509件の閲覧回数
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 件の賞賛
返信
1,509件の閲覧回数
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 件の賞賛
返信
1,509件の閲覧回数
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 件の賞賛
返信
1,509件の閲覧回数
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 件の賞賛
返信
1,509件の閲覧回数
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 件の賞賛
返信