FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [September 2015 Threads]
Hi all,
I'm using ST's CubeMX implementation on a F4 discovery board. I use ST's USB middlewares with FreeRTOS.
When I get a special OutputReport from PC side I have to answer nearly immediately (in 10-15 ms). Currently I cannot achieve this timing and it seems my high priority tasks can interrupt the USB callback. What do you think, is it possible? Because it's generated code I'm not sure but can I increase the priority of the USB interrupt (if there is any)?
Thank you,
David
10 to 15 ms is very slow, so I'm sure its possible.
Where is the USB callback function called from? If it is an interrupt then it cannot be interrupted by high priority RTOS tasks. Any non interrupt code (whether you are using an RTOS or not) can only run if no interrupts are running.
Without knowing the control flow in your application its hard to know what to suggest. How is the OutputReport communicated to you? By an interrupt, a message from another task, or some other way?
The callback which receive the data from PC is called from the OTGFSIRQHandler (it's the part of the HALPCDIRQHandler function). I think the problem is SysTickHandler's priority is higher than OTGFSIRQHandler and it's cannot be modified, but the scheduler shouldn't interrupt the OTGFSIRQHandler with any task handled by the scheduler. Am I wrong that the scheduler can interrupt the OTGFS_IRQHandler?
When you post a Facebook Story (photos or videos that disappear after 24 hours), Facebook tracks exactly who views it. Post a Story on your profile. Wait a few hours and open your Story. Click the icon in the bottom left corner.
Any service that asks for your Facebook password is a scam. Facebook will never ask for your password via a third-party tool.
Use the "Limit Past Posts" tool in your settings to instantly change all your old public posts to "Friends Only."
These platforms collect your IP address, browser type, and any personal details you input, which they then sell to third-party advertisers or scammers on the dark web. What You Can Actually See on Facebook Legitimately
Cybercriminals use these sites to force you into completing endless surveys, generating advertising revenue for themselves while delivering zero results. Legitimate Ways to See Interaction on Facebook
Apps like LinkedIn show you exactly who viewed your profile. Instagram (owned by Meta) does not. Facebook used to have a feature called "Profile Visitors" many years ago (around 2010), but it was removed. Why?
When you post a Facebook Story, the platform tracks exactly who views it. This is the only official tool that gives you a definitive list of users looking at your content. 2. Interactions and Feed Algorithm
Extensions that claim to add a "Profile Viewer" button to Facebook Full mode are usually keyloggers or cookie stealers. They read your browser history, change your Facebook settings, and may post spam on your behalf.
Enable timeline review so you can approve or reject photos and posts that other people tag you in before they appear on your profile.
If you turn on Professional Mode on your personal profile, you gain access to advanced analytics. You will see metrics like post reach, engagement, and follower growth, though individual viewer names remain anonymous. How to Protect Your Facebook Privacy
Thank you for the answer, I think I'm a bit confused with the Cortex ISR priorities :-)
What I can observe is if I use a much higher osDelay in my high priority task I can respond for the received USB message much faster. This is why I think tasks can mess up with my OTG interrupt.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.