This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: What does "+" do in REDBOOT?
- From: Ross Younger <wry at ecoscentric dot com>
- To: M Core <cmosis5 at hotmail dot com>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Thu, 21 May 2009 11:12:35 +0100
- Subject: Re: [ECOS] What does "+" do in REDBOOT?
- References: <1242788620.9872.ezmlm@ecos.sourceware.org> <COL108-W168ED928BFAFF900493FE7F2580@phx.gbl>
M Core wrote:
> I have a TS7260 board and Technologic systems has told me if you press '+' inside of REDBOOT then the board goes into a different mode, but they don't know what is happening.
>
> Can anyone explain what mode this "+" does and what REDBOOT is doing?
You've made RedBoot think that you're gdb, and it is expecting you to send
properly-formed remote-debug packets. (A $ sign has the same effect, and is
a more traditional way to start a serial-debug session. If for example you
now type $#00 - a no-op packet - you should receive +$#00 in response. To
escape from the gdb stubs by resetting the board, the sequence +$r#72+$k#6b
ought to do the trick.)
> Also, I found that when the board is rebooted after this + character locks up the board, that I get a bad errorblock showing up. (So it has marked some flash as bad, although after a bunch of work you can clear those errors and restore your flash back, so a side effect is you get flash falsely marked as bad.)
I can't see a reason why triggering the GDB stubs would affect the flash,
unless you somehow managed to interrupt a flash operation.
Ross
--
Embedded Software Engineer, eCosCentric Limited.
Barnwell House, Barnwell Drive, Cambridge CB5 8UU, UK.
Registered in England no. 4422071. www.ecoscentric.com
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss