Skip to content

LR1110: how to erase almanac data #89

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
tve opened this issue Sep 11, 2024 · 2 comments
Closed

LR1110: how to erase almanac data #89

tve opened this issue Sep 11, 2024 · 2 comments

Comments

@tve
Copy link

tve commented Sep 11, 2024

I'd like to perform a number of tests around GNSS cold-start and I wonder how I can erase the almanac data in an LR1110 (firmware v4.1). Alternatively, is there an old almanac I can load? Or perhaps a way to construct an empty almanac?

To be clear: I'm updating the almanac from satellite demodulation and want to repeatedly test the various states from cold start (no almanac) to having acquired a full almanac.

@mcoracin
Copy link

Hello,
In order to flash a particular almanac, you can use the following tool provided with this project:
https://github.com/Lora-net/SWL2001/tree/master/lbm_applications/3_geolocation_on_lora_edge/main_full_almanac_update

The readme indicates how to get an almanac image from loracloud.com and compile the tool with it to flash it.

It is indicated how to flash the most recent almanac image, but you can add the -g option to the get_full_almanac.py script with a GPS time to get an older almanac image.

It is also possible to reprogram the complete lr1110 firmware image (this will reset the almanac too) with the LR11xx updater tool:
https://github.com/Lora-net/SWTL001

Best regards

@tve
Copy link
Author

tve commented Sep 16, 2024

Thanks! I will try that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants