Re: minicom returning invalid AT ... command

From: pHilipp Zabel <philipp.zabel_at_gmail.com>
Date: Tue, 16 Oct 2007 20:53:29 +0200

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 :)

> I didn't receive the "Invalid command : AT ..." error message when I was
> setting up and testing the rig, and pressing Enter would immediately
> produce the (another) USB> prompt - I'm sure I haven't changed any settings.
>
> Any advice on what's gone wrong, or what is the correct settings for
> minicom?
>
> Similarly, is there any way I can verify the image before I commit the s2d!

There is a checksum somewhere in the header. Is there somebody on the
list who knows something more specific about that?

cheers
Philipp
Received on Tue Oct 16 2007 - 14:53:35 EDT

This archive was generated by hypermail 2.2.0 : Tue Oct 16 2007 - 14:53:58 EDT