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

flashing over gives CRC errors that will not go away unless entire board is power cycled, or LCD power is removed #68

Open
marcmerlin opened this issue Mar 23, 2017 · 2 comments

Comments

@marcmerlin
Copy link
Contributor

This depends on what you flash, and maybe whether the LCD is on and what's it's displaying at the time you're flashing (not positive on that).
Seems like an inductance problem.

example error:
Wrote 433536 bytes (199673 compressed) at 0x00010000 in 3.1 seconds (effective 1128.5 kbit/s)...
File md5: 0792ec26eccb61687ea28d9813277886
Flash md5: 5c6aa8fb63042f23e65f3dd6b174fa72
MD5 of 0xFF is c6525a1270c88fcc86112d95347adaf8

@rdpowers
Copy link
Contributor

I haven't been able to replicate this on 3 different boards. Needs more investigation. Is there a specific binary that is more/less problematic? I'm intrigued.

@marcmerlin
Copy link
Contributor Author

I think it was dependent on what I was running at the time on the board before flashing to it.
I ended up "fixing" this by bending the LCD power pin and connecting it to a wire and a switch.
Strangely, just doing so, seemed to have change the inductance of the circuit in a way that the flashing problem went away and I never had to flip the switch to off.
This was not a one off with my board because the previous board I had, had the same issue, and the board that was loaned to me during LCA, also had he same issue.
I however have a replacement LCD I had to buy off ebay, it's pin compatible but not the same than the broken one, and that one does not seem to have the problem (or the problem went away on its own, or for a different reason).
I think you got my IoTuz code to run, you could run that, selecte demosauce to load up the CPU and LCD, and then try to fly something else from arduino.
If that works, then I'm not sure what to say.

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

2 participants