Skip to content

TEST: Porting to STM32F779 #12

@MASTERTECH-AndreaRuberti

Description

Hi iliasam,
just now thanks for your project...
during my porting I meet some diffilculty, but still now I can't understard what is exactly the problem... maybe you can easly found the mistake.

##My Configuration:##
HW:

  • Custom board with STM32F779;
  • External RAM;
  • LCD connected by LTCD->DSI->LVDS_converter;
  • USB CAM Logitech V-U0013 (should be the same you use for your tests);
    SW:
  • ARM-GCC compiler;
  • makefile;

##Project changes##

  • Adapt pinout to my board;
  • Add DSI + LVDS converter startup;
  • ADD F7 HAL (release 1.17.0 - last one);
  • Patch "usb_host.c" generated by CubeMX with changes in your sources;
  • Patch "stm32f4xx_ll_usb.c" by Lib with changes in your sources;
  • NO Patch "stm32f4xx_hal_hcd" in Lib: (hhcd->hc[ch_num].ep_type == EP_TYPE_ISOC)) fix already present in the HAL version!

##ISSUES:##

  • I need to change
    usbh_video.c = if ((ep_size > ep_size_in) && (ep_size < UVC_RX_FIFO_SIZE_LIMIT)) -> if ((ep_size > ep_size_in) && (ep_size <= UVC_RX_FIFO_SIZE_LIMIT)) : "ep_size" for my CAM is always 1024!!!
    (Have_ you ever notice this _problem???)
  • The uvc_prev_packet_eof never goes to 1: condition if (tmp_packet_framebuffer[UVC_HEADER_BIT_FIELD_POS] & UVC_HEADER_EOF_BIT) never happend.

Many thanks again for your project.
Andrea

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions