kendryte / kendryte-standalone-demo

Demo of kendryte k210 standalone SDK
https://github.com/kendryte/kendryte-standalone-sdk
229 stars 97 forks source link

ov2640 dosen't work on kd233 with lastest sdk and toolchain #31

Closed topelinux closed 5 years ago

topelinux commented 5 years ago

Make sure you read and understand this document. Use one of the two templates below and delete the rest.


BUG REPORT

Expected behavior

Camera ov2640 could work

Actual behavior

From the screen image, it doesn't work

Test code

enable ov2640 by with following patch

+++ b/dvp_ov/board_config.h @@ -1,8 +1,8 @@

ifndef _BOARDCONFIG

define _BOARDCONFIG

-#define OV5640 1 -#define OV2640 0 +#define OV5640 0^M +#define OV2640 1^M

Provide a Minimal, Complete, and Verifiable example which will reproduce the problem.

+++ b/dvp_ov/board_config.h
@@ -1,8 +1,8 @@
#ifndef BOARD_CONFIG
#define BOARD_CONFIG

-#define OV5640 1
-#define OV2640 0
+#define OV5640 0^M
+#define OV2640 1^M

Document version

Which branch are you on? If you know the Git revision then add it here as well. sdk: https://github.com/kendryte/kendryte-standalone-sdk branch: develop

dvp_op: https://github.com/kendryte/kendryte-standalone-demo branch: develop

Hardware

Which hardware do you use? kd233

System

What system do you use?


FEATURE REQUEST

Missing feature

Justification

Tell us why you would like to see this feature added.

Workarounds

Are there any workarounds you currently have in place because the feature is missing?

topelinux commented 5 years ago

After change the HW(ov2640), the issue is gone.