How to connect target board using serial port BDM?

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

How to connect target board using serial port BDM?

4,789 Views
hanga
Contributor I
hello experts
   I am just a beginner with this microcontroller.I have some question about BDM.

1. I can connect board using BDM(usb port) and i also can download the programe.
2. I want to know how to connect board using BDM(serial port), should i download some other programe first,
    I have read some documents about BDM(serial port) connecting,they  said  after  you connected the board,
   then push the reset button,the screen should show some information about the board,but i didn't see that,
   Is there anyone can help me through this problem? i will appreciate that.

my email:  hanga1984@gmail.com
0 Kudos
3 Replies

568 Views
hanga
Contributor I
hello peg
   thanks for your reply.I will tell you some detail below about my IC.
1 my MPU is MC9S12DG128
2 hardware is no problem here i am sure
3 I want to get information in my computer screen using "Super Terminal"  which is a Microsoft programe.
4 I already used TBDML which is conneced to PC with USB successfully.


looking forward to your reply
regards

0 Kudos

568 Views
peg
Senior Contributor IV
Hi hanga,

Do you mean Hyperterminal?
A BDM connection to a PC is generally for programming/debugging only.
General purpose comms between your MPU and a PC would usually be carried out over the device's SCI port (or perhaps USB if available).
You would have to write your own code to achieve this.
I am still unsure what you are trying to achieve.

0 Kudos

568 Views
peg
Senior Contributor IV
Hello and welcome to the forums, Hanga,

I know of one BDM adapter design that connects to the PC via the serial port. But if you have the hardware design then you should also have the software to drive it.
Generally if you are connecting to a S08/S12 via a PC's serial port then you would be using some kind of serial bootloader.
Here you are connecting directly to the MPU's SCI port via simply a level shifter like a MAX232 etc.
All of the work is done by some code already burnt into the flash memory of the MPU itself.
You have to put this code there yourself (usually via the BDM connection)

Having sait that, perhaps you could supply us with some more details:
What MPU?
What hardware do you have between the MPU and the PC?
Where are you getting your information from about serial connection?
What type of BDM adapter have you already successfully used?




Message Edited by peg on 2008-04-20 09:48 AM
0 Kudos