-
Notifications
You must be signed in to change notification settings - Fork 238
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
OpenCR 1.0 firmware upload is failed because of flash erase timeout #311
Comments
Hi @chjej202 Thank you for reporting the issue. |
The timeout is happened when the binary file is very large. Because of this issue, I cannot fully use all the flash memory provided by OpenCR 1.0 (768KB) unless the timeout value is not changed. Our binary file includes lots of memory-burden examples. It includes arduino tensorflow lite for person detection, jpeg decoder, arduino cam, and code for accessing sensors and motors. |
Thanks for the details and how interesting that you are running the tensorflow on OpenCR! Quite long ago, I uploaded the OV7725 + TFT OpenCR example, but wasn't able to expand to the proper image processing or machine learning. If your project can be disclosed to the public via OpenCR eManual, it'd be an amazing OpenCR tensorflow example. |
I uploaded my code related to use Arduino tensorflow lite on OpenCR 1.0. I only changed and tested a person detection example only, but I think you can easily modify and run other examples also. Modified code to run ArduCAM library on OpenCR 1.0 board: https://github.com/chjej202/Arduino Arduino tensorflow lite code was modified based on the code uploaded in https://www.arduino.cc/reference/en/libraries/arduino_tensorflowlite |
@chjej202 |
Hello,
I got an error during uploading my firmware on OpenCR 1.0 board.
The error message is shown in the following screenshot.
I noticed that the error is happened during flash erase, and I found that the timeout is happened because flash erase time took more than 3 seconds.
OpenCR/arduino/opencr_develop/opencr_ld/opencr_ld.c
Line 725 in c37bc73
For this reason, I changed the above code from 3000 to 5000 to increase the timeout value.
After I build and replace opencr_ld command, it works fine for me.
I think 3 seconds is too short to upload large firmware, so please increase the timeout value.
The text was updated successfully, but these errors were encountered: