Reply by David Simpson January 12, 20082008-01-12
The issue appears to be a timing issue with the the dual core AMD64
processors and the USB bus. It could be the USB driver, as the added USB
board had a different USB chipset to that of the mother board. The P&E
software is not the only software to have timing issues when using the
dual core AMD64 processors. Even some Microsoft software has issues.
Some times setting the affinity flag for the exe fixes the issue, but in
this case, as it is somewhere in the timing in the USB driver, setting
the affinity flag didn't do anything.

David

smith.jeff28 wrote:
> For what its worth, I submitted this thread to P&E Support.
> I'll tell you if anything comes of it.
> In my experience, P&E has always fixed issues like this, although in
> this case I suppose it could be said that your mother board is somehow
> flaw since it works fine with the USB board you added.
>
>
Reply by "smith.jeff28" January 12, 20082008-01-12
For what its worth, I submitted this thread to P&E Support.
I'll tell you if anything comes of it.
In my experience, P&E has always fixed issues like this, although in
this case I suppose it could be said that your mother board is somehow
flaw since it works fine with the USB board you added.
Reply by David Simpson January 11, 20082008-01-11
It was fixed by adding a USB card to the computer which used a different
chip set. Since then I haven't had any issues with it at all.

David

smith.jeff28 wrote:
> Well, what I meant was that FSL did not author the code.
> I also agree that FSL should have handle the situation.
>
> What fixed it?
>
Reply by "smith.jeff28" January 10, 20082008-01-10
Well, what I meant was that FSL did not author the code.
I also agree that FSL should have handle the situation.

What fixed it?
Reply by David Simpson January 9, 20082008-01-09
Considering I paid a large amount of money to Freescale to purchase
CodeWarrior, and the BDM also was supplied by Freescale, I would have
thought that they would have something to do with it, seeing that it was
the Codewarrior debugger that was not working correctly.

The BDM debugger works now, an my time is more productively spent
debugging my code, rather that trying to debug Codewarrior / P&E /
Windows drivers etc.

David
smith.jeff28 wrote:
> Freescale really has nothing to do with that, and I am surprised that
> they did not refer you to P&E.
>
> You should enter a support request with P&E - they will fix it.
>
Reply by "smith.jeff28" January 8, 20082008-01-08
Freescale really has nothing to do with that, and I am surprised that
they did not refer you to P&E.

You should enter a support request with P&E - they will fix it.
Reply by jpdi January 7, 20082008-01-07
Thanks, David !

