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
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet & Tria Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Avnet Boards General Transfer data of mass storage device to ip network
  • 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 2 replies
  • Subscribers 353 subscribers
  • Views 319 views
  • Users 0 members are here
Related

Transfer data of mass storage device to ip network

Former Member
Former Member over 10 years ago

1. We have used the usb mass storage example given in the Reference Design of the Zedboard, and  Zedboard has been succesfully emulated as a  usb mass storage device .

2. Used the Lwip application example from the same source and by using socket programming sent the  udp data to the network.

3. Now our main motive is to combine both the above examples and transfer the data received in the mass storage device to the network.

4. Both examples use freeRtos. And for the simultaneous use of both the examples we have used separate task for both examples.

5. When we run both the task. One task blocks the Other one. As usb is an interrupt based task.

  • Sign in to reply
  • Cancel
  • Former Member
    0 Former Member over 10 years ago

    Pamela,

      Pre-emptable real time OSes are set up to allow tasks assigned a higher priority to be able to suspend lower priority tasks and take control of the processor (when running on a single CPU).  If a higher priority task gets blocked by a lower priority task, it is generally because the lower priority task has control of a resource required by the other, resulting in situation called priority inversion.   From the description you provide I'm not sure if this is the case or not, but you need to identify exactly what mechanism is causing one task to block another (other than the normal priority values) and then take steps to eliminate the problem.

    In rare cases it may be necessary to split the tasks across two CPUs in an AMP configuration, but in general there is usually some way to restructure the code to eliminate the block.

    Ron

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago

    It is given in the below link that it is impossible to run a Non-interrupt task when an interrupt is executing.

    http://www.freertos.org/FreeRTOS_Support_Forum_Archive/September_2015/freertos_FreeRTOS_tasks_can_interrupt_USB_stack_implementation_23d7b809j.html

    So we thought as per the suggestion to run both the task under different processors.

    Also example of XAPP1078 given under reference design of Zedboard has been used in which two processors are used to run linux and baremetal system.

    But in my application i have to run baremetal on one processor and freertos on another, so is there any way to share data between the two.

    • 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 © 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