summaryrefslogtreecommitdiff
path: root/nuttx/configs
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-08-05 10:29:43 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-08-05 10:29:43 -0600
commit5bf5e918c77fb5ba2e5cf6f5c2f2c472d806c854 (patch)
tree2491c9e504834e4518c7de60dffc19e68120d5a4 /nuttx/configs
parent77df6ac2d504fc42d3e1def268cbaa551dcf64fa (diff)
downloadpx4-nuttx-5bf5e918c77fb5ba2e5cf6f5c2f2c472d806c854.tar.gz
px4-nuttx-5bf5e918c77fb5ba2e5cf6f5c2f2c472d806c854.tar.bz2
px4-nuttx-5bf5e918c77fb5ba2e5cf6f5c2f2c472d806c854.zip
SAMA5: SPI Driver + AT25 FLASH work; SAM3/4: Correct an error, SPI will not be correctly configured if CONFIG_SPI_OWNBUS=n
Diffstat (limited to 'nuttx/configs')
-rw-r--r--nuttx/configs/sama5d3x-ek/README.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/nuttx/configs/sama5d3x-ek/README.txt b/nuttx/configs/sama5d3x-ek/README.txt
index 38600f0c2..52b505a94 100644
--- a/nuttx/configs/sama5d3x-ek/README.txt
+++ b/nuttx/configs/sama5d3x-ek/README.txt
@@ -953,6 +953,21 @@ Configurations
NOTE that you must close JP1 on the Embest/Ronetix board in
order to enable the AT25 FLASH chip select.
+ You can then format the AT25 FLASH for a FAT file system and mount
+ the file system at /mnt/sdcard using these NSH commands:
+
+ nsh> mkfatfs /dev/mtdblock0
+ nsh> mount -t vfat /dev/mtdblock0 /mnt/sdcard
+
+ Then you an use the FLASH as a normal FAT file system:
+
+ nsh> echo "This is a test" >/mnt/sdcard/atest.txt
+ nsh> ls -l /mnt/sdcard
+ /mnt/sdcard:
+ -rw-rw-rw- 16 atest.txt
+ nsh> cat /mnt/sdcard/atest.txt
+ This is a test
+
STATUS:
2013-7-19: This configuration (as do the others) run at 396MHz.
The SAMA5D3 can run at 536MHz. I still need to figure out the
@@ -982,6 +997,8 @@ Configurations
generate occasional spurious interrupts in those same conditions
where the memory test fails! No idea why.
+ 2013-8-5: The AT25 configuration has been verified to be functional.
+
ostest:
This configuration directory, performs a simple OS test using
examples/ostest.