Quality RTOS & Embedded Software

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


Loading

FreeRTOS LPC2148 won`t debug

Posted by Thomas Brunner on January 10, 2010
Hi,

I have tried the last few days to get FreeRTOS with the Yagarto Toolchain to run and have failed. I`ve tried to change the LPC2368 Example in the FreeRTOS directory but with no success.
So I have taken a LPC2148 project which compiles and debugs wonderfull and tried to add FreeRTOS.
But, if I add the FreeRTOS c and object files (tasks.c, port.c, heap_1.c, portISR.c, list.c) the whole thing compiles but no longer debugs. It starts to download and at 27% it stops after the "continue" message for a minute and then exits with this error message:

Breakpoint 1, main () at src/main.c:98
98initialize();
Current language: auto; currently c
mi_cmd_disassemble: Invalid filename.
kill

At the moment I have absolut no Idea what i made wrong. If i comment the FreeRTOS lines in the makefile the whole thing works again.
Thanks in advance,
TOM

RE: FreeRTOS LPC2148 won`t debug

Posted by Richard on January 10, 2010
Take a look at Take a look at

http://www.jcwren.com/arm/

which has some comprehensive projects that build and run on LPC2148's.

Regards.

RE: FreeRTOS LPC2148 won`t debug

Posted by Thomas Brunner on January 17, 2010
Okay,
I have tried again the JCWRENs Port of the FreeRTOS and this time, I was able to get the thing to run ;-)
But, I have another DEBUG Problem.
I can`t stop the thing if i started it once, which is quite a very useless Debuging Session.
It stops once, in the main.c at the first statement and if i say GO, I can`t stop it again (OpenOCD says "Warn: target not halted").
If wasn`t able to find anything usefull on the internet that solves my problem, so please give me at least a hint what I am doing wrong.
My Configuration for arm-elf-gdb in Eclipse is nearly the same as in the Yagarto Tutorial:
target remote localhost:3333
monitor reset init
monitor sleep 500
monitor mww 0xE01FC040 0x0001
monitor mdw 0xE01FC040
# needed for gdb 6.8 and higher
set mem inaccessible-by-default off

load
tbreak main
continue

Thanks


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




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

Latest News

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

Video: Watch James Gosling & Richard Barry at re:Invent, Las Vegas 2017.

New FAQ page about the FreeRTOS kernel and Amazon FreeRTOS.


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

Xilinx Microblaze and Zynq partner