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

Discussion Groups | 68HC12 | Re: USB Host with 9S12A256

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

USB Host with 9S12A256 - bkohan_2000 - Jan 27 17:14:00 2006

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?
	


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


Re: USB Host with 9S12A256 - Jefferson Smith - Jan 27 18:46:00 2006

--- 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?
	


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

Re: Re: USB Host with 9S12A256 - Bob Kohan - Jan 28 13:36:00 2006

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.
*************************************************************************
	


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

HC12 resets in bkgd - James M. Knox - Jan 28 18:26:00 2006

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...
-----------------------------------------------
	


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

Re: HC12 resets in bkgd - James M. Knox - Jan 28 18:49:00 2006

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...
-----------------------------------------------
	


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

Re: USB Host with 9S12A256 - Jefferson Smith - Jan 30 13:16:00 2006

--- 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.
	


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