Author Topic: LPC3250 ARM toolchain configuration  (Read 7087 times)

de la vega

  • Guest
LPC3250 ARM toolchain configuration
« on: August 29, 2009, 01:20:54 pm »
Dear all,

First let me mention that i'm newbie to CodeBlocks. I heard great things about CodeBlocks so i decided to give it a try.
My primary goal is to develop embedded applications over the NXP LPC3250 Evaluation Board (phyCORE-LPC3250).

I installed CodeBlocks 8.02 and i would like to know how to configure the following:
1. ARM cross compiler  - how do i configure arm cross compiler for my specific board? i'm using LTIB and i know that LTIB installs the ARM cross compiler as well. how do i configure it in codeblocks?
                                        i can see in 'codeblocks -> settings -> compiler and debugging settings' that i can choose only GNU ARM GCC compiler. Is it good enough?

2. GDB - how can i use GDB for debugging?

Thanks.

Offline martind

  • Multiple posting newcomer
  • *
  • Posts: 47
Re: LPC3250 ARM toolchain configuration
« Reply #1 on: September 19, 2009, 02:32:25 am »
Hi,

If it's a gcc based compiler you can just use the standard gcc compiler driver, but just change the location of the compiler.
Obviously you need to set options etc...

GDB is supported by codeblocks. But you need to use OpenOCD to control your LPC device. When debugging, launch OpenOCD with appropriate script, set GDB to i.e "target remote localhost:2000" so GDB connects to OpenOCD.

Cheers,


Martin.