Join our technical discussions about Freescale Microcontrollers: M68HC12. (Freescale Semiconductor is a Subsidiary of Motorola).
|
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'. |
|
|
|
>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] |