D-BUG12 and 9s12

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

D-BUG12 and 9s12

5,151 Views
scientist
Contributor I
hello, I am from mexico, peninsula of yucatan, so I am sorry for my english, my question is, if I need programming DBUG-12  in to the microcontrollers 9s12 our If already they have it of factory the DBUG-12?
if don´t understand iam sorry :smileyvery-happy:
Labels (1)
0 Kudos
19 Replies

1,647 Views
nikosxan
Contributor I
Hello.
 
Yes you need some kind of BDM POD to program MCU chip. However, since you 'll have a pod i think you DON't need DBUG 12....... :smileywink:
0 Kudos

1,647 Views
scientist
Contributor I
so I am confused, because I have a board with the 9s12gc32, and I use the special single monitor with Code Warrior, what I need to work with that option? I think  that was needed the DBUG-12 to work special single monitor, waht I needed? a firmware BDM to work? The 9s12 already come with this firmware?our I need a POD for programming the micro?
I´m sorry for my bad english

Message Edited by scientist on 2008-06-30 03:12 PM

Message Edited by scientist on 2008-06-30 03:15 PM

Message Edited by scientist on 2008-06-30 03:15 PM
0 Kudos

1,647 Views
nikosxan
Contributor I
BDM involves some specific MCU pins / ability form loading program to MCU etc. and specific external H/W (pod) to do the job. Sometimes they put inside the MCU some S/W means to do the job (at least similar job), as is the DBUG 12. 
 
When you say  firmware BDM you mean hardware ???
 
You want to go to production  ? (program some MCUs with a program you developed ...)
0 Kudos

1,647 Views
scientist
Contributor I
hi, thanks for answering me, the questions is I wanna construct my own board, and I want buy the 9s12gc32, the freescale don´t sale the Mcu with D-BUG12? if don´t, I need a POD for programming the DBUG-12 in to the MCU? Thanks again for your attention


Message Edited by scientist on 2008-06-29 10:29 PM
0 Kudos

1,647 Views
JimDon
Senior Contributor III
-DBUG-12 will not fit in a 32K part.
-DBUG-12 is not really useful for development, as you are limited to RAM and whats more POD mode is not supported in CW anymore.
-DBUG-12 is not really supported at all by Freescale.
-Unless you were buying a POD board from freescale, which I don't think freescale makes anymore, DBUG-12 was never programmed into a chip. It was always up to the board manufacturer to do that.
-You want a P&E USB Multiink to program you board. You could buy a DBUG-12 POD, but it will not support new chips, and you have to use the serial port instead of the CW GUI. And you will not really save much.

Bottom line, forget about DBUG-12, and get the P&E Multilink. It is will supported.




0 Kudos

1,647 Views
scientist
Contributor I
hello, thank you very much for all his answers, that help me a lot for information, so, I need a POD for programming a microcontroller of the family 9s12xxxx for programming in the mode monitor, so other questions, (a lot of questions :smileyvery-happy:) in my board that buy used the 9s12gc32, in the specifications says that have a programm monitor that occupies 2k in flash, with the POD I can programme the microcontroller and then make my board with this programm monitor, They can recommend me a card to buy? thanks again
and again, sorry for my bad english
0 Kudos

1,647 Views
nikosxan
Contributor I
What brand is your board ? Do you have an internet link for that ?
 
Yes, some board manufacturers do put a small monitor program (such as DBUG) to help you start with your board without a need for extra H/W as pod. However, not all functionality is always there. I should not consider it pro tool. Again, what do you want exatly to do and you need to buy MCU with monitor pre-programmed ?
0 Kudos

1,647 Views
scientist
Contributor I
yes, I am from mexico, and buy that board in the http://www.racom.com.mx/desarrollo.php but the page is in spanish, and my doubt was if freescale sale the MCU with that program monitor in the flash? thanks again
0 Kudos

1,647 Views
kef
Specialist I
Are you talking about at factory flashed LRAE bootloader firmware? No, all parts come blank from the factory.
Old MC9S12DJ64 Device User Guide V1.20 says "It is planned that most HC9S12 devices manufactured after Q1 of 2004 will be shipped with the S12 LRAE programmed in the Flash". Unfortunately or fortunately these plans weren't ant won't be realized.
If multilink is too expensive for you, then maybe build TBDML. Good luck
0 Kudos

1,647 Views
scientist
Contributor I
thank you very much kef, can you put some link about that programmer?
0 Kudos

1,647 Views
kef
Specialist I
0 Kudos

1,647 Views
JimDon
Senior Contributor III
The TBDML does not work correctly when the PLL is engaged.
It will not show the registers under these conditions.  It is unsupported.
You will probably be able to burn flash, but may find it is not worth the effort if you need to debug.



0 Kudos

1,647 Views
scientist
Contributor I
hello, a partner tell me that the mc9s12ne64 already have a firmware with bootloader, its that true?
he showme a article thats says that, but better I ask you first
0 Kudos

1,647 Views
scientist
Contributor I
hello, looking in other forums I readed this
 
"
Hi Nick.The Softec on the AK-S12NE64-A board, there is a daughter board called CM-HCS12NE64 where you can find the NE64 chip.On this daughter board, there is also a BDM port. You can you any BDM pod/cable and any software interfacing this BDM pod/cable to download code and debug an application.As you noticed, the chip is factory flashed with a Monitor talking via the Serial/COM port to debugger/software that support the Monitor (HCS12 Serial Monitor), this to get an immediate debugging support without buying any BDM pod/cable.But if you debug via BDM with pod/cable, you can fully erase the chip and get rid of the Monitor.Regards,Gilles
" in a page called osnir, please, let me known what you think about this, thanks
 
again, sorry for my bad english


Message Edited by scientist on 2008-07-04 10:14 PM
0 Kudos

1,647 Views
nikosxan
Contributor I
Ok. Thank you. I am aware of somw US boards that DO come with flashed monitor for serial load / flash program.
0 Kudos

1,647 Views
JimDon
Senior Contributor III
One last try:

Do NOT buy a pod.

Buy a P&E USB Multilink.

0 Kudos

1,647 Views
scientist
Contributor I
:smileyvery-happy: ok, sorry, thanks, and can you recommend a board of the 9s12?
0 Kudos

1,647 Views
kef
Specialist I
AFAIK dBug12 needs more than 64k of flash. No way to fit dBug in GC32.
0 Kudos

1,647 Views
nikosxan
Contributor I
Hello
 
DBUG-12 is already programmed in some off the self boards with S12, but not in every chip that comes out of the factory. I use an elektronikladen board and it was not programmed, however, some other assembled boards / modules have it programmed in order for the user to be able to load code into MCU... It functions as a bootloader in general (it loads code from PC, flashes it in memory and runs it).
 
So, if already have a board check the manual for DBUG.
0 Kudos