Unexpected import problem RT1062 and SD card

Yeah, I am getting the same error…

Not sure what’s wrong. However, this works instead and better. You should be able to do 30 FPS at 1280x720 from the OV5640:

Replace the sensor code with this:

sensor.set_pixformat(sensor.JPEG)
sensor.set_framesize(sensor.HD)
sensor.set_quality(80)

And use this binary for the RT1062.
firmware.zip (1.3 MB)

Once this PR is merged port/mimxrt: Improve Sensor Driver. by kwagyeman · Pull Request #2102 · openmv/openmv (github.com) JPEG support will be mainlined.

I can also start on eDMA offload support afterwards for the RT1062 which should bring the performance generally up to the STM32H7 when the system is loaded at larger resolutions. This will remove the CPU load from copying image lines to the frame buffer as the image streams in.