Hello, I start with 32 bit MCF51QE128 and find any debuge...

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

Hello, I start with 32 bit MCF51QE128 and find any debuge...

4,184 Views
admin
Specialist II
Hello, I start with 32 bit MCF51QE128 and find any debuger - programer for use in user board.
Labels (1)
0 Kudos
30 Replies

502 Views
JimDon
Senior Contributor III
Sorry, I'm wrong about that. DEMOQE 64PIN HEADER is the chip, and MCU_PORT the is the connector. Weird names.

I totally mis-understood the connection. I thought you were using the 64 pin I/O connector. So I see, you are just running a jumper from the daughter card on your board back to the exact same pin on the base board where the daughter card normally plugs in. What are all the pins you have connected? Did you try and use the xtal off the base board? I may try this if I get some time over the weekend. Although I have not used this specific chip, I have made several of my own boards (not using the daughter card, just using a 64 pin LQFP carrier) and have never had any issues. The only things I had connected were VDD VSS Reset and BDM and it worked fine.

Message Edited by JimDon on 2008-09-12 05:02 PM
0 Kudos

502 Views
Kaare
Contributor III
Jim, the problem arises if one wants to use the BDM connector on the demoqe board to debug an external mcu on another board. To get this working one must connect the PTD3 pin on the demoqe daughter card connector to PTD3 on the other external board. Otherwise the debugger cannot get into debug mode.

So to debug the qe128 one needs VDD, VSS, BKGD and PTD3. This is not documented anywhere AFAIK.

Another thing; this only seems to be needed to get into debug mode. When the debugger is running, the pin can be disconnected and debugging keeps working until next reset.

0 Kudos

502 Views
JimDon
Senior Contributor III




Another thing; this only seems to be needed to get into debug mode. When the debugger is running, the pin can be disconnected and debugging keeps working until next reset.

That makes sense, as if not you could not use this pin in your application.



If this is true, then the pin must connect back to the BDM chip somewhere ( which would not be documented).
Got an ohm meter?
0 Kudos

502 Views
Sanahuja
Contributor I
I agree with Kaare, I have the same conclusions; sorry if my explanations were not very clear.
0 Kudos

502 Views
Sanahuja
Contributor I
That's my problem. It works fine on the demoqe mother board. In my external board it doesn't work. But the 8bit daughter board works fine on both mother boards (mine and the demoqe).
0 Kudos

502 Views
JimDon
Senior Contributor III
Since it is not 100% clear what the situation is...

You are debugging a user made  board that is connected to the DEMO128QE.
You are putting the daughter card on the user board, and of course there is not a daughter card on the DEMOQE128.
It will connect to the HCS08 daughter card, but not the MCF51 daughter card.

Is this the situation?

0 Kudos

502 Views
Sanahuja
Contributor I
Yes it is exactly the situation. Excuse me if I was not clear.
0 Kudos

502 Views
JimDon
Senior Contributor III
Sorry, I didn't notice that the other posts were older.

You probably should have started a new thread, but in any case as I have said I have not tried an MCF51QE off the mother board.

If are are very sure that you have not made an over sight, then you should submit a service request.
This should work, as far as I know.

0 Kudos

502 Views
admin
Specialist II
Hello Rick,
thanks for help. I use DEMOQE128 bord from P & E Microsystems. But it work only with MCF51QE128 in position on demo bord. If I use daughter card for 51QE128 conekted 5cm wire to BDM pins, it is not posible make conekt. But in this position 8 bit dauther card work ok with wire from 5 to 25 cm. I think any HW problem, all power pins  conekt ok. Debug program stopt transfer whit out any mesage. I need programing and debuging my user bord, but  I need conekt ok. While I need any ok working programer - debuger for external bords. I test all cpu seting but not any result.
Josef
0 Kudos

502 Views
RickN
Contributor I
Hi Aero,
 
     You have a couple of choices for a debugger & programmer for the 51QE128.  They both use a Background Debug Mode (BDM) interface and there is one made by P & E Microsystems, and also one made by SofTec.  
 
    Check out the Freescale website:  www.freescale.com/flexis and look for the DEMOQE128 board as a good tool to get started with for your development.  It comes with a built in BDM debugger, a 9S08QE128 daughter card, and a 51QE128 daughter card for $99.  It works with the free Special Edition of CodeWarrior for MCU v6.1, and has some great demos that come with it.  Check out the accelerometer demonstration program.
 
   Thanks,
 
         Rick
0 Kudos