OSDN Git Service

Added license header.
[bluetank/bluetank.git] / firm / bare_metal / README
1 ハードウェア動作確認用のベアメタルなファームウェア。
2 オリジナルのコードは金子システムさんがウェブ上で公開されていたもの。
3
4 ==========================================================================
5 [Terminal #1]
6 ==========================================================================
7 > sudo /opt/uClinux/bfin-elf/bin/bfin-gdbproxy bfin
8
9 Remote proxy for GDB, v0.7.2, Copyright (C) 1999 Quality Quorum Inc.
10 MSP430 adaption Copyright (C) 2002 Chris Liechti and Steve Underwood
11 Blackfin adaption Copyright (C) 2008 Analog Devices, Inc.
12
13 GDBproxy comes with ABSOLUTELY NO WARRANTY; for details
14 use `--warranty' option. This is Open Source software. You are
15 welcome to redistribute it under certain conditions. Use the
16 '--copying' option for details.
17
18 Found USB cable: gnICE+
19 Connected to libftdi driver.
20 IR length: 5
21 Chain length: 1
22 Device Id: 00100010100000000010000011001011 (0x228020CB)
23   Manufacturer: Analog Devices, Inc. (0x0CB)
24   Part(0):      BF592 (0x2802)
25   Stepping:     2
26   Filename:     /opt/uClinux/bfin-elf/bin/../share/urjtag/analog/bf592/bf592
27 warning:   bfin: no board selected, BF592 is detected
28 notice:    bfin: jc: waiting on TCP port 2001
29 notice:    bfin: jc:  (you must connect GDB before using jtag console)
30 notice:    bfin-gdbproxy: waiting on TCP port 2000
31
32 ==========================================================================
33 [Terminal #2]
34 ==========================================================================
35 > bfin-elf-ldr -T BF592 -c bluetank.ldr bluetank.elf
36 > bfin-elf-ldr -l bluetank.ldr /dev/ttyUSB0 -b 57600 -C
37
38 Creating LDR obj/bluetank.ldr ...
39  Adding DXE 'obj/bluetank.elf' ... [jump block to 0xFFA00000] [ELF block: 5768 @ 0xFF800000] [ELF block: 11348 @ 0xFFA00000] OK!
40 Done!
41 bfin-elf-ldr -l obj/bluetank.ldr /dev/ttyUSB0 -b 57600 -C
42 Loading LDR obj/bluetank.ldr ... OK!
43 Opening /dev/ttyUSB0 ... OK!
44 Configuring terminal I/O ... OK!
45 Trying to send autobaud ... OK!
46 Trying to read autobaud ... OK!
47 Checking autobaud ... OK!
48 Autobaud result: 57600bps 36.864mhz (header:0xBF DLL:0x28 DLH:0x00 fin:0x00)
49 Sending blocks of DXE 1 ... OK!
50 You may want to run minicom or kermit now
51 Quick tip: run 'ldr <ldr> <devspec> && minicom'
52