This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Re: eCos for AT91EB01?
- From: "Martin" <msie02 at kom dot auc dot dk>
- To: 'Daniel Néri' <daniel dot neri at sigicom dot com>,<ecos-discuss at sources dot redhat dot com>
- Date: Wed, 31 Mar 2004 14:00:02 +0200
- Subject: RE: [ECOS] Re: eCos for AT91EB01?
You need to short J7 to allow writes to the Flash. Note that the
User's Guide gives the impression that J7 only protects the lower part
but AFAICT, this is wrong.
Regards,
--
Daniel Néri
Sigicom AB, Sweden
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
This has been shorted all the time. I would like to keep Angel in the lower
part of the flash, therefore I am trying to write to the upper half of the
flash. The example below shows an attempt to erase part of the upper half.
The results are identical with and without J7 shorted:
*****************************************
Welcome to minicom 2.1
OPTIONS: History Buffer, F-key Macros, Search History Buffer, I18n
Compiled on Jun 15 2003, 14:35:38.
Press CTRL-A Z for help on special keys
RedBoot> AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0
** Error: Illegal command: "AT"
RedBoot> version
RedBoot(tm) bootstrap and debug environment [RAM]
Non-certified release, version UNKNOWN - built 21:26:07, Mar 30 2004
Platform: Atmel AT91/EB40 (ARM7TDMI)
Copyright 2000, 2001, 2002, Red Hat, Inc.
RAM: 0x02000000-0x02080000, [0x02034400-0x02080000] available
FLASH: 0x01000000 - 0x01020000, 512 blocks of 0x00000100 bytes each.
RedBoot> dump -b 0x0101ff00 -l 0x10
0101FF00: 24 58 00 40 18 30 31 44 09 03 04 00 A0 88 00 34
|$X.@.01D.......4|
RedBoot> fis erase -f 0x0101ff00 -l 0x10
... Erase from 0x0101ff00-0x0101ff10: .
RedBoot> dump -b 0x0101ff00 -l 0x10
0101FF00: 24 58 00 40 18 30 31 44 09 03 04 00 A0 88 00 34
|$X.@.01D.......4|
RedBoot>
******************************************
Regards
Martin Siegumfeldt
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss