PEmicro USB HCS08 / HCS12 Multilink - help needed

Started by Benny December 30, 2007
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
*
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
> --
>
>
> *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
> *
>
>
>
>
>
>
>
>
>
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
> *
>
>
>
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
> >*
> ----------------------
>
>
>
>
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
>> --
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
> >> --
>
>
>
>
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.
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.
>
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?
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?
>