Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT




Loading

Debugger stuck

Posted by child4 on September 23, 2010
Hi,
I try to run the PC demo of FREERtos ver 6.0.5 with Open Watcom debugger.
I put break points on vTaskSuspend( NULL ); function call in prvHighPriorityMutexTask task.
press 'go' and then 'step over' and get an error message of illegal instruction. Then, the debugger is stuck.

I have to note that I encountered this problem with that debugger using break points in other places and depending on the time I step over a command, so maybe the problem is with the debugger?

Any help will be appreciated

Thanks.

RE: Debugger stuck

Posted by Richard on September 23, 2010
The Open Watcom debugger allows interrupts to execute when you single step an instruction - even when you are in a critical section. This can cause crashes. Could that possible be the cause of your problem?

Regards.

RE: Debugger stuck

Posted by child4 on September 23, 2010
Thank you for your quick response.

Does it mean that a context switch occur while I debug?
If so, how can I use the debugger ?


RE: Debugger stuck

Posted by child4 on September 23, 2010
Except from the clock tick interrupt, what other interrupts can be used in the PC demo exec?
(I closed the com test).


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS