Figured that due to the utility nature of PropDOS, the current AiGeneric would be fine.
The video driver is interchangeable with the newer AiGeneric driver for those who
want funky fonts in PropDOS.
The real purpose of being able to change fonts is for FemtoBASIC, and I will add
that to my "COLOR" release soon.
I have made a few modifications to propdos by adding 3 new commands: off = shuts down the system by killing all cogs, poweroff = equivalent to off, and help, which displays the list of commands. PropDOS is a great program!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I am 1010, so be surprised!
PROPDOS V1.7b Release (see top thread for command list and Download Link)
NOTES:
This version adds Virtual Folders. These serve as a way to get organized using the current FSRW.
--> For those who do not need/want this command set the DAT command in upper DAT to:
ROOT byte "0",0
The only change you will see is that DIR/W is now [noparse][[/noparse]F4] instead of [noparse][[/noparse]F1] and it will PAUSE at
each screen full with the option to 'PRESS A KEY or [noparse][[/noparse]ESC]' to stop listing.
--> For those (like myself) who are finding that videos/pictures/music/games etc are starting to get
hard to manage, READ ON:
Keep the DAT command in the upper DAT as:
ROOT byte "root",0 (or change the word root to whatever you want to call it. 8 characters max!
Boot PROPDOS and type LABEL <firstname> and hit ENTER
Assign this label to ROOT or whatever you called it. This will create your Virtual Root Folder.
Now use DIR/W ([noparse][[/noparse]F4]) to view the actual files on your SD card, and use the LABEL <filename.ext> to
assign them to various labels. If the label doesn't exist, it will be created for you.
You will start to notice LABEL.DIR entries appearing in both DIR (F1) and DIR/W (F4)
These will also in each Virtual folder you create for reference.
Now use CD LABEL to move to your Virtual Folder and DIR (F1) to view the files.
Use CD.. or CD\ to exit back to your Virtual Root or Actual Root. (Depending on your settings.)
This will feel a little awkward at first, but once you label your files, it's SWEET! [noparse]:)[/noparse]
{Special Note: This version was created for ME! If you like it great, but I can't believe I'm actually
using 50+ files and half a GIG of my SD card for my Propeller. Too Cool!}
I've been using FemtoBasic, but now I'm trying to use propdos. For some reason propdos will not mount my SDCard. I set the pins in propdos to
'' Protoboard
spiDO = 8
spiClk = 9
spiDI = 10
spiCS = 11
For femto I used fb.start(8), and it mounts the sd fine. I can view and read and write files with it. However with propdos I'm getting this error...
No SD Card present.
SD card expected on 8,9,10.11
Just to be certain I've tested that each pin (do, clk, di and cs) are connected to the correct pins and they all are.
Does anyone have and idea why propdos won't work on the same sd card as femto?
Strange, I lifted the SD routines straight out of Mike's Femtobasic.
Try remarking the code which checks the card and see if it actually sees it anyway.
I've actually seen a couple keyboards which failed the check, but worked anyway.
I tried for a while to figure this out. It was the darnest thing. I had femto basic working without issue but propDos wouldn't mount the exact same SD card. I did a diff between the femto and the propdos files and found them to be almost identical, certainly there were no differences that would account for the fact that prop dos wouldn't work. It kept throwing the error right on the mount call. Finally, I started with a clean new file and added one new thing at a time until I got to where propdos would work. It turns out the difference was the HSS object. Deep in the HSS object it defines its pins in a DAT section like this...
Port_Pins long %00000000_00000000_00001100_00000000
Well, pins 10 and 11 are used for the SD on my protoboard! DOH!
I'm working on my ProPPhone... and I'm having trouble with PropDos v1.7 (and 1.6)
I am using a protoboard with one of Brian's SpinStudio SD card adapters in pins 0-3.
The SD card has a BIN file on it. I can see the file and read the file using sdrw_test from "fsrw and friends"
but when I run PropDos it says that I don't have an SD card and shuts down. The pin assignments look ok to me.
Any light for this darkness?
Hmm.. If you are sure you have it connected and set correctly, try
remarking lines 171-189 (the code below) and see if the SD check is failing.
if \fsrw.mount(spiDO,spiClk,spiDI,spiCS) < 0
text.str(string(13,"No SD card present.",CR))
text.str(string("SD card expected on: "))
text.dec(spiDO)
text.str(string(", "))
text.dec(spiClk)
text.str(string(", "))
text.dec(spiDI)
text.str(string(", "))
text.dec(spiCS)
text.str(string(13,CR,"System halted.",CR))
abort
waitcnt(clkfreq + cnt)
if not key.present
text.str(string(13,"No keyboard present",CR))
text.str(string("Keyboard expected on: "))
text.dec(keyboard)
text.str(string(13,CR,"System halted.",CR))
abort
I've only seen one other time for the code to fail. It was a badly constructed
audio/video head for a ucontroller board. (To this day I'm not sure why it failed.)
If you are still getting stuck, PM me and I'll pull my "thinking cap" on a little tighter.
Ended up with a nasty flu bug... have now returned to the living.
This just didn't make any sense to me. So, I soldered up a new Proto board, uncommented the PropDos code, and presto-digito, I can now use PropDos!!!
So, the big problem was a little problem on my proto-board... probably just enough to give me a timing problem. Which gives me a new project... Prop testing on steroids!!!
Thanks for your very kind help... and mostly thanks for PropDos!!!
Rich
ps:
in order to get the "dir" command to work, I had to change the following line (somewhere around line 280)
if folder==0
dosdir
to
if folder<>0
dosdir
I have no idea what folder is of course[noparse]:)[/noparse]
By the way, I was absolutely tickled by how fast a program can load from the SD card... there doesn't seem to be any lag at all...
exactly what I needed. I originally thought I was going to be using Chip's proploader and would run out of room eventually.
PropDos is fabulous.
I'm working on it... but I'm still sick and my son... who has an autism variant ... is now taking driver's training and a couple of math courses at night, all of which requires a significant effort from both of us[noparse]:)[/noparse]
My PropPhone will get a bump in the next week or so... I really needed to get PropDos working. Now that I have PropDos up and running, I have some easy stuff to do and then I will post it.
Is PropDOS the correct place to start for having a static program in EEPROM that would allow a user to select a program to run from an SD card by means of a single pushbutton?
My project outline:: Upon power up or reset, an LED goes solid. The user holds a button down and the program slowly cycles through a single blink, double blink, and triple blink and the user releases during one of those cycles. If the LED was in it's double-blink cycle when the button was released, the program "2.bin" is started on the prop as the active program and while running, the double blink becomes the "power on" LED status.
I also came across PROPCMD in the OBEX which is based/similar to PropDOS. Any other ideas?
Comments
The video driver is interchangeable with the newer AiGeneric driver for those who
want funky fonts in PropDOS.
The real purpose of being able to change fonts is for FemtoBASIC, and I will add
that to my "COLOR" release soon.
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with the Protoboard? - Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card? - PropDOS
A Living Propeller FAQ - The Propeller Wiki
(Got the Knowledge? Got a Moment? Add something today!)
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I am 1010, so be surprised!
I'll add them "officially" to the next release, 1.6b, along with a couple other things.
(As soon as I get them wrapped up!)
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with the Protoboard? - Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card? - PropDOS
A Living Propeller FAQ - The Propeller Wiki
(Got the Knowledge? Got a Moment? Add something today!)
Thanks for the new updates!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Share the knowledge: propeller.wikispaces.com
Lets make some music: www.andrewarsenault.com/hss
Nice to see you back in the forums! Any chance of an HSS update soon?
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with the Protoboard? - Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card? - PropDOS
A Living Propeller FAQ - The Propeller Wiki
(Got the Knowledge? Got a Moment? Add something today!)
Yes, I'll be sure to keep you posting. [noparse]:)[/noparse]
Until then I'm going to have to give this new version of PropDos a spin. [noparse]:)[/noparse]
Thanks!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Share the knowledge: propeller.wikispaces.com
Lets make some music: www.andrewarsenault.com/hss
Very well done!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Propeller Wiki: Share the coolness!
Chat in real time with other Propellerheads on IRC #propeller @ freenode.net
NOTES:
This version adds Virtual Folders. These serve as a way to get organized using the current FSRW.
--> For those who do not need/want this command set the DAT command in upper DAT to:
ROOT byte "0",0
The only change you will see is that DIR/W is now [noparse][[/noparse]F4] instead of [noparse][[/noparse]F1] and it will PAUSE at
each screen full with the option to 'PRESS A KEY or [noparse][[/noparse]ESC]' to stop listing.
--> For those (like myself) who are finding that videos/pictures/music/games etc are starting to get
hard to manage, READ ON:
Keep the DAT command in the upper DAT as:
ROOT byte "root",0 (or change the word root to whatever you want to call it. 8 characters max!
Boot PROPDOS and type LABEL <firstname> and hit ENTER
Assign this label to ROOT or whatever you called it. This will create your Virtual Root Folder.
Now use DIR/W ([noparse][[/noparse]F4]) to view the actual files on your SD card, and use the LABEL <filename.ext> to
assign them to various labels. If the label doesn't exist, it will be created for you.
You will start to notice LABEL.DIR entries appearing in both DIR (F1) and DIR/W (F4)
These will also in each Virtual folder you create for reference.
Now use CD LABEL to move to your Virtual Folder and DIR (F1) to view the files.
Use CD.. or CD\ to exit back to your Virtual Root or Actual Root. (Depending on your settings.)
This will feel a little awkward at first, but once you label your files, it's SWEET! [noparse]:)[/noparse]
{Special Note: This version was created for ME! If you like it great, but I can't believe I'm actually
using 50+ files and half a GIG of my SD card for my Propeller. Too Cool!}
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with the Protoboard? - Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card? - PropDOS
Need a part? Got spare electronics? - The Electronics Exchange
Post Edited (Oldbitcollector) : 6/14/2008 5:46:47 PM GMT
'' Protoboard
spiDO = 8
spiClk = 9
spiDI = 10
spiCS = 11
For femto I used fb.start(8), and it mounts the sd fine. I can view and read and write files with it. However with propdos I'm getting this error...
No SD Card present.
SD card expected on 8,9,10.11
Just to be certain I've tested that each pin (do, clk, di and cs) are connected to the correct pins and they all are.
Does anyone have and idea why propdos won't work on the same sd card as femto?
Try remarking the code which checks the card and see if it actually sees it anyway.
I've actually seen a couple keyboards which failed the check, but worked anyway.
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with a Propeller Protoboard?
Check out: Introduction to the Proboard & Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card connected? - PropDOS
Port_Pins long %00000000_00000000_00001100_00000000
Well, pins 10 and 11 are used for the SD on my protoboard! DOH!
Just out of curiosity, what pins are you connecting your audio to?
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with a Propeller Protoboard?
Check out: Introduction to the Proboard & Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card connected? - PropDOS
I seem to be having one of those "Duh?" Days.
I'm working on my ProPPhone... and I'm having trouble with PropDos v1.7 (and 1.6)
I am using a protoboard with one of Brian's SpinStudio SD card adapters in pins 0-3.
The SD card has a BIN file on it. I can see the file and read the file using sdrw_test from "fsrw and friends"
but when I run PropDos it says that I don't have an SD card and shuts down. The pin assignments look ok to me.
Any light for this darkness?
Rich
remarking lines 171-189 (the code below) and see if the SD check is failing.
I've only seen one other time for the code to fail. It was a badly constructed
audio/video head for a ucontroller board. (To this day I'm not sure why it failed.)
If you are still getting stuck, PM me and I'll pull my "thinking cap" on a little tighter.
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Check out: Protoboard Introduction , Propeller Cookbook 1.4 & Software Index
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card connected? - PropDOS
SD:\root>_
When I type dir and ENTER, I get an empty virtual directory
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Check out: Protoboard Introduction , Propeller Cookbook 1.4 & Software Index
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card connected? - PropDOS
when i hit F4 I get an empty director with:
Directory of SD
Sd:\root>_
by the way clr doesn't work for me either
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Check out: Protoboard Introduction , Propeller Cookbook 1.4 & Software Index
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card connected? - PropDOS
This just didn't make any sense to me. So, I soldered up a new Proto board, uncommented the PropDos code, and presto-digito, I can now use PropDos!!!
So, the big problem was a little problem on my proto-board... probably just enough to give me a timing problem. Which gives me a new project... Prop testing on steroids!!!
Thanks for your very kind help... and mostly thanks for PropDos!!!
Rich
ps:
in order to get the "dir" command to work, I had to change the following line (somewhere around line 280)
if folder==0
dosdir
to
if folder<>0
dosdir
I have no idea what folder is of course[noparse]:)[/noparse]
Curious, what version are you running? 1.7 with virtual directories?
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Check out: Protoboard Introduction , Propeller Cookbook 1.4 & Software Index
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card connected? - PropDOS
if I leave the line the way it is ... it falls through to an empty virtual directory using just "dir"
This doesn't matter to me... I have everything I need[noparse]:)[/noparse]
exactly what I needed. I originally thought I was going to be using Chip's proploader and would run out of room eventually.
PropDos is fabulous.
Thanks again
"not all microSD cards support SPI mode ..This caught me out for a bit .. "
News to me[noparse]:)[/noparse]
http://forums.parallax.com/forums/default.aspx?f=15&m=332829
I'm using a uSD card with an adapter... if the issue with the Dir command isn't a software issue
then maybe this is the issue[noparse]:)[/noparse]
@Rich, you've got me intrigued by your Propphone stuff, could you update your thread a bit and
share some details about this project? {pm'd you}
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Check out: Protoboard Introduction , Propeller Cookbook 1.4 & Software Index
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card connected? - PropDOS
My PropPhone will get a bump in the next week or so... I really needed to get PropDos working. Now that I have PropDos up and running, I have some easy stuff to do and then I will post it.
Thanks for asking
Rich
My project outline:: Upon power up or reset, an LED goes solid. The user holds a button down and the program slowly cycles through a single blink, double blink, and triple blink and the user releases during one of those cycles. If the LED was in it's double-blink cycle when the button was released, the program "2.bin" is started on the prop as the active program and while running, the double blink becomes the "power on" LED status.
I also came across PROPCMD in the OBEX which is based/similar to PropDOS. Any other ideas?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Andrew Williams
WBA Consulting
WBA-TH1M Sensirion SHT11 Module
Special Olympics Polar Bear Plunge, Mar 20, 2010