Erik Slagter
Erik Slagter
Or the clock is limited internally! Are you sure it really runs at the full 64 Mhz? With limited voltage (e.g. 3.3V) it can't even run on 20 Mhz...
Have a look here https://github.com/eriksl/attiny861_1 ;-) The Makefile isn't supposed to be in the library ;-)
Sorry for reacting just now. What version of the image are you using and what version of esp-open-sdk?
https://github.com/eriksl/secollect.git if you're interested
Test again with larger stack.
> Test again with larger stack. Or if not possible, make variables > sizeof(int) static (so they're not on the stack).
Using static type buffers for your I2C API calls can be interesting to try, regardless of the stack size. I have had a similar issue with the SPI API and...
Don't you have call backtrace? I often get to the cause of the trouble quite quickly following the backtrace. Dereferencing a null pointer normally leads to a "Guru Meditation" with...
Is that a problem, to do a complete fresh build? My point is that the backtrace doesn't only show the function, but also the line in the source where null...
> And bum, just after that I have that pointer in i2c_ll_read_rxfifo equal to 0. Or is what what you mean by this? I was assuming i2c_ll_read_rxfifo was an integer...