[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] Nu Horizons S31500: 16-bit FLASH working.
- To: microblaze-uclinux@xxxxxxxxxxxxxx
- Subject: Re: [microblaze-uclinux] Nu Horizons S31500: 16-bit FLASH working.
- From: Greg Miller <apco25@xxxxxxxxx>
- Date: Wed, 4 May 2005 18:29:33 -0700 (PDT)
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=aIgCYN/+Df7OxioB6YvLE3EniYyHOY/RFT3EmhUTYuDat6e/F5iK0Z2+UKspjqrv0TZ6R5aXU9bk7KwbiyvORE0tFD8yJgKBHO1LUPOAAtnT3OWlUFgQrXB1dtVSTukz4aNrW28rAF6uCsE8CV15ZogIE9ypAO1Hm4XCJdxlh2c= ;
- In-reply-to: 6667
- Reply-to: microblaze-uclinux@xxxxxxxxxxxxxx
- Sender: owner-microblaze-uclinux@xxxxxxxxxxxxxx
I agree, but have had some issues with having to erase the flash first. Sometimes you don't have to, but it gets in some strange mode where you have to erase then all is well. Also, I see it get corrupt sometimes when loading 100s of files.
David Banas <email@example.com> wrote:
I've got it working now; thanks for all your help.
It was your suggestion to erase the FLASH before attempting to copy the
JFFS2 image file onto it that got things working, which confuses me: isn't
the erasing taken care of automatically when needed? For instance, I just
created a new file successfully on the FLASH by redirecting the output of a
'cat' command to '/mnt/cat_output'. (I have '/dev/mtdblock6' mounted at
'/mnt'.) I didn't get any of those "Internal timeout on FLASH." errors when
I did this and the file got correctly written. Does this automatic
erase-when-needed behavior only occur when you're going through the JFFS2
file system and not when you directly copy to /dev/mtd6?
Another peculiarity: when I do a 'df /mnt', I get the following:
Total bytes: 524288
Free bytes: 192512
Free nodes: 0
The "Total bytes" reported is correct for that partition, but the other 3
values look bogus. (The only things originally in '/mnt' were 2 *.pid files,
consuming a wopping 6 bytes total. Also, "Free bytes" didn't change when I
executed the command mentioned, above, which produces a file in '/mnt' that
is 3241 bytes in size.) Any thoughts?
Thanks, again, for the help,
Field Applications Engineer
Nu Horizons Electronics Corp.
2070 Ringwood Avenue
San Jose, CA 95131
(408)434-0800 - office
(415)846-5837 - cell
microblaze-uclinux mailing list
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/