EmbeddedRelated.com
Forums

Downloading *.s19 file in Hcs12 got Bad command

Started by Achyut shrestha September 24, 2003
Hi,
I use Technological Arts 9S12DP256B board and imagecraft ICC12 software in my university lab. I just bought the same thing and tried to program and sownload the *s19 file at home. I have a problem dowloading the *.s19 file in the microcontroller.
As I hit the "open Com port" and reset the board I get the message on the ICC12 screen as:( which is correct)
D-Bug12 4.0.0b18
Copyright 1996 - 2002 Motorola Semiconductor
For Commands type "Help"
*****BUT when I download the corresponding *.s19 file in the microcontroller I get the message:(which is not correct, as I never got this message in my university lab)

>S10E1200CFC00016123787CE10008EFE
Bad Command
>056A000820F6CE123CCD25
Bad Command
>123C2706180A307020F516BE
Bad Command
>FE66
Bad Command
>B25601CD2AF5466C129534EA
Bad Command
>
>110122ACE1060A60EE60F18067A10703F75
Bad Command
>073D37
Bad Command

Then after typing
>g 1200 the software hangs.
### Please help me how I can avoid this Bad Command and download the *.s19 file in the board. Thankyou very much.
Achyut ---------------------------------



Achyut,

1. You are typing 'load' first are you not?
2. Make sure the download buffer of ICC12 is empty first (cancel all previous downloads) and reset.

Mike

----- Original Message -----
From: Achyut shrestha
To:
Sent: Wednesday, September 24, 2003 12:02 PM
Subject: [68HC12] Downloading *.s19 file in Hcs12 got Bad command Hi,
I use Technological Arts 9S12DP256B board and imagecraft ICC12 software in my university lab. I just bought the same thing and tried to program and sownload the *s19 file at home. I have a problem dowloading the *.s19 file in the microcontroller.
As I hit the "open Com port" and reset the board I get the message on the ICC12 screen as:( which is correct)
D-Bug12 4.0.0b18
Copyright 1996 - 2002 Motorola Semiconductor
For Commands type "Help"
*****BUT when I download the corresponding *.s19 file in the microcontroller I get the message:(which is not correct, as I never got this message in my university lab)

>S10E1200CFC00016123787CE10008EFE
Bad Command
>056A000820F6CE123CCD25
Bad Command
>123C2706180A307020F516BE
Bad Command
>FE66
Bad Command
>B25601CD2AF5466C129534EA
Bad Command
>
>110122ACE1060A60EE60F18067A10703F75
Bad Command
>073D37
Bad Command

Then after typing
>g 1200 the software hangs.
### Please help me how I can avoid this Bad Command and download the *.s19 file in the board. Thankyou very much.
Achyut --------------------------------- --------------------



Hello Achyut

You would need to first issue a commande like "fload" followed by
return, before sending the s-records.
As it stands, D-Bug is trying to interpret each line of s-record as a
command, which it obviously doesn't recognize.

Best regards
Robert

On Mittwoch, Sep 24, 2003, at 13:02 Europe/Paris, Achyut shrestha wrote:

>
> Hi,
> I use Technological Arts 9S12DP256B board and imagecraft ICC12
> software in my university lab. I just bought the same thing and tried
> to program and sownload the *s19 file at home. I have a problem
> dowloading the *.s19 file in the microcontroller.
> As I hit the "open Com port" and reset the board I get the message on
> the ICC12 screen as:( which is correct)
> D-Bug12 4.0.0b18
> Copyright 1996 - 2002 Motorola Semiconductor
> For Commands type "Help"
> *****BUT when I download the corresponding *.s19 file in the
> microcontroller I get the message:(which is not correct, as I never
> got this message in my university lab)
>
>> S10E1200CFC00016123787CE10008EFE
> Bad Command
>> 056A000820F6CE123CCD25
> Bad Command
>> 123C2706180A307020F516BE
> Bad Command
>> FE66
> Bad Command
>> B25601CD2AF5466C129534EA
> Bad Command
>>
>> 110122ACE1060A60EE60F18067A10703F75
> Bad Command
>> 073D37
> Bad Command
>
> Then after typing
>> g 1200 the software hangs.
> ### Please help me how I can avoid this Bad Command and download the
> *.s19 file in the board. Thankyou very much.
> Achyut > --------------------------------- >
> ------------------------ Yahoo! Groups Sponsor
> ---------------------~-->
> Upgrade to 128-Bit SSL Security!
> http://us.click.yahoo.com/p7cEmB/s7qGAA/yigFAA/dN_tlB/TM
> ---------------------------------
> ~->
>
> -------------------- >
> ">http://docs.yahoo.com/info/terms/
>





Hi Robert,
Thanks for the help. Now I am not getting the bad command and the
*.s19 file is loaded in the HCS12 microcontroller. Thankyou.

Achyut
Michigan
--- In , ra <swar@c...> wrote:
> Hello Achyut
>
> You would need to first issue a commande like "fload" followed by
> return, before sending the s-records.
> As it stands, D-Bug is trying to interpret each line of s-record as
a
> command, which it obviously doesn't recognize.
>
> Best regards
> Robert
>
> On Mittwoch, Sep 24, 2003, at 13:02 Europe/Paris, Achyut shrestha
wrote:
>
> >
> > Hi,
> > I use Technological Arts 9S12DP256B board and imagecraft ICC12
> > software in my university lab. I just bought the same thing and
tried
> > to program and sownload the *s19 file at home. I have a problem
> > dowloading the *.s19 file in the microcontroller.
> > As I hit the "open Com port" and reset the board I get the
message on
> > the ICC12 screen as:( which is correct)
> > D-Bug12 4.0.0b18
> > Copyright 1996 - 2002 Motorola Semiconductor
> > For Commands type "Help"
> > *****BUT when I download the corresponding *.s19 file in the
> > microcontroller I get the message:(which is not correct, as I
never
> > got this message in my university lab)
> >
> >> S10E1200CFC00016123787CE10008EFE
> > Bad Command
> >> 056A000820F6CE123CCD25
> > Bad Command
> >> 123C2706180A307020F516BE
> > Bad Command
> >> FE66
> > Bad Command
> >> B25601CD2AF5466C129534EA
> > Bad Command
> >>
> >> 110122ACE1060A60EE60F18067A10703F75
> > Bad Command
> >> 073D37
> > Bad Command
> >
> > Then after typing
> >> g 1200 the software hangs.
> > ### Please help me how I can avoid this Bad Command and download
the
> > *.s19 file in the board. Thankyou very much.
> > Achyut
> >
> >
> > ---------------------------------
> >
> >
> >
> > ------------------------ Yahoo! Groups Sponsor
> > ---------------------~-->
> > Upgrade to 128-Bit SSL Security!
> > http://us.click.yahoo.com/p7cEmB/s7qGAA/yigFAA/dN_tlB/TM
> > ------------------------------
---
> > ~->
> >
> > --------------------
> >
> >
> >
> > ">http://docs.yahoo.com/info/terms/
> >