We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi All,
I've completed a nice data logger project including USB, SD/MMC support, GPS and other SPI devices using sequential programming.
I'm now looking for best practice on how the functionality I've created could be better structured and that leads me towards structuring the functions into a State Machine or use an RTOS to go the threading route.
I've done some research on RTOS but it would be good to hear from practitioners. Any experiences or links to resources regarding correct use of RTOS would be greatly appreciated.
Thanks,
Robert.
Hi all,
Thanks for the insight.
My current target is a 32-bit ARM device (LPC2148). The project started 2 years ago and the LPC had the right mix of speed, flash and perpherials for my project.
The projects grown from a simple gps logger to a fully featured device with many more interfaces and higher level requirements. I had the gps logging to an SPI flash but recently added a SD card which greatly complicated matters and got me into all sorts of exception handling problems which prompted me to re-evaluate. I'm investigating adding a webserver and an rf module which will further complicate the flow so now is the right time to consider a better structure.
Robert