* [ECOS] RE: YES! redboot and eb40a success story :)
@ 2003-09-19 7:24 Øyvind Harboe
2003-09-19 16:25 ` [ECOS] " Konstantin Kletschke
0 siblings, 1 reply; 4+ messages in thread
From: Øyvind Harboe @ 2003-09-19 7:24 UTC (permalink / raw)
To: konsti, ecos-discuss
[-- Attachment #1: Type: text/plain, Size: 2804 bytes --]
>I want to ask if somebody could advise me to do the same with the
>BDI2000 debugger. If I am right, I should easily be able to put the
>_same_ binary via jtag to the RAM and start it or not?
I'm using the BDI2000 on an EB40a and it works without too
many hitches.
Here is my typical debug cycle to write an app to flash and
debug it:
- compile new app.
- launch the tfptserv such that the BDI2000 can access files
on my harddrive
- telnet to the BDI2000
- I've been fiddling around in the BDI config files from time
to another, and I've included mine in case they contain
anything of interest :-)
From the BDI2000 prompt:
--------------------
EB40A>reset
- TARGET: processing reset request
[output deleted]
- TARGET: processing target startup passedEB40A>erase
Erasing flash at 0x01000000
[output deleted]
Erasing flash passed
EB40A>prog 0x1000000
c:\e21\workspace\bootloader\output\rimibootloader.bin bin
Programming c:\e21\workspace\bootloader\output\rimibootloader.bin ,
please wait
....
Programming flash passed
EB40A>go 0x1000000
--------------------
Here is a debug session(notice how I change the PC to account for the
BDI having run the remap command):
--------------------
$ arm-elf-gdb bootloader/output/rimibootloader.elf
GNU gdb 5.3 (eCosCentric)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "--host=i686-pc-cygwin --target=arm-elf"...
(gdb) target remote 192.168.222.200:2001
Remote debugging using 192.168.222.200:2001
0x00000018 in __rom_vectors_lma ()
(gdb) monitor reset
(gdb) set $pc=0x1000000
(gdb) c
Continuing.
---------------------
>I fiddled around
>today but I did not manage it. I saw that the offset and PC Register
>adresses are hardcoded in the binaries and the BDI2000 takes care of
>them, is that correct? May be something is wrong there...
The flash "prog" command supports bin, elf, srec, but you need to
specify
which format you are using. Use the "load" command for loading your
apps to RAM(I haven't used it since I don't need it).
>If I manage to start that image it should easily be able to me (with my
>new expierence then) to put redboot.ROM.elf directly into flash and
boot
>it after hard reset, or not?
Note that there is a slight complication in that the BDI2000 sets up the
addresses upon a reset(it has executed the remap command already).
Thats why I wrote the patch below:
http://sources.redhat.com/ml/ecos-patches/2003-09/msg00049.html
Øyvind
[-- Attachment #2: at91x40.def --]
[-- Type: application/octet-stream, Size: 9438 bytes --]
;Register definition for AT91x4
;==============================
;
; name: user defined name of the register
; type: the type of the register
; GPR general purpose register
; MM memory mapped register
; DMMx direct memory mapped register with offset
; x = 1..4
; the base is defined in the configuration file
; e.g. DMM1 0x02200000
; addr: the number, adddress or offset of the register
; size the size of the register (8,16 or 32)
;
;name type addr size
;-------------------------------------------
;
sp GPR 13
lr GPR 14
pc GPR 15
;
; User watchpoint register
;
wav0 ICEB 100
wam0 ICEB 101
wdv0 ICEB 102
wdm0 ICEB 103
wcv0 ICEB 104
wcm0 ICEB 105
;
wav1 ICEB 110
wam1 ICEB 111
wdv1 ICEB 112
wdm1 ICEB 113
wcv1 ICEB 114
wcm1 ICEB 115
;
; EBI: External Bus Interface
;
ebi_csr0 MM 0xFFE00000 32 ;Chip Select Register 0
ebi_csr1 MM 0xFFE00004 32 ;Chip Select Register 1
ebi_csr2 MM 0xFFE00008 32 ;Chip Select Register 2
ebi_csr3 MM 0xFFE0000c 32 ;Chip Select Register 3
ebi_csr4 MM 0xFFE00010 32 ;Chip Select Register 4
ebi_csr5 MM 0xFFE00014 32 ;Chip Select Register 5
ebi_csr6 MM 0xFFE00018 32 ;Chip Select Register 6
ebi_csr7 MM 0xFFE0001c 32 ;Chip Select Register 7
ebi_rcr MM 0xFFE00020 32 ;Remap Control Register
ebi_mcr MM 0xFFE00024 32 ;Memory ControlRegister
;
; PS: Power-saving
;
ps_cr MM 0xFFFF4000 32 ;Control Register
ps_pcer MM 0xFFFF4004 32 ;Peripheral Clock Enable Register
ps_pcdr MM 0xFFFF4008 32 ;Peripheral Clock Disable Register
ps_pcsr MM 0xFFFF400C 32 ;Peripheral Clock Status Register
;
; AIC: Advanced Interrupt Controller
;
aic_smr0 MM 0xFFFFF000 32 ;Source Mode Registers
aic_smr1 MM 0xFFFFF004 32
aic_smr2 MM 0xFFFFF008 32
aic_smr3 MM 0xFFFFF00C 32
aic_smr4 MM 0xFFFFF010 32
aic_smr5 MM 0xFFFFF014 32
aic_smr6 MM 0xFFFFF018 32
aic_smr7 MM 0xFFFFF01C 32
aic_smr8 MM 0xFFFFF020 32
aic_smr9 MM 0xFFFFF024 32
aic_smr10 MM 0xFFFFF028 32
aic_smr11 MM 0xFFFFF02C 32
aic_smr12 MM 0xFFFFF030 32
aic_smr13 MM 0xFFFFF034 32
aic_smr14 MM 0xFFFFF038 32
aic_smr15 MM 0xFFFFF03C 32
aic_smr16 MM 0xFFFFF040 32
aic_smr17 MM 0xFFFFF044 32
aic_smr18 MM 0xFFFFF048 32
aic_smr19 MM 0xFFFFF04C 32
aic_smr20 MM 0xFFFFF050 32
aic_smr21 MM 0xFFFFF054 32
aic_smr22 MM 0xFFFFF058 32
aic_smr23 MM 0xFFFFF05C 32
aic_smr24 MM 0xFFFFF060 32
aic_smr25 MM 0xFFFFF064 32
aic_smr26 MM 0xFFFFF068 32
aic_smr27 MM 0xFFFFF06C 32
aic_smr28 MM 0xFFFFF070 32
aic_smr29 MM 0xFFFFF074 32
aic_smr30 MM 0xFFFFF078 32
aic_smr31 MM 0xFFFFF07C 32
;
aic_svr0 MM 0xFFFFF080 32 ;Source Vector Registers
aic_svr1 MM 0xFFFFF084 32
aic_svr2 MM 0xFFFFF088 32
aic_svr3 MM 0xFFFFF08C 32
aic_svr4 MM 0xFFFFF090 32
aic_svr5 MM 0xFFFFF094 32
aic_svr6 MM 0xFFFFF098 32
aic_svr7 MM 0xFFFFF09C 32
aic_svr8 MM 0xFFFFF0A0 32
aic_svr9 MM 0xFFFFF0A4 32
aic_svr10 MM 0xFFFFF0A8 32
aic_svr11 MM 0xFFFFF0AC 32
aic_svr12 MM 0xFFFFF0B0 32
aic_svr13 MM 0xFFFFF0B4 32
aic_svr14 MM 0xFFFFF0B8 32
aic_svr15 MM 0xFFFFF0BC 32
aic_svr16 MM 0xFFFFF0C0 32
aic_svr17 MM 0xFFFFF0C4 32
aic_svr18 MM 0xFFFFF0C8 32
aic_svr19 MM 0xFFFFF0CC 32
aic_svr20 MM 0xFFFFF0D0 32
aic_svr21 MM 0xFFFFF0D4 32
aic_svr22 MM 0xFFFFF0D8 32
aic_svr23 MM 0xFFFFF0DC 32
aic_svr24 MM 0xFFFFF0E0 32
aic_svr25 MM 0xFFFFF0E4 32
aic_svr26 MM 0xFFFFF0E8 32
aic_svr27 MM 0xFFFFF0EC 32
aic_svr28 MM 0xFFFFF0F0 32
aic_svr29 MM 0xFFFFF0F4 32
aic_svr30 MM 0xFFFFF0F8 32
aic_svr31 MM 0xFFFFF0FC 32
;
aic_ivr MM 0xFFFFF100 32 ;IRQ Vector Register
aic_fvr MM 0xFFFFF104 32 ;FIQ Vector Register
aic_isr MM 0xFFFFF108 32 ;Interrupt Status Register
aic_ipr MM 0xFFFFF10C 32 ;Interrupt Pending Register
aic_imr MM 0xFFFFF110 32 ;Interrupt Mask Register
aic_cisr MM 0xFFFFF114 32 ;Core Interrupt Status Register
aic_iecr MM 0xFFFFF120 32 ;Interrupt Enable Command Register
aic_idcr MM 0xFFFFF124 32 ;Interrupt Disable Command Register
aic_iccr MM 0xFFFFF128 32 ;Interrupt Clear Command Register
aic_iscr MM 0xFFFFF12C 32 ;Interrupt Set Command Register
aic_eoicr MM 0xFFFFF130 32 ;End of Interrupt Command Register
aic_spu MM 0xFFFFF134 32 ;Spurious Vector Register
;
; PIO: Parallel I/O Controller
;
pio_per MM 0xFFFF0000 32 ;PIO Enable Register
pio_pdr MM 0xFFFF0004 32 ;PIO Disable Register
pio_psr MM 0xFFFF0008 32 ;PIO Status Register
pio_oer MM 0xFFFF0010 32 ;Output Enable Register
pio_odr MM 0xFFFF0014 32 ;Output Disable Register
pio_osr MM 0xFFFF0018 32 ;Output Status Register
pio_ifer MM 0xFFFF0020 32 ;Input Filter Enable Register
pio_ifdr MM 0xFFFF0024 32 ;Input Filter Disable Register
pio_ifsr MM 0xFFFF0028 32 ;Input Filter Status Register
pio_sodr MM 0xFFFF0030 32 ;Set Output Data Register
pio_codr MM 0xFFFF0034 32 ;Clear Output Data Register
pio_odsr MM 0xFFFF0038 32 ;Output Data Status Register
pio_pdsr MM 0xFFFF003C 32 ;Pin Data Status Register
pio_ier MM 0xFFFF0040 32 ;Interrupt Enable Register
pio_idr MM 0xFFFF0044 32 ;Interrupt Disable Register
pio_imr MM 0xFFFF0048 32 ;Interrupt Mask Register
pio_isr MM 0xFFFF004C 32 ;Interrupt Status Register
;
; WD: Watchdog Timer
;
wd_omr MM 0xFFFF8000 32 ;Overflow Mode Register
wd_cmr MM 0xFFFF8004 32 ;Clock Mode Register
wd_cr MM 0xFFFF8008 32 ;Control Register
wd_sr MM 0xFFFF800C 32 ;Status Register
;
; SF: Special Function Registers
;
sf_cidr MM 0xFFF00000 32 ;Chip ID Register
sf_exid MM 0xFFF00004 32 ;Chip ID Extension Register
sf_rsr MM 0xFFF00008 32 ;Reset Status Register
sf_mmr MM 0xFFF0000C 32 ;Memory Mode Register
sf_pmr MM 0xFFF00018 32 ;Protect Mode Register
;
; USART: Universal Synchronous/Asynchronous Receiver/Transmitter
;
us0_cr MM 0xFFFD0000 32 ;Control Register
us0_mr MM 0xFFFD0004 32 ;Mode Register
us0_ier MM 0xFFFD0008 32 ;Interrupt Enable Register
us0_idr MM 0xFFFD000C 32 ;Interrupt Disable Register
us0_imr MM 0xFFFD0010 32 ;Interrupt Mask Register
us0_csr MM 0xFFFD0014 32 ;Channel Status Register
us0_rhr MM 0xFFFD0018 32 ;Receiver Holding Register
us0_thr MM 0xFFFD001C 32 ;Transmitter Holding Register
us0_brgr MM 0xFFFD0020 32 ;Baud Rate Generator Register
us0_rtor MM 0xFFFD0024 32 ;Receiver Time-out Register
us0_ttgr MM 0xFFFD0028 32 ;Transmitter Time-guard Register
us0_rpr MM 0xFFFD0030 32 ;Receive Pointer Register
us0_rcr MM 0xFFFD0034 32 ;Receive Counter Register
us0_tpr MM 0xFFFD0038 32 ;Transmit Pointer Register
us0_tcr MM 0xFFFD003C 32 ;Transmit Counter Register
;
us1_cr MM 0xFFFCC000 32 ;Control Register
us1_mr MM 0xFFFCC004 32 ;Mode Register
us1_ier MM 0xFFFCC008 32 ;Interrupt Enable Register
us1_idr MM 0xFFFCC00C 32 ;Interrupt Disable Register
us1_imr MM 0xFFFCC010 32 ;Interrupt Mask Register
us1_csr MM 0xFFFCC014 32 ;Channel Status Register
us1_rhr MM 0xFFFCC018 32 ;Receiver Holding Register
us1_thr MM 0xFFFCC01C 32 ;Transmitter Holding Register
us1_brgr MM 0xFFFCC020 32 ;Baud Rate Generator Register
us1_rtor MM 0xFFFCC024 32 ;Receiver Time-out Register
us1_ttgr MM 0xFFFCC028 32 ;Transmitter Time-guard Register
us1_rpr MM 0xFFFCC030 32 ;Receive Pointer Register
us1_rcr MM 0xFFFCC034 32 ;Receive Counter Register
us1_tpr MM 0xFFFCC038 32 ;Transmit Pointer Register
us1_tcr MM 0xFFFCC03C 32 ;Transmit Counter Register
;
; TC: Timer Counter
;
tc0_ccr MM 0xFFFE0000 32 ;Channel Control Register
tc0_cmr MM 0xFFFE0004 32 ;Channel Mode Register
tc0_cv MM 0xFFFE0010 32 ;Counter Value
tc0_ra MM 0xFFFE0014 32 ;Register A
tc0_rb MM 0xFFFE0018 32 ;Register B
tc0_rc MM 0xFFFE001C 32 ;Register C
tc0_sr MM 0xFFFE0020 32 ;Status Register
tc0_ier MM 0xFFFE0024 32 ;Interrupt Enable Register
tc0_idr MM 0xFFFE0028 32 ;Interrupt Disable Register
tc0_imr MM 0xFFFE002C 32 ;Interrupt Mask Register
;
tc1_ccr MM 0xFFFE0040 32 ;Channel Control Register
tc1_cmr MM 0xFFFE0044 32 ;Channel Mode Register
tc1_cv MM 0xFFFE0050 32 ;Counter Value
tc1_ra MM 0xFFFE0054 32 ;Register A
tc1_rb MM 0xFFFE0058 32 ;Register B
tc1_rc MM 0xFFFE005C 32 ;Register C
tc1_sr MM 0xFFFE0060 32 ;Status Register
tc1_ier MM 0xFFFE0064 32 ;Interrupt Enable Register
tc1_idr MM 0xFFFE0068 32 ;Interrupt Disable Register
tc1_imr MM 0xFFFE006C 32 ;Interrupt Mask Register
;
tc2_ccr MM 0xFFFE0080 32 ;Channel Control Register
tc2_cmr MM 0xFFFE0084 32 ;Channel Mode Register
tc2_cv MM 0xFFFE0090 32 ;Counter Value
tc2_ra MM 0xFFFE0094 32 ;Register A
tc2_rb MM 0xFFFE0098 32 ;Register B
tc2_rc MM 0xFFFE009C 32 ;Register C
tc2_sr MM 0xFFFE00A0 32 ;Status Register
tc2_ier MM 0xFFFE00A4 32 ;Interrupt Enable Register
tc2_idr MM 0xFFFE00A8 32 ;Interrupt Disable Register
tc2_imr MM 0xFFFE00AC 32 ;Interrupt Mask Register
;
tc_bcr MM 0xFFFE00C0 32 ;TC Block Control Register
tc_bmr MM 0xFFFE00C4 32 ;TC Block Mode Register
[-- Attachment #3: at91eb40a.cfg --]
[-- Type: application/octet-stream, Size: 2258 bytes --]
; bdiGDB configuration file for AT91EB40A board
; ---------------------------------------------
;
[INIT]
WREG CPSR 0x000000D3 ;select supervisor mode
WM32 0xFFE00020 0x00000001 ;Cancel reset remapping
WM32 0xFFE00024 0x00000006 ;enable A0..A20
WM32 0xFFE00000 0x01002539 ;Flash at 0x01000000
WM32 0xFFFFF124 0xFFFFFFFF ;disable all interrupts
[TARGET]
CPUTYPE ARM7TDMI
CLOCK 1 ;JTAG clock (0=Adaptive, 1=8MHz, 2=4MHz, 3=2MHz)
VECTOR CATCH ;catch unhandled exceptions
BREAKMODE HARD ;SOFT or HARD, ARM / Thumb break code
;WAKEUP 1000 ;wakeup time after reset
[HOST]
IP 192.168.222.115
FILE c:\e21\workspace\firmware\output\rimi.srec
;FILE c:\e21\workspace\bootloader\output\rimibootloader.srec
FORMAT SREC
LOAD MANUAL
PROMPT EB40A> ;new Telnet prompt
[FLASH]
WORKSPACE 0x00000000 ;workspace in target RAM for fast programming algorithm
CHIPTYPE AT49X16 ;Flash type is Atmel AT49BV1604 in 16bit mode
CHIPSIZE 0x200000 ;The size of one flash chip in bytes (e.g. AM29F010 = 0x20000)
BUSWIDTH 16 ;The width of the flash memory bus in bits (8 | 16 | 32)
FILE c:\e21\workspace\firmware\output\rimi.srec ;The file to program
;FILE c:\e21\workspace\bootloader\output\rimibootloader.srec ;The file to program
FORMAT SREC
ERASE 0x01000000
ERASE 0x01002000
ERASE 0x01004000
ERASE 0x01006000
ERASE 0x01008000
ERASE 0x0100a000
ERASE 0x0100c000
ERASE 0x0100e000
ERASE 0x01010000
;ERASE 0x01020000
;ERASE 0x01030000
;ERASE 0x01040000
;ERASE 0x01050000
;ERASE 0x01060000
;ERASE 0x01070000
;ERASE 0x01080000
;ERASE 0x01090000
;ERASE 0x01020000
;ERASE 0x01030000
;ERASE 0x01040000
;ERASE 0x01050000
;ERASE 0x01060000
;ERASE 0x01070000
;ERASE 0x01080000
;ERASE 0x01090000
;ERASE 0x010a0000
;ERASE 0x010b0000
;ERASE 0x010c0000
;ERASE 0x010d0000
;ERASE 0x010e0000
;ERASE 0x010f0000
[REGS]
FILE at91x40.def
[-- Attachment #4: Type: text/plain, Size: 146 bytes --]
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ECOS] Re: YES! redboot and eb40a success story :)
2003-09-19 7:24 [ECOS] RE: YES! redboot and eb40a success story :) Øyvind Harboe
@ 2003-09-19 16:25 ` Konstantin Kletschke
2003-09-19 19:01 ` Øyvind Harboe
0 siblings, 1 reply; 4+ messages in thread
From: Konstantin Kletschke @ 2003-09-19 16:25 UTC (permalink / raw)
To: Øyvind Harboe; +Cc: ecos-discuss
Hi!
On Fri, Sep 19, 2003 at 09:24:53AM +0200, Ãyvind Harboe wrote:
>
> From the BDI2000 prompt:
> --------------------
> EB40A>reset
> - TARGET: processing reset request
> [output deleted]
> - TARGET: processing target startup passedEB40A>erase
> Erasing flash at 0x01000000
> [output deleted]
> Erasing flash passed
> EB40A>prog 0x1000000
> c:\e21\workspace\bootloader\output\rimibootloader.bin bin
> Programming c:\e21\workspace\bootloader\output\rimibootloader.bin ,
> please wait
> ....
> Programming flash passed
> EB40A>go 0x1000000
I used your below mentioned patch and redboot lifes now in both halfes
of flash (STD/USER Jumper, angel is dead now) an is in best health!!!
-> Works like a charm.
> Here is a debug session(notice how I change the PC to account for the
> BDI having run the remap command):
>
> --------------------
> $ arm-elf-gdb bootloader/output/rimibootloader.elf
> GNU gdb 5.3 (eCosCentric)
> Copyright 2002 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you
> are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB. Type "show warranty" for
> details.
> This GDB was configured as "--host=i686-pc-cygwin --target=arm-elf"...
> (gdb) target remote 192.168.222.200:2001
> Remote debugging using 192.168.222.200:2001
> 0x00000018 in __rom_vectors_lma ()
> (gdb) monitor reset
> (gdb) set $pc=0x1000000
> (gdb) c
> Continuing.
> ---------------------
See above :)
> The flash "prog" command supports bin, elf, srec, but you need to
> specify
Yes, thats clear to me, I only wondered were BDI2000 or/and arm-elf-gdb
gets there start and offset addresses from...
> Thats why I wrote the patch below:
>
> http://sources.redhat.com/ml/ecos-patches/2003-09/msg00049.html
OK, many thanks in a first instance, I have to learn using this debugger
more on on next days...
Konsti
--
2.6.0-test1-mm2
Konstantin Kletschke <konsti@ludenkalle.de>, <konsti@ku-gbr.de>
GPG KeyID EF62FCEF
Fingerprint: 13C9 B16B 9844 EC15 CC2E A080 1E69 3FDA EF62 FCEF
keulator.homelinux.org up 2:35, 18 users
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ECOS] Re: YES! redboot and eb40a success story :)
2003-09-19 16:25 ` [ECOS] " Konstantin Kletschke
@ 2003-09-19 19:01 ` Øyvind Harboe
2003-09-20 14:23 ` Konstantin Kletschke
0 siblings, 1 reply; 4+ messages in thread
From: Øyvind Harboe @ 2003-09-19 19:01 UTC (permalink / raw)
To: konsti; +Cc: ecos-discuss
> I used your below mentioned patch and redboot lifes now in both halfes
> of flash (STD/USER Jumper, angel is dead now) an is in best health!!!
> -> Works like a charm.
The STD/USER jumper is just an inversion of an address bit.
However, note that the EB40a flash isn't heterogenous. It has 0x2000
and 0x10000 size sectors.
I assume you are not deploying the EB40a board, so you probably want to leave
the jumper in the position(SDT?) where 0x1000000-0x1010000 has 0x2000 long
sectors.
> Yes, thats clear to me, I only wondered were BDI2000 or/and arm-elf-gdb
> gets there start and offset addresses from...
arm-elf-gdb when connecting to the target with BDI JTAG debugger does not have
a start address. It simply halts the CPU. After a reset, the BDI JTAG debugger
messes around with the remap registers(I haven't needed to look to carefully at
what it is doing).
The concept of a "start address" doesn't really apply in the same way as it
exists for PC applications(Linux/Windows). The situation is much more analogous
to using the gdb "attach" command for a PC application.
Ãyvind
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ECOS] Re: YES! redboot and eb40a success story :)
2003-09-19 19:01 ` Øyvind Harboe
@ 2003-09-20 14:23 ` Konstantin Kletschke
0 siblings, 0 replies; 4+ messages in thread
From: Konstantin Kletschke @ 2003-09-20 14:23 UTC (permalink / raw)
To: ecos-discuss
* ï¾yvind Harboe <oyvind.harboe@zylin.com> [Fri, Sep 19, 2003 at 09:01:23PM +0200]:
> > I used your below mentioned patch and redboot lifes now in both halfes
> > of flash (STD/USER Jumper, angel is dead now) an is in best health!!!
> > -> Works like a charm.
>
> The STD/USER jumper is just an inversion of an address bit.
Yes, I understood today,,, looking for the xt time and the circuit. So,
as a proof of concept I flashed both halfes of it and watched redboot
coming up regardeless of the jumper position :)
> However, note that the EB40a flash isn't heterogenous. It has 0x2000
> and 0x10000 size sectors.
hm, good to know...
> I assume you are not deploying the EB40a board, so you probably want to leave
> the jumper in the position(SDT?) where 0x1000000-0x1010000 has 0x2000 long
> sectors.
I am only training bdi2000 and arm-elf-gdb on that thing... If I am firm
with them I will make _my_ arm7 board (ARM9 is at factory :)) doing what
I wan't to. I hope then
I can distinguish between software and hardware erros. So ATM I hee an
relieable circuit and hardware to trainee on it...
> arm-elf-gdb when connecting to the target with BDI JTAG debugger does not have
> a start address. It simply halts the CPU. After a reset, the BDI JTAG debugger
> messes around with the remap registers(I haven't needed to look to carefully at
> what it is doing).
Yes, I realized too today, I will have to learn and get to know its
behaviour...
> The concept of a "start address" doesn't really apply in the same way as it
> exists for PC applications(Linux/Windows). The situation is much more analogous
> to using the gdb "attach" command for a PC application.
Hm, I don't know exactly ATM how this on PC is done, I only wonder ATM,
why exactly a powered eb40a begins to execute FLASH at 0x1000000 when
powered up, but I have to study the data sheets tomorrow to clear this
out :)
Konsti
--
2.6.0-test5-mm1
Konstantin Kletschke <konsti@ludenkalle.de>, <konsti@ku-gbr.de>
GPG KeyID EF62FCEF
Fingerprint: 13C9 B16B 9844 EC15 CC2E A080 1E69 3FDA EF62 FCEF
keulator.homelinux.org up 3:23, 15 users
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-09-20 14:23 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-19 7:24 [ECOS] RE: YES! redboot and eb40a success story :) Øyvind Harboe
2003-09-19 16:25 ` [ECOS] " Konstantin Kletschke
2003-09-19 19:01 ` Øyvind Harboe
2003-09-20 14:23 ` Konstantin Kletschke
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).