Join our technical discussions about Freescale Microcontrollers: M68HC12. (Freescale Semiconductor is a Subsidiary of Motorola).
I would like to add a USB Host to a 9S12DP256 design. I beleive the hardware is easily available. Is the USB Host software portable to the 9S12?
--- In 68HC12@68HC..., "bkohan_2000" <bob.kohan@l...> wrote: > > I would like to add a USB Host to a 9S12DP256 design. I beleive the > hardware is easily available. Is the USB Host software portable to > the 9S12? > Question... too.. vague. "the USB Host software" from who, written for what target? I don't think the DP256 has any USB-specific hardware, and I don't know whether bit-banging such a high-speed serial port would be practical. Yet in the subject you mention A256... what does that have to do with your question about DP256?
The 9S12A256 is a 'de-featured' version of the 9S12DP256. There is no CAN on the 'A' part. I would like the 9S12 to act as a USB HOST so it can talk to a specific USB DEVICE. Bob Kohan Electrical Staff Engineer Life Fitness 10601 W. Belmont Ave Franklin Park, Ill 60131 Ph. 847-288-3450 Fax 847-288-5514 (3 pages max) bob.kohan@bob.... >>> imajeff84663@imaj... 01/27/06 4:46 PM >>> --- In 68HC12@68HC..., "bkohan_2000" <bob.kohan@l...> wrote: > > I would like to add a USB Host to a 9S12DP256 design. I beleive the > hardware is easily available. Is the USB Host software portable to > the 9S12? > Question... too.. vague. "the USB Host software" from who, written for what target? I don't think the DP256 has any USB-specific hardware, and I don't know whether bit-banging such a high-speed serial port would be practical. Yet in the subject you mention A256... what does that have to do with your question about DP256? Yahoo! Groups Links ************************************************************************* IMPORTANT: This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. Opinions, conclusions and other information contained in this e-mail message that do not relate to the official business of Life Fitness shall be understood as neither given nor endorsed by it. *************************************************************************
I'm hoping someone has an idea that does NOT involve removing an 80 pin HC12D60A just as a test. <G> Just built up a new board, but same basic design of the HC12D60A/reset/BDM I've used dozens of times before. Plugged in a known good P&E pod and powered everything on. Current draw looks reasonable, and I can talk to the pod (ICD12Z). Further, the pod can reset and talk to the HC12. However, after a short time (a second or so, random) I get a message that "A reset may have occurred. The target is running, try a reset." Clicking on reset produces the same results. Forcing a hard reset on the board drops pod communications, of course, but I can re-initialize it okay. If I look at the reset pin on the processor, it is popping up and down every 300 ms - driven, I believe, by the processor itself. Looks like it is free running and timing out. I can see the Pod trying to talk to the HC12, and in fact it seems to be able to retrieve good data from the chip before the first reset. Voltages all look good. Clock is an external 16 MHz oscillator, which also looks good. Any ideas??? jmk ----------------------------------------------- James M. Knox TriSoft ph 512-385-0316 1300 Koenig Lane West fax 512-371-5716 Suite 200 Austin, Tx 78756 jknox@jkno... -----------------------------------------------
Never mind... after hours of looking, then posting my message, I
immediately found the problem... [Doesn't it often work that way? <G>]
Bad MAX6301 reset chip. The watchdog would not disable, even though
it was configured to do so.
jmk
At 16:26 1/28/2006 -0600, you wrote:
>I'm hoping someone has an idea that does NOT involve removing an 80
>pin HC12D60A just as a test. <G>
>
>Just built up a new board, but same basic design of the
>HC12D60A/reset/BDM I've used dozens of times before. Plugged in a
>known good P&E pod and powered everything on. Current draw looks
>reasonable, and I can talk to the pod (ICD12Z). Further, the pod can
>reset and talk to the HC12.
>
>However, after a short time (a second or so, random) I get a message
>that "A reset may have occurred. The target is running, try a
>reset." Clicking on reset produces the same results. Forcing a hard
>reset on the board drops pod communications, of course, but I can
>re-initialize it okay.
>
>If I look at the reset pin on the processor, it is popping up and
>down every 300 ms - driven, I believe, by the processor
>itself. Looks like it is free running and timing out.
>
>I can see the Pod trying to talk to the HC12, and in fact it seems to
>be able to retrieve good data from the chip before the first reset.
>
>Voltages all look good. Clock is an external 16 MHz oscillator,
>which also looks good. Any ideas???
>
> jmk
>
>-----------------------------------------------
>James M. Knox
>TriSoft ph 512-385-0316
>1300 Koenig Lane West fax 512-371-5716
>Suite 200
>Austin, Tx 78756 jknox@jkno...
>-----------------------------------------------
>
>
>
>
>Yahoo! Groups Links
>
>
>
>
-----------------------------------------------
James M. Knox
TriSoft ph 512-385-0316
1300 Koenig Lane West fax 512-371-5716
Suite 200
Austin, Tx 78756 jknox@jkno...
-----------------------------------------------
--- In 68HC12@68HC..., "Bob Kohan" <bob.kohan@l...> wrote: > > The 9S12A256 is a 'de-featured' version of the 9S12DP256. There is no > CAN on the 'A' part. > I would like the 9S12 to act as a USB HOST so it can talk to a specific > USB DEVICE. > > Bob Kohan Very well, but neither of those two have USB hardware. It seemed as though you were saying you had software already working which implements USB on your previous hardware (I assume A256). Great, it should work just as well on DP256. If not, then the only one I know is MC9S12UF32 but it doesn't have CAN either.