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

ERROR: EEPROM verify failed #55

Open
k6lcm opened this issue Jul 8, 2024 · 2 comments
Open

ERROR: EEPROM verify failed #55

k6lcm opened this issue Jul 8, 2024 · 2 comments

Comments

@k6lcm
Copy link

k6lcm commented Jul 8, 2024

I am getting the following in the terminal when attempting to flash a P8X32A-D40.

proploader.mac -k -D baud-rate=115200 -p /dev/cu.usbserial-P97z9aa5 "~/pixelmusic3000e.binary" -e
Opening file '~/pixelmusic3000e.binary'
Stepping down to 460800 baud
Stepping down to 230400 baud
Stepping down to 115200 baud
Using single-stage download
Downloading file to port /dev/cu.usbserial-P97z9aa5
12156 bytes sent                  
Verifying RAM
Programming EEPROM
Verifying EEPROM
ERROR: EEPROM verify failed
ERROR: Download failed
Press return to continue...

@PropGit
Copy link
Contributor

PropGit commented Jul 9, 2024 via email

@Foxbud
Copy link

Foxbud commented Nov 30, 2024

I'm getting the same issue with both the baud rate stepping down until it reaches 115200 and the EEPROM verification failure. Curiously, it still appears to have flashed the EEPROM correctly, as when I restart the P1 without a PC connection, it successfully reads and begins executing the image from the EEPROM.

For context, I'm using proploader V1.0-37 on Linux and the P8X32A-D40 in a custom breadboard setup with a 20MHz crystal oscillator (no PLL multiplication). For the EEPROM, I'm using a Microchip 24FC512-I/P PDIP. I attempted to wire it up exactly as specified by Page 17 of the P1 manual V1.2. However, that didn't work at all, and I then noticed that I had wired SCL and SDA backwards. I then rewired them to be correct (including the 10k pull-up), and that's when I started to get the same error as @k6lcm.

Since I thought there was a chance I could've damaged the EEPROM (since SDA is open-drain), I then tried using a brand new EEPROM (same make and model as the first). This resulted in the same error. Perhaps I damaged the P1's I2C pins? Sadly, I don't have another to test.

Let me know if there are any other details I could provide to help out.

EDIT: After some more testing, it looks like simply including -r in the flags passed to proploader causes the EEPROM to get successfully verified in my case.

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