Auto deleting datalogger?!?!?
Van Dessel
Posts: 15
'm not sure really where to post this post, already tried the sandbox with no luck and I guess my project is related to the propeller and i already got loads of help from here, so....
·What i basicly want to do is log gps data and temperature onto a flash drive via Parallax's datalogger. I already got the gps part working, the temperature part working, and I had the datalogging part working. Up to a few days ago i could write information to a .txt file however after the prop and logger synced and once i try to open that file the data logger's red led just blinks repeatdly. My program is still running just nothing is being written to the file. I tried different files that i'm writting too, different flash drives, all with the same result.
·One thing that i'm noticing though is that when I use chkdsk I'm missing some file that i need to recover. I suspect my data logger is deleting something however I have no idea how to fix it.
Thanks in Advance!
·What i basicly want to do is log gps data and temperature onto a flash drive via Parallax's datalogger. I already got the gps part working, the temperature part working, and I had the datalogging part working. Up to a few days ago i could write information to a .txt file however after the prop and logger synced and once i try to open that file the data logger's red led just blinks repeatdly. My program is still running just nothing is being written to the file. I tried different files that i'm writting too, different flash drives, all with the same result.
·One thing that i'm noticing though is that when I use chkdsk I'm missing some file that i need to recover. I suspect my data logger is deleting something however I have no idea how to fix it.
Thanks in Advance!
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Powered by enthusiasm
thanks for the object. It seems to work sometimes and other times the led is blinking too [noparse]:([/noparse]. I've never dealt with PASM but i'll give it a go. Any pointers on how to use?
like a space probe.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
VIRAND, If you spent as much time SPINNING as you do Trolling the Forums,
you'd have tons of awesome code to post! (Note to self)
1. Is the Propeller running at 80MHz?
2. Do you have the right connections to the datalogger? It's described in Autodatalogger.spin, and you'll need four resistors and a couple of wires.
3. Are you using all the right pins?
4. Is the mode jumper (UART/SPI) on the datalogger in the correct place?
It might help if you post the code that you're using (or clarify: are you running the demo code straight?), and perhaps a picture.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Powered by enthusiasm
1. the propeller is running at 80Mhz
2. Does the Cts pin of the datalogger need to be connected to the prop? Usually i connect it directly to ground through a 1k resistor as well as the RTS pin. With that configuration i could write to it too.
3. I know i'm using the right pins since I had it working through another object (http://obex.parallax.com/objects/368/)
4. Jumper mode is correct.
I'll try again to see whether i'll have some better luck with it next time with your object.
code that I was using (with the other object) until it failed
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Powered by enthusiasm
seems like it was the cts pin on the mcu not on the datalogger that needed to be connected. THANK YOU!!!!!!