I'm trying to debug an error on Teensy 4.1 and I'm getting the 9 flash sequence from the red LED. Any hints on how I should start debugging? The code base is currently pretty huge, if I'm able to get it simplified down,...
Yeah, I would use SPI to communicate with that IMU. I typically use a large circular buffer to buffer the data and then write it to SD in 512 byte chunks. I tend to use the IMU data ready interrupt to trigger data...
Hi you may want to check out my uBlox lib:
https://github.com/bolderflight/ublox
It's lighter weight than SparkFun; although, you do need to config the receiver yourself on u-center.
Having no SD seems to make this project a non-starter. Assuming that you compress your IMU data to 2 bytes per channel (i.e. 16 bits to store each axis of accel data instead of a 32 bit float) and 2 bytes for each...
Thanks Mike! Didn't notice that there was a local array that was so large. Seems like in summary, the PROGMEM was working, we just had a local array overrunning the available memory.
The float version I made also got...
I tried aligning the array with the following and no improvement. Mike, I need to think about it some, but your solution using floats is probably the best - I think EGM96 doesn't need doubles.
...
Correct, initialized and not expected to change; just a massive array. DMAMEM overflowed. I'm getting a "no match for call to '(CrashReportClass)". I'll have to look more into how using CrashReport works.
Hi all -
I'm seeing if I can implement an EGM96 geoid model on Teensy 4.x. Specifically, I'm implementing this library:
https://github.com/emericg/EGM96
I renamed the EGM96.c file to a .cpp file and moved the...