Reply by darkknight June 4, 20062006-06-04

Thanks.

On 3 Jun 2006 22:52:14 GMT, novatech@eskimo.com (Steven Swift) wrote:

>darkknight <darkknight.21@gmail.com> writes: > > >>We're looking at converting a PCB from 6805 to 68H08. Freescale >>(Motorola?) have a document that says the H08 is enhanced "fully >>object code compatible" version of the 6805. I suspect this just >>means that the opcodes for e.g. BRA somewhere, are the same in H08. I >>know most H08 instructions execute faster than 6805.. > >>I will read the manuals in detail to compare but I'm wondering if >>anyone is aware of any differences in the operation of SPI, SCI, >>Timers etc where 6805 code will behave differently on the H08 or any >>problems that might occur migrating from 6805 to H08. > >>Thanks. > >I just ported about 5,000 lines of '05 assy code to '08 code. It >mostly works without change. The trickiest work was setting all the >new control registers. They are all slightly different and took some >tweaking. You also have to be careful with 8-bit and 16-bit >instructions and watch your stack. > >If you have software timing loops, they have to be adjusted. > >Grab a download of Freescales "equate" files and put a value on every >register during your initialize routine. It will work just fine. > >Steve.
Reply by Steven Swift June 3, 20062006-06-03
darkknight <darkknight.21@gmail.com> writes:


>We're looking at converting a PCB from 6805 to 68H08. Freescale >(Motorola?) have a document that says the H08 is enhanced "fully >object code compatible" version of the 6805. I suspect this just >means that the opcodes for e.g. BRA somewhere, are the same in H08. I >know most H08 instructions execute faster than 6805..
>I will read the manuals in detail to compare but I'm wondering if >anyone is aware of any differences in the operation of SPI, SCI, >Timers etc where 6805 code will behave differently on the H08 or any >problems that might occur migrating from 6805 to H08.
>Thanks.
I just ported about 5,000 lines of '05 assy code to '08 code. It mostly works without change. The trickiest work was setting all the new control registers. They are all slightly different and took some tweaking. You also have to be careful with 8-bit and 16-bit instructions and watch your stack. If you have software timing loops, they have to be adjusted. Grab a download of Freescales "equate" files and put a value on every register during your initialize routine. It will work just fine. Steve. -- Steven D. Swift, novatech@eskimo.com, http://www.novatech-instr.com NOVATECH INSTRUMENTS, INC. P.O. Box 55997 206.301.8986, fax 206.363.4367 Seattle, Washington 98155 USA
Reply by darkknight June 1, 20062006-06-01
We're looking at converting a PCB from 6805 to 68H08.  Freescale
(Motorola?) have a document that says the H08 is enhanced "fully
object code compatible" version of the 6805.  I suspect this just
means that the opcodes for e.g. BRA somewhere, are the same in H08.  I
know most H08 instructions execute faster than 6805..

I will read the manuals in detail to compare but I'm wondering if
anyone is aware of any differences in the operation of SPI, SCI,
Timers etc where 6805 code will behave differently on the H08 or any
problems that might occur migrating from 6805 to H08.

Thanks.