QT = QD ???

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

QT = QD ???

2,189 Views
JO_O_BR
Contributor I
Hello,
 
I need to chage from QT (MC68HC908QT2) to QD???
 
How can I do this???
 
Can I do this??? Will I need change my prograns???
 
Which is the better QD to replace the QT2???? If it is possible...
 
 
Tanks,
Sorry my bad english... hahaha 
Labels (1)
0 Kudos
Reply
4 Replies

1,020 Views
JO_O_BR
Contributor I

Tanks for answers!!!

 

I have a new question. Lundin comment about the programing...

 

My program has build in C using CodeWarrior IDE. I was thinking that I'll only need to correct the I/O ports and the main of program won't be unchanged.

 

But then it will not work???

 

But I can use the same command of the QT main program??? Or I'll need to change everything???

0 Kudos
Reply

1,020 Views
fabio
Contributor IV

Hello Joao-BR,

 

Lundin is talking about physical device programming (and debugging) and you are asking about logical device programming.

 

Well, in either way, HCS08 is different from HC08, despite using a similar CPU, the HCS08 includes new addressing modes for some instructions, different peripherals and a new (not so new indeed) programming/debugging interface.

 

If you plan switching to an HCS08 device, I'll have to re-write your application all peripheral registers have different names and work in a different way.

 

I live in Brazil and own a design house here (in Santa Catarina), maybe we can help you out in migrating from one plataform to another.

 

Regards,

0 Kudos
Reply

1,020 Views
fabio
Contributor IV
Hello Joao,

I presume you are talking about the MC9S08QD. As it is an HCS08 device, there are differences on the object code and a lot of differences on the peripherals and their registers.

Your code will need to be re-written to work on the QD device.

And about your second question, try an MC9S08QD2 as a replacement for your QT2 device.

Regards,

0 Kudos
Reply

1,020 Views
Lundin
Senior Contributor IV
Biggest difference is that S08 has a BDM programming interface and not the crappy MON08. This means that your hardware gets less complicated and your products less error-prone, so it is an entirely good thing.
0 Kudos
Reply