It just dawned on me, that the stm32 normally executes its programs out of
flash.
I was thinking the flash stored the software, and the first thing it did,
was move the code to ram for execution. I was thinking the flash access
time was too slow.
I've been playing with the NUTTX OS and it has some options about where to
run the program and my clue light just came on.
By the way, with Nuttx I was able to talk to the development board using a
usb cable and minicom, and play with the "nut" shell. I tried the ram disk
application and it worked as advertised.
Steve
NuttShell (NSH)
nsh> ls
/:
dev/
nsh> ?
help usage: help [-v] [<cmd>]
[ dirname help mh set unset
? dd hexdump mount sh usleep
basename df kill mv sleep xd
break echo ls mw test
cat exec mb ps time
cd exit mkdir pwd true
cp false mkfatfs rm uname
cmp free mkrd rmdir umount
Builtin Apps:
nsh> help mkrd
mkrd usage: mkrd [-m <minor>] [-s <sector-size>] <nsectors>
nsh> mount -t procfs /proc
nsh> free
total used free largest
Umem: 192592 9248 183344 124864
nsh> mkrd 64
nsh> ls /dev
/dev:
console
null
ram0
ttyACM0
ttyS0
nsh> free
total used free largest
Umem: 192592 42112 150480 124864
nsh> mkfatfs /dev/ram0
nsh> mount -t vfat /dev/ram0 /mnt
nsh> mount
/mnt type vfat
/proc type procfs
nsh> ls
/:
dev/
mnt/
proc/
nsh> cd /mnt
nsh> echo "Hello World" >hello.txt
nsh> ls
/mnt:
hello.txt
nsh> cat hello.txt
Hello World
nsh>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Freetel-codec2 mailing list
Freetel-codec2@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freetel-codec2