Unfortunately, the PC I use is a laptop (because I've to flash "on site"),
so I can't add an USB port, just USB Hub...
So, for the moment, I continue to use my old parallel BDM, and I hope it
will not fail...

Best regards
Hoel

> -----Message d'origine-----
> De: 6... [mailto:6...] De la part de
> David Simpson
> Envoy lundi 7 janvier 2008 03:55
> : 6...
> Objet: Re: [68HC12] PEmicro USB HCS08 / HCS12 Multilink - help needed
>
> Hi Joel,
>
> I had a similar issue with the P&E USB BDM failing and losing
> synchronization etc, while the old parallel BDM worked fine.
>
> It turned out to be an issue with the USB drivers and the Dual Core
> AMD64 processor on the motherboard. The Dual Core processor had issues
> with timing for the USB port. After much stuffing around, and not
> getting anything useful from Freescale, the solution I found was to
> purchase a USB2 plug in card with a different chip set from the
> motherboard, and use that card with the BDM. Since then I haven't had
> any issues.
>
>
> David
>
>
>
> jpdi wrote:
> > Same problem with P&E USB BDM, under NoIce...
> >
> > With parallel BDM, OK, even with big programs...
> > With USB BDM, lost synchronisation, and impossible to flash the
> processor.
> >
> > So, it's not a problem of CodeWarrior or NoIce.
> > I hope my parallel BDM don't fail, because it seems parallel BDM are
> > obsolete ?
> >
> > Happy new year !
> >
> > Joel.
> >
> >
> >> -----Message d'origine-----
> >> De : 6... [mailto:6...] De la part
> de
> >> Benny
> >> Envoy: dimanche 30 dembre 2007 08:04
> >> : 6...; 6...
> >> Objet : [68HC12] PEmicro USB HCS08 / HCS12 Multilink - help needed
> >>
> >> Hi all
> >>
> >> I am using the PEmicro USB HCS08 / HCS12 Multilink unit for programming
> >> / debugging.
> >> The unit is working good with simple projects, but when I am trying to
> >> run the CW debugger using this unit connected
> >> to the target board, and the project includes several active
> interrupts
> >> like: SCI + 2x PWM , the device lose synchronization
> >> and I can't debug
> >> Did anyone knows how to handle it? Is there another device better than
> >> PEmicro unit?
> >>
> >> Please help
> >>
> >> Happy new year
> >>
> >> Benny
> >> --
>
>
>
>
Reply by David Simpson January 6, 20082008-01-06
Hi Joel,

I had a similar issue with the P&E USB BDM failing and losing
synchronization etc, while the old parallel BDM worked fine.

It turned out to be an issue with the USB drivers and the Dual Core
AMD64 processor on the motherboard. The Dual Core processor had issues
with timing for the USB port. After much stuffing around, and not
getting anything useful from Freescale, the solution I found was to
purchase a USB2 plug in card with a different chip set from the
motherboard, and use that card with the BDM. Since then I haven't had
any issues.
David

jpdi wrote:
> Same problem with P&E USB BDM, under NoIce...
>
> With parallel BDM, OK, even with big programs...
> With USB BDM, lost synchronisation, and impossible to flash the processor.
>
> So, it's not a problem of CodeWarrior or NoIce.
> I hope my parallel BDM don't fail, because it seems parallel BDM are
> obsolete ?
>
> Happy new year !
>
> Joel.
>> -----Message d'origine-----
>> De : 6... [mailto:6...] De la part de
>> Benny
>> Envoy: dimanche 30 dembre 2007 08:04
>> : 6...; 6...
>> Objet : [68HC12] PEmicro USB HCS08 / HCS12 Multilink - help needed
>>
>> Hi all
>>
>> I am using the PEmicro USB HCS08 / HCS12 Multilink unit for programming
>> / debugging.
>> The unit is working good with simple projects, but when I am trying to
>> run the CW debugger using this unit connected
>> to the target board, and the project includes several active interrupts
>> like: SCI + 2x PWM , the device lose synchronization
>> and I can't debug
>> Did anyone knows how to handle it? Is there another device better than
>> PEmicro unit?
>>
>> Please help
>>
>> Happy new year
>>
>> Benny
>> --
Reply by Petrescu January 4, 20082008-01-04
Hi,
Take care of watchdog: if debugging disable the watchdog.
Do you use nested interrupts?
Also, you can watch variables in the second debug window: add them there,
select one, right click on it and from the pop-down window, you can choose
to make that variable updated on screen every X*100ms, the smallest X is 1;
then just run and see the value of the variable.
Also, you can download FreeMaster from Freescale, it is a debugging tool
on PC,
you can use either a serial communication to transfer variables or use
the BDM. It is
a useful tool if you need to watch in longer time intervals, since it
allows a graphical
representation.
Yoan

Benny wrote:
>
> Hi all
>
> I am using the PEmicro USB HCS08 / HCS12 Multilink unit for programming
> / debugging.
> The unit is working good with simple projects, but when I am trying to
> run the CW debugger using this unit connected
> to the target board, and the project includes several active interrupts
> like: SCI + 2x PWM , the device lose synchronization
> and I can't debug
> Did anyone knows how to handle it? Is there another device better than
> PEmicro unit?
>
> Please help
>
> Happy new year
>
> Benny
> --
>
> ----------------------
> *RTS development Ltd*
> --
> b...@rtsdev.com > >
> mobile: +52 2500 428
> Skype: RTS-BENNY
> ----------------------
> *RTS development Ltd
> *P.O.B. 48358 TEL-AVIV 61482 ISRAEL
> Tel: +972 3 642 3006
> Fax: +972 3 641 9063
> *www.rts-development.com
> >*
> ----------------------
>
>
>
>
Reply by "smith.jeff28" December 31, 20072007-12-31
What version of CW?
Which BDM do you have ?
What board are you using?
What chip is on it?
There is no better unit available.

--- In 6..., Benny wrote:
>
> Hi all
>
> I am using the PEmicro USB HCS08 / HCS12 Multilink unit for programming
> / debugging.
> The unit is working good with simple projects, but when I am trying to
> run the CW debugger using this unit connected
> to the target board, and the project includes several active
interrupts
> like: SCI + 2x PWM , the device lose synchronization
> and I can't debug
> Did anyone knows how to handle it? Is there another device better than
> PEmicro unit?
>
> Please help
>
> Happy new year
>
> Benny
> --
>
>
> *RTS development Ltd*
> --
> benny@...
> mobile: +52 2500 428
> Skype: RTS-BENNY
>
> *RTS development Ltd
> *P.O.B. 48358 TEL-AVIV 61482 ISRAEL
> Tel: +972 3 642 3006
> Fax: +972 3 641 9063
> *www.rts-development.com
> *
>
>
>