Discussion group dedicated to the Philips LPC2000 family of ARM MCUs
FreeRTOS demo for LPC2378 with Eclipse - will not run - jefflday - Jun 18 10:12:35 2008
I have installed OpenOCD, Yagarto, Eclipse, etc.
The demo builds successfully, and I can program the target.
When I start the debugger, I get the following in the OpenOCD console
window (pasted below). Hitting resume and pause, I find that the
program is stuck in boot.s at 0x0000003c <__dabt>: b 0x3c <__dabt>
Any help would be appreciated...
CONSOLE WINDOW CONTENTS BELOW------------------------------------
Info: server.c:78 add_connection(): accepting 'gdb' connection from 0
Warning: gdb_server.c:416 gdb_get_packet_inner(): acknowledgment
received, but no packet pending
Info: jtag.c:1376 jtag_examine_chain(): JTAG device found:
0x4f1f0f0f (Manufacturer: 0x787, Part: 0xf1f0, Version: 0x4)
User: target.c:1817 handle_soft_reset_halt_command(): requesting
target halt and executing a soft reset
User: gdb_server.c:574 gdb_output(): force hardware breakpoints enabled
User: target.c:953 target_arch_state(): target state: halted
User: armv4_5.c:304 armv4_5_arch_state(): target halted in ARM
state due to debug request, current mode: Supervisor
cpsr: 0x200000d3 pc: 0x00000000
Warning: arm7_9_common.c:1886 arm7_9_read_memory(): memory read caused
data abort (address: 0x0000003c, size: 0x4, count: 0x1)
------------------------------------

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )
RE: FreeRTOS demo for LPC2378 with Eclipse - will not run - "FreeRTOS.org Info" - Jun 18 10:18:12 2008
> The demo builds successfully, and I can program the target.
>=20
> When I start the debugger, I get the following in the OpenOCD=20
> console window (pasted below). Hitting resume and pause, I=20
> find that the program is stuck in boot.s at 0x0000003c=20
> <__dabt>: b 0x3c <__dabt>
>=20
> Any help would be appreciated...
Does the application ever reach main()? Or does it abort in the startup
code?
Regards,
Richard.
+ http://www.FreeRTOS.org
17 official architecture ports, more than 6000 downloads per month.
+ http://www.SafeRTOS.com
Certified by T=DCV as meeting the requirements for safety related systems.
------------------------------------

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )
Re: FreeRTOS demo for LPC2378 with Eclipse - will not run - jefflday - Jun 18 10:48:38 2008
It never gets to main()...
--- In l...@yahoogroups.com, "FreeRTOS.org Info"
wrote:
>
> > The demo builds successfully, and I can program the target.
> >=20
> > When I start the debugger, I get the following in the OpenOCD=20
> > console window (pasted below). Hitting resume and pause, I=20
> > find that the program is stuck in boot.s at 0x0000003c=20
> > <__dabt>: b 0x3c <__dabt>
> >=20
> > Any help would be appreciated...
>=20
>=20
> Does the application ever reach main()? Or does it abort in the startup
> code?
>=20
> Regards,
> Richard.
>=20
> + http://www.FreeRTOS.org
> 17 official architecture ports, more than 6000 downloads per month.
>=20
> + http://www.SafeRTOS.com
> Certified by T=DCV as meeting the requirements for safety related systems=
.
>
------------------------------------

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )RE: Re: FreeRTOS demo for LPC2378 with Eclipse - will not run - "FreeRTOS.org Info" - Jun 18 11:02:31 2008
> -----Original Message-----
> From: l...@yahoogroups.com=20
> [mailto:l...@yahoogroups.com] On Behalf Of jefflday
> Sent: 18 June 2008 15:48
> To: l...@yahoogroups.com
> Subject: [lpc2000] Re: FreeRTOS demo for LPC2378 with Eclipse=20
> - will not run
>=20
> It never gets to main()...
Try removing the .usbram and .ethram section definitions from the linker
script, then doing a clean build.
Regards,
Richard.
+ http://www.FreeRTOS.org
17 official architecture ports, more than 6000 downloads per month.
+ http://www.SafeRTOS.com
Certified by T=DCV as meeting the requirements for safety related systems.
------------------------------------

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )