Added sending of "+++" on reflash. Firmware can detect this and reset, to avoid needing to manually reset the board.

Fixed timeouts.
This commit is contained in:
Joby Taffey committed 2012-03-09 01:05:51 +00:00
1 parent 63cf1ee1cc
commit 5c561a9983
2 files changed
+16 -1

No files matched your search

+3
View File
@@ -41,6 +41,9 @@ For usage instructions, run cctl-prog with no arguments:
If both `--console` and `--flash` are specified, then the device will be reflashed first, then the console will connect.
Before flashing, `cctl-prog` sends the string "+++", which firmware can detect
and reset automatically.
Preparing your user code for usage with the bootloader is very simple. All you
need to do is set your linker to start the code section at 0x400. For an
example of this see the `Makefile` file in the `example_payload` subdirectory.