Sign in

username:

password:



Not a member?

Search lpc2000



Search tips

Subscribe to lpc2000



lpc2000 by Keywords

2106 | ADC | ARM7 | Atmel | Bootloader | CAN | CrossStudio | CrossWorks | DDS | ECos | Ethernet | ETM | FIFO | FLASH | FPGA | GCC | GDB | GNU | GNUARM | GPIO | I2C | IAP | IAR | JTAG | Kickstart | LCD | Linux | LPC | LPC-E2294 | LPC2000 | LPC2100 | LPC2104 | Lpc2106 | Lpc210x | LPC2114 | LPC2119 | LPC2124 | LPC2129 | Lpc2138 | LPC213x | LPC21xx | LPC2210 | LPC2212 | LPC2214 | LPC2292 | LPC2294 | LPC2xxx | LPC3128 | MCB2100 | Olimex | Philips | PWM | Rowley | RTC | RTOS | SPI | SSP | UART | UART0 | UART1 | ULINK | USB | Watchdog | Wiggler

Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | LPC2000 | Debugging in Eclipse - Possible to display Peripheral Registers Symbolically?

Discussion group dedicated to the Philips LPC2000 family of ARM MCUs

Debugging in Eclipse - Possible to display Peripheral Registers Symbolically? - henrym_33 - Oct 8 10:43:26 2009

Hi everybody,

I'm debugging my LPC2378 project in Eclipse (GNUARM, OpenOCD, GDB toolchain), and I don't see a way to view the various chip peripheral registers (FIO0PIN, TOIR, U0THR, etc) symbolically. I can only view them using the memory dump window by specifying the register's address, which is sort of clunky. I can view registers r0-15 just fine in the register window.

Is there a way to view these registers symbolically in Eclipse?

Thanks...

------------------------------------



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


Re: Debugging in Eclipse - Possible to display Peripheral Registers Symbolically? - adrianunderwater - Oct 11 19:45:43 2009

Hi,

In IAR I don't know of a way to do that either, except by memory dump, Maybe other debuggers can do it using symbolic variable names?

On another note, I am trying to migrate from IAR to Eclipse, and I am having trouble with the whole process. I must admit I am very new to Eclipse, so there is a learning curve there in terms of customisingit to ARM...

How did you go about it?

Thanks, Adrian

--- In l...@yahoogroups.com, "henrym_33" wrote:
>
> Hi everybody,
>
> I'm debugging my LPC2378 project in Eclipse (GNUARM, OpenOCD, GDB toolchain), and I don't see a way to view the various chip peripheral registers (FIO0PIN, TOIR, U0THR, etc) symbolically. I can only view them using the memory dump window by specifying the register's address, which is sort of clunky. I can view registers r0-15 just fine in the register window.
>
> Is there a way to view these registers symbolically in Eclipse?
>
> Thanks...
>

------------------------------------



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

Re: Debugging in Eclipse - Possible to display Peripheral Registers Symbolically? - henrym_33 - Oct 11 22:38:06 2009

Thanks for the info, Adrian. I'm surprised IAR won't do this - my experience using smaller micros like PICs and AVRs is different.

Regarding Eclipse, I used the various Lynch tutorials and they got me most of the way there pretty painlessly. I think they're available in the archives if you don't have them. I think the one I used most was "ARM Cross Development With Eclipse Components Revision3 March 17, 2006". The last steps were somewhat painful for me though - getting debugging to work and getting flashing to work over JTAG. That was a matter of getting the correct scripts which took me awhile and required searching the 'Net & digging into OpenOCD and GDB a little bit. I think I made a post on this list, that you can search for, with my final working scripts. Now everything works pretty well and I can get going on my project.

Good Luck...

--- In l...@yahoogroups.com, "adrianunderwater" wrote:
>
> Hi,
>
> In IAR I don't know of a way to do that either, except by memory dump, Maybe other debuggers can do it using symbolic variable names?
>
> On another note, I am trying to migrate from IAR to Eclipse, and I am having trouble with the whole process. I must admit I am very new to Eclipse, so there is a learning curve there in terms of customisingit to ARM...
>
> How did you go about it?
>
> Thanks, Adrian
>
> --- In l...@yahoogroups.com, "henrym_33" wrote:
> >
> > Hi everybody,
> >
> > I'm debugging my LPC2378 project in Eclipse (GNUARM, OpenOCD, GDB toolchain), and I don't see a way to view the various chip peripheral registers (FIO0PIN, TOIR, U0THR, etc) symbolically. I can only view them using the memory dump window by specifying the register's address, which is sort of clunky. I can view registers r0-15 just fine in the register window.
> >
> > Is there a way to view these registers symbolically in Eclipse?
> >
> > Thanks...
>

------------------------------------



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

Re: Debugging in Eclipse - Possible to display Peripheral Registers Symbolically? - redwire85 - Oct 12 0:53:23 2009



--- In l...@yahoogroups.com, "adrianunderwater" wrote:
>
> Hi,
>
> In IAR I don't know of a way to do that either, except by memory dump, Maybe other debuggers can do it using symbolic variable names?
>
IAR has a register view window which you need to turn on. (View->Registers). From there any of the internal registers can be viewed. All registers with bit fields have an exploded view so you can see what the bits are doing.

------------------------------------



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