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

dvp.c:217 !is_memory_cache((uintptr_t)addr) ASSERT failure! #132

Open
liqiwenx opened this issue Oct 27, 2021 · 1 comment
Open

dvp.c:217 !is_memory_cache((uintptr_t)addr) ASSERT failure! #132

liqiwenx opened this issue Oct 27, 2021 · 1 comment

Comments

@liqiwenx
Copy link

liqiwenx commented Oct 27, 2021

0.5.7-sdk摄像头采集中断言了下述错误:
(packages\kendryte-sdk-v0.5.7\kendryte-standalone-sdk\lib\drivers\dvp.c:217) !is_memory_cache((uintptr_t)addr)
image

这里的FIX_CACHE的功能是什么? 为什么当malloc一段内存合法地址用于dvp图像时, 这里会断言失败呢? 关掉FIX_CACHE会有什么影响吗?
image

@LuoTuoTuo
Copy link

官方的bug,这里因该是在不取反的情况下,而官方写成取反了,你在这把取反符号删除

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