|
发表于 2013-7-30 11:38:16
|
显示全部楼层
这个是我在smartarm2200的板子上运行的状况,编译器用的是arm-elf
+
RedBoot(tm) bootstrap and debug environment [ROM]
Non-certified release, version v3_0 - built 10:55:07, Jul 30 2013
Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
Free Software Foundation, Inc.
RedBoot is free software, covered by the eCos license, derived from the
GNU General Public License. You are welcome to change it and/or distribute
copies of it under certain conditions. Under the license terms, RedBoot's
source code and full license terms must have been made available to you.
Redboot comes with ABSOLUTELY NO WARRANTY.
Platform: Olimex LPC-E2294 development board (ARM7TDMI-S)
RAM: 0x81000000-0x81100000 [0x81005dc8-0x810fc000 available]
FLASH: 0x80000000-0x801fffff, 512 x 0x1000 blocks
RedBoot> fis
*** invalid 'fis' command: too few arguments
Usage:
fis create [-b <mem_base>] [-l <image_length>] [-s <data_length>]
[-f <flash_addr>] [-e <entry_point>] [-r <ram_addr>] [-n] <name>
fis delete name
fis erase -f <flash_addr> -l <length>
fis free
fis init [-f]
fis list [-c] [-d]
fis load [-b <memory_load_address>] [-c] name
fis write -f <flash_addr> -b <mem_base> -l <image_length>
RedBoot>
RedBoot>
Starting xmodem transfer. Press Ctrl+C to cancel.
Transferring hello.bin...
100% 29 KB 4 KB/s 00:00:06 0 Errors
Raw file loaded 0x81010000-0x810175eb, assumed entry at 0x81010000
xyzModem - CRC mode, 236(SOH)/0(STX)/0(CAN) packets, 0 retries
RedBoot> go 0x81010000
*******************************
* Hello! The world. *
*******************************
cyg_thread_create(1)
cyg_thread_create(2)
cyg_thread_create(3)
AAAAAA111111 is active.thread data is 1.
BBBBBB333333 is active.thread data is 2.
CCCCCC666666 is active.thread data is 3.
AAAAAA111111 is active.thread data is 1.
BBBBBB333333 is active.thread data is 2.
AAAAAA111111 is active.thread data is 1.
AAAAAA111111 is active.thread data is 1.
CCCCCC666666 is active.thread data is 3.
BBBBBB333333 is active.thread data is 2.
AAAAAA111111 is active.thread data is 1.
BBBBBB333333 is active.thread data is 2.
AAAAAA111111 is active.thread data is 1.
CCCCCC666666 is active.thread data is 3.
AAAAAA111111 is active.thread data is 1.
BBBBBB333333 is active.thread data is 2.
AAAAAA111111 is active.thread data is 1.
BBBBBB333333 is active.thread data is 2.
AAAAAA111111 is active.thread data is 1.
CCCCCC666666 is active.thread data is 3.
BBBBBB333333 is active.thread data is 2.
AAAAAA111111 is active.thread data is 1. |
|