Closed soramame21 closed 6 years ago
@soramame21 , please specify what platform you are seeing this failure on. Also please check that you are using the latest tests, please provide a git log --oneline -n1
so we can confirm your version
@BlackstoneEngineering This is a pre-release platform working with 5v not 3.3v. the ci-test-shield is modified specially. I'm using the latest version of ci-test-shield.
dfce4e2 (HEAD -> master, origin/master, origin/HEAD) Add repository structure to readme
Since the working environment is different from others, I think we may not need to make further investigation on it. I'd like to close this issue. What is your comment or suggestion?
@BlackstoneEngineering I close it now. if it's necessary to go deeper, we can reopen it.
tests-api-i2c
got failed.Log analysis
A. The log with more printf, the failed point is marked by <<
Test and Fix
I2CEeprom::write
. a 2ms delay is added before writing in a new page. the fix is quite platform dependent. on xxxM066, wait_ms(2); can pass the test, but when changed to wait_ms(1); then the test got failed. I'm not sure the 2ms wait is good enough for other platforms.B. ci-test-shield\I2CEeprom\I2CEeprom.cpp, with fixed code