移植工程运行不正常
yiwp9 opened this issue · 4 comments
你好,
你的工程在我的开发板上能够正常运行,然后我根据你的文件自己创建的时候, usb 摄像头则一直无法工作。
以下 10 个文件是直接从你工程里复制出来的
main.c
usbh_host.c
usbh_config.c
usbh_core.c
usbh_ctlreq.c
usbh_ioreq.c
usbh_pipes.c
usbh_video.c
usbh_video_desc_parsing.c
usbh_video_stream_parsing.c
我是使用 STM32CUBEMX 自动创建的工程。
请问是不是还有哪里需要修改的呀,谢谢
Hello.
Please translate your messages to English before posting them.
Sorry, but your description of the problem is poor.
Do you have any display connected to your MCU?
Do you have any debug messages?
Hello.
Please translate your messages to English before posting them.
Sorry, but your description of the problem is poor.
Do you have any display connected to your MCU?
Do you have any debug messages?
thank you for replay,
I bought a stlink, but I haven't received it yet.
i have a TFTLCD to display debug messages,
and I found that I could not into the function : USBH_VIDEO_Process( ),
then I add HAL_Delay(1); to function USB_HOST_fast_class_cal( ) , I could not into this function too.
I am very confused. I will continue debugging when my STLINK arrives。
Hello.
Please translate your messages to English before posting them.
Sorry, but your description of the problem is poor.
Do you have any display connected to your MCU?
Do you have any debug messages?thank you for replay,
I bought a stlink, but I haven't received it yet.i have a TFTLCD to display debug messages,
and I found that I could not into the function : USBH_VIDEO_Process( ),
then I add HAL_Delay(1); to function USB_HOST_fast_class_cal( ) , I could not into this function too.I am very confused. I will continue debugging when my STLINK arrives。
Hello.
I have resolve the problem, here are the reasons:
1、the version of HAL_Library should be V1.14.0
2、the code optimization should be Low or None
Then i suffer a new problem,
I use the IAR debugger, and get a picture file, but the file Is not correct。
Can you give me some advice,Thank you。
You have said that my original project is working OK at your board, is it right?
Do you get correct image in a file when you are using my original code?