element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
i.MX 8M+ Edge AI Kit Issues with Avnet i.MX 8M Plus Kit
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 1 reply
  • Subscribers 333 subscribers
  • Views 691 views
  • Users 0 members are here
Related

Issues with Avnet i.MX 8M Plus Kit

mostapha.barizoui
mostapha.barizoui over 2 years ago

Hello Team,

 

I hope this message finds you well.

 

I'm writing to you concerning some technical issues I've been experiencing with my AP1302 camera driver and a GStreamer pipeline on my i.MX8M Plus system.

 

Firstly, upon testing the camera, I noticed an error in the dmesg logs that indicated a failure to read a register from the AP1302 during initialization. I've ensured that the correct device tree overlay is being used and that the hardware connections are properly set up, but the issue persists.

I have carefully verified that the correct overlays (overlay-cam1-ap1302-ar1335-dual.dtbo) are being used for the camera setup.

 

The relevant error message from the logs is as follows:

 image

I have attempted to debug this issue, notably by checking the I2C bus using the i2cdetect command. The AP1302's address (0x3c) is not present on any of the I2C buses, which might indicate a communication problem with the camera.

 

Secondly, I have been trying to run a GStreamer pipeline that uses a TensorFlow Lite model for inference on the camera images (gstnninferencedemo-posenet-camera). The pipeline fails to run properly, and the error messages seem to suggest issues with memory allocation and data format negotiation between the pipeline elements. Here's an excerpt from the error message:

 

ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed to allocate required memory.

 

Additional debug info:

../git/sys/v4l2/gstv4l2src.c(659): gst_v4l2src_decide_allocation (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:

Buffer pool activation failed

 

While I've been trying to debug these issues separately, it's possible that they might be related. For example, if the AP1302 driver issue is preventing the system from correctly obtaining camera images, it could potentially be the cause of the issues with the GStreamer pipeline as well.

 

I would appreciate your assistance in resolving these issues. Please let me know if you need any further information, or if there are any specific steps you recommend me to take in debugging these problems.

 

Best regards,

Mostapha BARZIZOUI - FAE AVNET Silica ( FR & BE)

ERROR - Avnet i.MX 8M Plus Edge AI Kit.txt

  • Sign in to reply
  • Cancel

Top Replies

  • zebular13
    zebular13 over 1 year ago +1
    I replied via email when you originally asked this, so I am replying here as well so that others who have the same question can benefit. It sounds like these issues could be caused by either: Ribbon…
Parents
  • zebular13
    0 zebular13 over 1 year ago

    I replied via email when you originally asked this, so I am replying here as well so that others who have the same question can benefit.

    It sounds like these issues could be caused by either:

    1. Ribbon cable issues
    2. Bad AP1302

    Does the D1 LED on the camera adapter board light up when the kit is connected to power?

    If not, it’s likely the ribbon cable is at fault.

    If it does, but the AP1302 is still not responding, probe the voltage supplies (I can send a schematic if needed).

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • zebular13
    0 zebular13 over 1 year ago

    I replied via email when you originally asked this, so I am replying here as well so that others who have the same question can benefit.

    It sounds like these issues could be caused by either:

    1. Ribbon cable issues
    2. Bad AP1302

    Does the D1 LED on the camera adapter board light up when the kit is connected to power?

    If not, it’s likely the ribbon cable is at fault.

    If it does, but the AP1302 is still not responding, probe the voltage supplies (I can send a schematic if needed).

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube