Git Product home page Git Product logo

sealhat_firmware's People

Contributors

anthonykoutroulis avatar crustyauklet avatar krystine avatar

Watchers

 avatar  avatar  avatar

sealhat_firmware's Issues

GPS check for consecutive "invalid" fixes and sleep.

Implement a counter that keeps track of fixes without the "valid" flag and compare to a VALID_TIMEOUT define. If the fixes consistently not valid then the conditions are poor and the device should sleep for a while.

Also, consider logging the satellite information (quality, number) if this occurs.

Make USB load dynamically

USB should not be active when not plugged in. there should be a interrupt that triggers off of VBUS (refer to schematic for pin) and enables the USB module and associated clocks. The device should go back to the original mode once USB is unplugged.

Stack overflow Hook

This is already written for simple debugging. We should make it actually recover and log an error to FLASH.

implement new systick to enable standby sleep mode

the idle task has been re-implemented to put the processor to sleep but in IDLE. systick must be connected to a clock that goes to sleep in STANDBY mode since if we use STANDBY mode in the idle task the processor never wakes up.

function to set the time

A function is needed to set the RTC counter value and therefor the current time. Preferably from gps?
We are not usign the START driver for our timestamps but maybe they could be used here?

see: /tasks/seal_CTRL.*

NVM memory

Our processor has EEPROM NVM module in the chip we can use for persistent settings. This requires setting the proper fuse to set the EEPROM size to 256 Bytes and also drivers in Atmel start.

function to translate between real time and counter time

the RTC is a 32 bit counter tracking seconds since epoch. Our timestamps use this value, but the START calendar driver uses a struct of actual date values. Hopefully we can pull the function that does this out from the depths of START somewhere.

log task start failure and continue

currently if a task fails to start the system goes into a while(1) loop and dies. The system should instead log the failure and continue on with the remaining sensors. the only show-stopper task is the control/logging task.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.