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 & Tria 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
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • 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
BeagleBoard
  • Products
  • Dev Tools
  • Single-Board Computers
  • BeagleBoard
  • More
  • Cancel
BeagleBoard
Forum TIDL example on Beagle-Bone AI
  • Blog
  • Forum
  • Documents
  • Quiz
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join BeagleBoard to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 8 replies
  • Subscribers 106 subscribers
  • Views 1774 views
  • Users 0 members are here
  • bbai
  • tidl
Related

TIDL example on Beagle-Bone AI

prathamesh12
prathamesh12 over 5 years ago

Hello,

I was trying to run TIDL segmentation example provided in debian@beaglebone:/usr/share/ti/examples/tidl/segmentation  using ./segmentation. but it is raising following error:

 

 

debian@beaglebone:/usr/share/ti/examples/tidl/segmentation$ ./segmentation

CMEM Error: init: major version mismatch between interface and driver.

CMEM Error:     needs driver version 0x4150002, got 0x4160000

TIOCL FATAL: The cmemk kernel module is not installed. Consult the OpenCL UserGuide at http://software-dl.ti.com/mctools/esd/docs/opencl/index.html

 

My kernel version is:

4.19.94-ti-r36

 

I have updated kernel from 4.14. Is that causing problem?

How can I recompile the codes which use TIDL library?

If I try gcc main.cpp in same segmentation folder it raises

 

 

debian@beaglebone:/usr/share/ti/examples/tidl/segmentation$ gcc main.cpp

main.cpp:44:22: fatal error: executor.h: No such file or directory

#include "executor.h"

                      ^

compilation terminated.

 

Also can we use TIDL in python?

 

Thanks.

  • Sign in to reply
  • Cancel
Parents
  • marisol
    0 marisol over 5 years ago

    Hi,

     

    The switching of the Kernel is the problem.

    Get the latest 4.14 and you should be OK. Make sure all the components are the latest as well via 'sudo apt update; sudo apt upgrade -y'.

     

    Hope that helps! image

    Marisol

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • marisol
    0 marisol over 5 years ago

    Hi,

     

    The switching of the Kernel is the problem.

    Get the latest 4.14 and you should be OK. Make sure all the components are the latest as well via 'sudo apt update; sudo apt upgrade -y'.

     

    Hope that helps! image

    Marisol

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • jomoenginer
    0 jomoenginer over 5 years ago in reply to marisol

    Yeah, there is more to the upgrade than just doing the standard apt-get stuff:

     

    See:

    https://beagleboard.org/upgrade

     

    However, this process, as well as the latest release of 4.14, have issues:

    See:

    https://mail.google.com/mail/u/0/?tab=rm&ogbl#search/tidl/FMfcgxwHMZGdmCsHNZJdHgvlmfqVZjNv

    https://github.com/beagleboard/cloud9-examples/issues/28

     

    For the Spring 2020 release, see:

    https://github.com/beagleboard/Latest-Images/issues/22

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
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