hi hristijan,
sure it's possible. you need to disable the dock's control of the path
to the sd card. if you look in justfatlogging, you'll see a number of
places where this is done manually to temporarily prevent the app's file
i/o being interrupted by a dock event.
in short, the dock_n pin is an input to the msp430, and the dock pulls
it low (clears or makes it 0); when undocked, this pin is high. in
order to override this, you'll have to make the pin an output and drive
it high. don't forget to restore its default configuration, else the
shimmer won't know about docking events.
that should do it,
steve
On 03/01/2012 02:46 PM, Hristijan Gjoreski wrote:
Hi,
I have problem with accessing the SD card while the Shimmer is charging.
This is the scenario (I am using JustFAT logging as basic application):
Shimmer is logging data and after it is docked (on a charger) the
logging is stopped.
Then I would like to send the logged file through Bluetooth.
I have all the functionallity of the application (Logging, Bluetooth)
except that I don't have access to the SD card when the dock event is
triggered.
Is this possible?
If Yes, what are the commands that can give me access to the card when
the dock event is triggered?
Thanks,
Hristijan
_______________________________________________
Shimmer-users mailing list
[email protected]
https://lists.eecs.harvard.edu/mailman/listinfo/shimmer-users
_______________________________________________
Shimmer-users mailing list
[email protected]
https://lists.eecs.harvard.edu/mailman/listinfo/shimmer-users