Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7032869
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T00:59:24+00:00 2026-05-28T00:59:24+00:00

I want to develop a program for MCB1700 evaluation board. Client software of PC

  • 0

I want to develop a program for MCB1700 evaluation board.
Client software of PC reads a picture from HDD.
Then it sends the picture to MCB1700 evaluation board through socket (Ethernet).
Server of MCB1700 receives pictures from PC through Socket-connection and displays it on LCD.

Also server must perform such tasks:

  • To save picture to USB-stick;
  • To read picture from USB-stick and send it to client through socket;
  • To send and receive information through CAN
  • COM-logging.
  • etc.

Socket connection can be implemented with help of CMSIS and RL-ARM libraries.

But, as far as I understood, in both cases sofrware has to listen for incoming TCP-connection and handle network’s events in an endless loop – All examples of Keil are based on such principle.

I always thought, that it is a poor way for embedded programming to use endless loops.
Moreover, I read such interesting statement

“it is certainly possible to create real-time programs without an RTOS
(by executing one or more tasks in a loop)”

  • http://www.keil.com/support/man/docs/rlarm/rlarm_ar_artxarm.htm
    So, as I understood, it is normal practice to execute a lot of tasks in loop?

    while (1) {
    task1();
    task2();
    …
    taskN();
    }

I think that it is better to handle all events by interrupts.

Is it possible to use socket conection of CMSIS and RL-ARM libraries and organize all my software by handling of interrupts?
My server (on MCB1700) has to perform a lot of tasks. I guess, I should use RTOS RTX in my software. Isn’t it so? Is it better to implement my software without RTX?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T00:59:25+00:00Added an answer on May 28, 2026 at 12:59 am

    Simple real-time systems often operate in a “big-loop” architecture, with some time critical events handled by interrupts. It is not a “bad” architecture, bit it is somewhat inflexible, scales poorly, and any change may affect the timing of and or all parts of the system.

    It is not true that RL-TCPnet must work this way, but it is designed to run stand alone, and the examples work that way so that there are no dependencies on other libraries for the widest applicability. They are only examples and are intended to demonstrate RL-TCPnet and nothing else. In that sense the examples are not realistic and should be adapted to your requirements.

    You might devise a system where all your application code runs in interrupt handlers and the network stack is services in an endless-loop in the thread context, but architecturally that is probably far worse than the “big-loop” architecture, since you may end up with very long interrupt handlers, with the higher priority ones starving and affecting the real-time response of lower priority ones. You end up with a system that is difficult to schedule satisfactorily. Moreover not all library routines are suitable for execution in an interrupt handler, so it would be rather restrictive.

    It is possible to service the network stack in a low priority thread in an RTOS. The framework for such operation is described in the documentation in the section: Using RL-TCPnet with RTX kernel.. This will require you to understand and use the RL-RTX kernel library, but given your reservations about “big loop” code, and the description of tasks your system must perform, it sounds like that is what you want to do in any case. If you choose to use a different RTOS, then RL-TCPnet can work in a similar way with any RTOS.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i want to develop a pretty basic client-server program. one software reads xml (or
I want to develop simple Serverless LAN Chat program just for fun. How can
I want to develop a program using VB.Net 2010, and I want to use
i want to develop a program that will process images and show all esxisting
I want to develop a program that copies a partition's 'data' only, to another
I want to develop windows C/C++ program, but i need in it functionality like
I want to develop a windows application that will monitor whether a program has
I want to develop a program which recolors the input image based on the
I want to develop a program that can hide a folder. Not a hidden
I'm using Windows 7 and now I want to develop a program with WMI.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.