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] [February 2007 Threads] AT91SAM7 and DBGU Receive InterruptPosted by saiberion on February 5, 2007 Hi,
I want to use the Debug Unit as a menu based debug shell and I have some problems with receiving characters and passing them to the corresponding task. I know that DBGU and PIT (for tick generating) are sharing the same interrupt and I can toggle a led on character receive but more interesting for me is forwarding the received character preferred with a queue. But as soon as I call a normal function (not inline as for now) the systems seems to hang up.
Now my real questions: - Why is contect saving and restoring used for the tick increment instead of isr enter and exit - and how can I do function calls from this system interrupt?
RE: AT91SAM7 and DBGU Receive InterruptPosted by saiberion on February 6, 2007 Meanwhile I have it partially running. Receiving characters work and the queue mechanism, too.
But now after porting the menu based debug code into freertos it hangs again and I found out that the last working command is a pop where I get back 0xaaaaaaaa (Top of Stack after some searching). How can I determine where a push is missed/pop is too much?
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|