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
    About the element14 Community
  • 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
Embedded and Microcontrollers
  • Technologies
  • More
Embedded and Microcontrollers
Embedded Forum Have a question about Micrium's embedded software? Ask our Expert, Matt Gordon
  • Blog
  • Forum
  • Documents
  • Quiz
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Embedded and Microcontrollers to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 35 replies
  • Subscribers 480 subscribers
  • Views 4041 views
  • Users 0 members are here
  • applications
  • device
  • embedded
  • kernel
  • micrium
Related

Have a question about Micrium's embedded software? Ask our Expert, Matt Gordon

Former Member
Former Member over 14 years ago

This thread has been closed to new questions.

However, we welcome you to Post Your Question about Embedded in the element14 Community Embedded group. You'll find many fellow members and experts who have just the answer you're looking to find! 

 

Thank You, Your Friends at element14 Community

image

 

Matt Gordon

Matt Gordon is a senior applications engineer at Micrium.  He began his career developing device drivers, kernel ports, and example applications for Micrium's customers.  Drawing on this experience, Matt has written multiple articles on embedded software.  He also heads Micrium's training program and regularly teaches classes on real-time kernels and other embedded software components.  Matt holds a bachelor's degree in computer engineering from Georgia Tech, Georgia in the USA.


  • Sign in to reply
  • Cancel
  • Former Member
    Former Member over 14 years ago

    Dear Matt, I have a hardware platform based in the ATMEGA 2560 16AU. I wonder if the micrium uC_OS can be ported for that micro?

    Regards

    Cristian Barros

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 14 years ago in reply to Former Member

    Cristian,

     

    Yes, Micrium's engineers have already ported uC/OS-II to the ATmega2560.  You can download an example project that incorporates their port files (along with the full source code of the kernel) from the knode: http://www.element14.com/community/docs/DOC-37677/l/project--μcos-ii-and-μcos-view-for-atmel-avr-atmega2560.

     

    Regards,

     

    Matt

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 14 years ago in reply to Former Member

    Hi Matt,

    Does uC/OS-III support co-operative multitasking i.e. a task can run without interruption until it suspends itself?

    Regards,

    Peter.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 14 years ago in reply to Former Member

    Peter,

     

    uC/OS-III is a preemptive kernel, so the possibility generally exists that one task might interrupt another.  However, application code ultimately decides whether or not preemption takes place.  If an application's ISRs never invoke kernel functions to ready tasks, then those ISRs will not result in preemption.  Likewise, if the kernel's own ISR, the tick interrupt handler, does not ready any tasks (which should happen if application code avoids using the kernel's time-delay and time-out services), then it will not cause tasks to preempt each other.  Cooperative behavior, then, can be brought about with uC/OS-III, but is not typical of applications that incorporate the kernel.  

     

    Regards,

     

    Matt

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 14 years ago

    Hello,
    I've found the following product from Micrium: BKX-TCPX-STF107-P-P1, but the description is very short.
    I would like to make sure it contains Micrium TCP/IP stack (=software licence) and not only the book about uC/TCP-IP?
    If yes - does it also include Micrium add-on to uC/TCP-IP called SNMP?
    As per Micrium web page to use TCP/IP I also need Micrium uC/OS. Is it included in this product?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 14 years ago

    Hi Matt,

    I posted this on Paul Clarke (embedded systems) page but never heard back so I don't think he is active any longer or the question doesn't fall in his area.  I am wondering if this is more of an embedded software question so I am hoping you can help or at least direct me to the right forum if my question is outside your area.

    --------------------------------------------

    I have a device that appends data   to a csv file on a compactflash card every 60 seconda.  Since I have no  way of changing the device that is doing the logging, I am looking for   a way to either have the data wirelessly pushed by the cf card like   eye-fi does for sd or be able to mount the card wirelessly to read the   csv file.  I was thinking that using cf to sd adapter with eye-fi might   work or possibly use an arduino module to read and transmit the data.   If I were to use an eye-fi card it seems I would have to overwrite their OS on the card with my own but I have no idea where to start with that. Am I on the right track or is there a better way to solve this?

     

    TIA,

    John

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 14 years ago in reply to Former Member

    John,

    From what I see, having the radio transmitter plug into the compact flash socket and transmit to a remote memory is kind of unique to eye-fi and a few others like Cisco / Linksys.   Wireless CompactFlash Card Adapter   data_sheet

     

    You might have better luck if you can insert a wireless link before the compact flash socket.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 14 years ago

    Hi Matt, I am a newbie to RTOS and i have started with uCOS III.

     

     

              OSSemCreate(&MySem,                                                                                 // Creating Semaphore

                           "SerialPortSemaphore",

                                                                1,

                                                                &err);

     

    I want to make my semaphore to enable the UART, but i dont know how. I have made another function that enables the UART and this function is called from the switch statement just after the OSSemPend(...).

    Please help me with this, or just show me an example to create and use a semaphore.

     

    Best Regards.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 14 years ago in reply to Former Member

    Typically, the purpose of a semaphore used with a UART is to signal the reception of data.  The semaphore post takes place in the UART's receive ISR, and the pend occurs in the code responsible for processing the data.  This setup is illustrated in the below example.  (I've omitted the semaphore creation code from this example, since it would simply involve the function call named above.)

     

    void  UART_ISR (void)

    {

        /* Clear interrupt flag */

        OSSemPost (&AppSemUART, OS_OPT_POST_1, &err);

    }

     

    void  UART_Task (void *p_arg)

    {

        while (1) {

            OSSemPend(&AppSemUART, OS_CFG_TICK_RATE_HZ, OS_OPT_PEND_BLOCKING, 0, &err);

            /* Read from buffer and process data */

        }

    }

     

    Regards,

     

    Matt

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 14 years ago in reply to Former Member

    Not sure if this will help.  AN-1002 Mutual Exclusion Semaphores

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