OSDN Git Service

Added some hints.
[bluetank/bluetank.git] / firm / bare_metal / README
1
2 ==========================================================================
3 [Directories]
4 ==========================================================================
5 common/             Common Files
6 simple_through/     Simple Through Example
7 karaoke_machine/    Karaoke Machine Example
8 dynamic_menu/       Dynamic Menu Example
9
10 ==========================================================================
11 [Terminal #1]
12 ==========================================================================
13 > sudo /opt/uClinux/bfin-elf/bin/bfin-gdbproxy bfin
14
15 Remote proxy for GDB, v0.7.2, Copyright (C) 1999 Quality Quorum Inc.
16 MSP430 adaption Copyright (C) 2002 Chris Liechti and Steve Underwood
17 Blackfin adaption Copyright (C) 2008 Analog Devices, Inc.
18
19 GDBproxy comes with ABSOLUTELY NO WARRANTY; for details
20 use `--warranty' option. This is Open Source software. You are
21 welcome to redistribute it under certain conditions. Use the
22 '--copying' option for details.
23
24 Found USB cable: gnICE+
25 Connected to libftdi driver.
26 IR length: 5
27 Chain length: 1
28 Device Id: 00100010100000000010000011001011 (0x228020CB)
29   Manufacturer: Analog Devices, Inc. (0x0CB)
30   Part(0):      BF592 (0x2802)
31   Stepping:     2
32   Filename:     /opt/uClinux/bfin-elf/bin/../share/urjtag/analog/bf592/bf592
33 warning:   bfin: no board selected, BF592 is detected
34 notice:    bfin: jc: waiting on TCP port 2001
35 notice:    bfin: jc:  (you must connect GDB before using jtag console)
36 notice:    bfin-gdbproxy: waiting on TCP port 2000
37
38 ==========================================================================
39 [Terminal #2]
40 ==========================================================================
41 > bfin-elf-ldr -T BF592 -c bluetank.ldr bluetank.elf
42 > bfin-elf-ldr -l bluetank.ldr /dev/ttyUSB0 -b 57600 -C
43
44 Creating LDR obj/bluetank.ldr ...
45  Adding DXE 'obj/bluetank.elf' ... [jump block to 0xFFA00000] [ELF block: 5768 @ 0xFF800000] [ELF block: 11348 @ 0xFFA00000] OK!
46 Done!
47 bfin-elf-ldr -l obj/bluetank.ldr /dev/ttyUSB0 -b 57600 -C
48 Loading LDR obj/bluetank.ldr ... OK!
49 Opening /dev/ttyUSB0 ... OK!
50 Configuring terminal I/O ... OK!
51 Trying to send autobaud ... OK!
52 Trying to read autobaud ... OK!
53 Checking autobaud ... OK!
54 Autobaud result: 57600bps 36.864mhz (header:0xBF DLL:0x28 DLH:0x00 fin:0x00)
55 Sending blocks of DXE 1 ... OK!
56 You may want to run minicom or kermit now
57 Quick tip: run 'ldr <ldr> <devspec> && minicom'
58