Re: minicom returning invalid AT ... command

From: pHilipp Zabel <philipp.zabel_at_gmail.com>
Date: Tue, 16 Oct 2007 22:47:37 +0200

On 10/16/07, Brian Green <brian.green_at_bdgreen.net> wrote:
> Hi Philipp
>
> pHilipp Zabel wrote:
> > On 10/16/07, Brian Green <brian.green_at_bdgreen.info> wrote:
> >> Hi
> >>
> >> I'm trying to re-installed Mobile 5.0 to my hx4700.
> >>
> >> Currently the hx4700 has the SDG Systems (1.2.4.hx4700) bootloader in
> >> ROM, with GPE 2.7 Linux 2.6.16.hh2 - Familiar v 0.8.4.
> >>
> >> I believe I still have the original image created by dd back in 2006
> >> which I have just restored, using dd, to a freshly formatted 1GB SD.
> >>
> >> When I try to execute s2d, minicom gives:
> >>
> >> "
> >> Welcome to minicom 2.2
> >>
> >> OPTIONS: I18n
> >> Compiled on Nov 26 2006, 03:37:56.
> >> Port /dev/ttyUSB0
> >>
> >> Press CTRL-A Z for help on special keys
> >>
> >> Invalid command : AT V1 X4 &c1 E1 Q0
> >
> > That's ok. "AT V1 X4 &c1 E1 Q0" is what minicom sends to initialize
> > the modem on the other end (see minicom -s -> modem & dialing -> init
> > string), and the htc bootloader obviously doesn't understand AT
> > commands.
> >
> >> For a help screen, use command ? or h
> >> USB>
> >> "
> >>
> >> Entering the command s2d gives:
> >>
> >> "
> >> Invalid command : s2d
> >> For a help screen, use command ? or h
> >> "
> >
> > And that's ok, too, because in the bootloader version shipped with the
> > hx4700, the s2d command is not implemented. The only way to put that
> > image back into flash is to put the SD card in and have the bootloader
> > recognize it automatically on startup (it says 'press power to flash'
> > or similar if the checksums are correct).
> > Or maybe soon with my small USB flashing tool
> > (http://www.linuxtogo.org/~ph5/htc-tools/), if somebody supplies the
> > hx4700 wince partition list for htc-flash.c and isn't afraid to test.
> > Patches welcome :)
> >
>
> OK. I started the SDG bootloader with Contacts, Inbox, and Reset.
>
> I get the SDG Systems Embedded Reflash Utility screen. Then "Can't read
> control file". Which is repeated when I press Record.
>
> So, the checksum is wrong?

No no, if you want to flash an SD image that was created with d2s by
the _HTC_ bootloader, you also have to use the HTC bootloader to write
it back. Plug in the SD card, start the HTC loader with
<Contacts>+<iTask>+<Reset>, and if you are lucky and everything went
right during backup and restoration of the SD card image, it should be
recognized at this point.

regards
Philipp
Received on Tue Oct 16 2007 - 16:47:42 EDT

This archive was generated by hypermail 2.2.0 : Tue Oct 16 2007 - 16:48:01 EDT