Skip to content
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

SPI Class limitation in Simblee #38

Open
biomurph opened this issue Dec 5, 2016 · 3 comments
Open

SPI Class limitation in Simblee #38

biomurph opened this issue Dec 5, 2016 · 3 comments

Comments

@biomurph
Copy link

biomurph commented Dec 5, 2016

When compiling for Simblee, there is an error in SerialFlashChip.cpp line 161:

SPIPORT.transfer(p, rdlen);

Simblee SPI Class does not have a transfer function that receives a buffer. I did this

for(int i=0; i<rdlen; i++){
	SPIPORT.transfer(p[i]);	//(p, rdlen);
}
@nkings10
Copy link

nkings10 commented Apr 4, 2018

Same issues with the Espressif 32 (ESP32). You quick fix lets me compile, still yet to check the library functions. Thanks @biomurph

@rfestag
Copy link

rfestag commented Mar 5, 2019

@nkings10 - Does this work for you with the above fix? I am having issues using this library with ESP32. The above issue appears to no longer exist (it compiles out of the box), but successive reads/writes don't appear to work.

Specifically, during the check_signature() call, if the chip was recently flashed, it will attempt to write the magic number at the beginning, and then immediately read it back. This process fails (the data read back does not match what should have been written). I suspect it an issue in the bowels of arduino-esp32, but I'm not sure where or how to debug it.

@nkings10
Copy link

nkings10 commented Mar 5, 2019

@rfestag I ended up dropping the project i was using this library for. So i never got further with it.

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