Quality RTOS & Embedded Software

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


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 ]    [ Privacy ]    [ Sitemap ]    [ ]


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

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Meet Richard Barry and learn about running FreeRTOS on RISC-V at FOSDEM 2019

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


Careers

FreeRTOS and other embedded software careers at AWS.



FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Renesas

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

Xilinx Microblaze and Zynq partner