Sign in

username:

password:



Not a member?

Search 68hc12



Search tips

Subscribe to 68hc12



68hc12 by Keywords

68HC1 | 812A4 | 9S12DP256 | Bootloader | CodeWarrior | D60A | Debugger | DP256 | ECT | EEPROM | EVB | Flash | HC1 | HCS12 | I2C | IAR | ICC1 | Interrupts | LCD | M68KIT912DP256 | MC9S12DP256 | MC9S12DP256B | Metrowerks | Motor | MSCAN | Multilink | PLL | Quadrature | SDI | SPI | Transceiver | XFC


Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | 68HC12 | Dev Systems


Advertise Here

Join our technical discussions about Freescale Microcontrollers: M68HC12. (Freescale Semiconductor is a Subsidiary of Motorola).

Dev Systems - Bruce McMillan - Sep 15 23:16:00 2003

Hi. I have
> a motorola eval board EVB912DP256 (with D-Bug12 loaded)
> a P&E BDM multilink (using Metrowerks or NoICE)
> my target system ('DP256) - 4MHz crystal, 16MHz bus speed

I can control my target with the EVB(as pod) - no problem.
I can control the EVB(as target) with the P&E multilink - no problem.
I cannot control my target with the P&E multilink - if, say, doing a
data dump, a few bytes will be read correctly then garbage.

Problem must be either to do with
> running the bus at >8MHz, or
> noisy BDM/power lines to the pod, right?

I note that when using NoICE and it tries to find the bus speed
automatically it chooses "50". If I change this to say 55..58
performance is improved but still noisy.

Since I am about to move to a 3.3V target, I think I have few choices
other than the P&E mullti-link, so I have to get it working. Any thoughts?

P.S. my PC is XP and the parallel port is ECP, but there doesn't seem
to be anywhere in the Bios setup to change this. It works fine with
MultiLink when the EVB is the traget tho'.






(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )


Re: Dev Systems - John Hartman NoICE - Sep 16 19:52:00 2003


>Problem must be either to do with
> > running the bus at >8MHz, or
> > noisy BDM/power lines to the pod, right?
>
>I note that when using NoICE and it tries to find the bus speed
>automatically it chooses "50". If I change this to say 55..58
>performance is improved but still noisy.

The Multilink's (but not the old Cable12) equation is Count = (100/E) -
1. So, 8 MHz bus should give a count of 11.5, rounded to either 11 or
12. The count value shown by NoICE is as determined by P&E's interface
DLL, but I have found the equation to be accurate.

So, a count of 50 would indicate a bus frequency of about 1.9 MHz. Any
chance you have an 8 MHz CRYSTAL, with a bus frequency of 2 MHz? That
would match a count of about 50.

A count of 56 would correspond to bus frequency of 1.75 MHz, or a 7 MHz
crystal. Any possibility you have the wrong crystal? This would show up
on baud rates, of course, but perhaps you aren't using the UART and haven't
noticed.

(BTW, if you ARE using such a crystal, the target bus frequency drop list
in NoICE is actually a combo box - you can type in any frequency you need)

Best regards, John Hartman

NoICE Debugging Tools
http://www.noicedebugger.com [Non-text portions of this message have been removed]




(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )