Join our technical discussions about Freescale Microcontrollers: M68HC12. (Freescale Semiconductor is a Subsidiary of Motorola).
COSMIC ZAP debugger connecting to M68KIT912DP25eva board - jo_wan_soo - May 30 5:37:00 2005
We have recently purchased Freescale M68KIT912DP256 ev board for
applicatoin development. By the request of the customer, we were asked
to use COSMIC/ZAP cross compiling tools instead of Metrowerk's
Codewarrior for sw development. We were able to compile and link
COSMIC's sample project file , however, when opening ZAP debugger to
download the built .h12 file to ev board's flash, ZAP would disappear
in the middle of the downloading. Furthermore, connecting ZAP to ev
board (DP256/9s12xx256), then do flash->program/erase flash, choose to
erase any flash block also cause ZAP applicatoin to crash ! Has any of
you out there experience similar problem ? Freescale M68KIT912DP25eva
board comes with Metrowerk's Codewarrior for sw development, we have no
problem to build/ run /download codewarrior's built executable to the
ev board, so it proves that there's nothing wrong with the board or
connecting BDM cable. Any comment or hints would be greatly
appreciated !
Joseph Su
______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.
(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )
Re: COSMIC ZAP debugger connecting to M68KIT912DP25eva board - fred - May 30 9:22:00 2005
I have used Cosmic ZAP with a parallel P&E multi-link adapter working from
out of the box since day one for a long time now. Make sure you selected the
right adapter and settings for your target in the setup tab on your ZAP
application.
----- Original Message -----
From: "jo_wan_soo" <jo_wan_soo@jo_w...>
To: <68HC12@68HC...>
Sent: Monday, May 30, 2005 2:37 AM
Subject: [68HC12] COSMIC ZAP debugger connecting to M68KIT912DP25eva board
> We have recently purchased Freescale M68KIT912DP256 ev board for
> applicatoin development. By the request of the customer, we were asked
> to use COSMIC/ZAP cross compiling tools instead of Metrowerk's
> Codewarrior for sw development. We were able to compile and link
> COSMIC's sample project file , however, when opening ZAP debugger to
> download the built .h12 file to ev board's flash, ZAP would disappear
> in the middle of the downloading. Furthermore, connecting ZAP to ev
> board (DP256/9s12xx256), then do flash->program/erase flash, choose to
> erase any flash block also cause ZAP applicatoin to crash ! Has any of
> you out there experience similar problem ? Freescale M68KIT912DP25eva
> board comes with Metrowerk's Codewarrior for sw development, we have no
> problem to build/ run /download codewarrior's built executable to the
> ev board, so it proves that there's nothing wrong with the board or
> connecting BDM cable. Any comment or hints would be greatly
> appreciated !
> Joseph Su
> Yahoo! Groups Links
______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.
(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )
68HC12D60A self-erasing - James M. Knox - May 30 9:43:00 2005
Some of you may recall that a while back I asked if anyone else was having
problems with the flash memory in a D60A getting erased. I had only seen
the problem in field units, never with good documentation. The units
themselves were always good, and could be reprogrammed. Further, a
bootloader in protected flash was okay. One theory was that somehow the
bootloader was getting executed when it shouldn't be, and that this was
erasing flash -- but there was no evidence either way.
Well, now a similar but different board is doing it on the bench, under
much more limited conditions. There is no bootloader, no code anywhere in
memory that knows how to erase flash (intentionally <G>). Although it
probably only does it something like 0.2% of the time, the sequence is:
Using P&E Prog12Z
o Erase Module
o Program Module
o Verify Module
o Exit (which turns off the unit)
All steps work fine, and the program steps step through the correct memory
ranges.
I then switch to IDC12Z and turn on the unit. The IDC12Z shows nothing but
FF's in flash. I can switch back to Prog12Z, and it confirms that the
entire memory is erased.
The only unusual thing I see with IDC12Z is that it always fails to connect
the first (and sometimes second) time. But a couple of RETRY's always work.
On the bench it's not that big a deal to just reprogram it again. But I
would REALLY like to eliminate any risk of self erasure in the field. 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: COSMIC ZAP debugger connecting to M68KIT912DP25eva board - jo_wan_soo - May 30 20:44:00 2005
Well, on ZAP window, there are only 2 target boards choices
(DP256/9s12xx256) that is applicable to our eva board and we've no
problem connecting to the board, it just happened that if we did the
erase/program flash then ZAP disappear. We were using P&E multi-link
USB BDM cable, I saw a posted message on this board that mentioned
having problem with using P&E multi-link USB cable communicating with
M68KIT912DP256 board, but once switch to parallel port cable, the
problem is solved, I guess we will probably have to try with the
parallel port BDM cable then.
Joseph
--- In 68HC12@68HC..., fred <linktek@s...> wrote:
> I have used Cosmic ZAP with a parallel P&E multi-link adapter
working from
> out of the box since day one for a long time now. Make sure you
selected the
> right adapter and settings for your target in the setup tab on your
ZAP
> application.
>
> ----- Original Message -----
> From: "jo_wan_soo" <jo_wan_soo@y...>
> To: <68HC12@68HC...>
> Sent: Monday, May 30, 2005 2:37 AM
> Subject: [68HC12] COSMIC ZAP debugger connecting to
M68KIT912DP25eva board
> > We have recently purchased Freescale M68KIT912DP256 ev board for
> > applicatoin development. By the request of the customer, we were
asked
> > to use COSMIC/ZAP cross compiling tools instead of Metrowerk's
> > Codewarrior for sw development. We were able to compile and link
> > COSMIC's sample project file , however, when opening ZAP
debugger to
> > download the built .h12 file to ev board's flash, ZAP would
disappear
> > in the middle of the downloading. Furthermore, connecting ZAP
to ev
> > board (DP256/9s12xx256), then do flash->program/erase flash,
choose to
> > erase any flash block also cause ZAP applicatoin to crash ! Has
any of
> > you out there experience similar problem ? Freescale
M68KIT912DP25eva
> > board comes with Metrowerk's Codewarrior for sw development, we
have no
> > problem to build/ run /download codewarrior's built executable to
the
> > ev board, so it proves that there's nothing wrong with the board
or
> > connecting BDM cable. Any comment or hints would be greatly
> > appreciated !
> >
> >
> > Joseph Su
> >
> >
> >
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
>

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