Skip to contentSkip to conversation

Reg: OMAP Debugging

DISCUSSION karthik karthik 3 participants 5 messages Jul 30, 2006 – Aug 1, 2006

lore
Share & tools
lore
#0 lore raw

Hi,
I am currently setting up a proper debugging environment on OMAP for development.

I installed and tested a gdbserver on my ARM side and it works fine.

The hickup is the DSP side. Is there any way of debugging the DSP side other than the JTAG debugger?

Or is JTAG a neccessity for anyone working on OMAP?

Please do reply as this is the final step that is hindering the start of the development process.

Thx and regards
S. Karthikeyan

--

---------------------------------
How low will we go? Check out Yahoo! Messenger’s low PC-to-Phone call rates.

#1 lore raw

gpio Interrupt handling for omap5912

Hi,

Anybody knows what interrupt number a gpio on omap5912 uses? Is there a specification on gpio interrupt?

Thanks,
OJ

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

#2 lore raw

Re: gpio Interrupt handling for omap5912

Quoted 2 lines · Arnold

Anybody knows what interrupt number a gpio on omap5912 uses?

AFAIK interrupt numbers for GPIO start with 160 and then are numbered starting with first GPIO bank and so on.

See include/asm-arm/arch-omap/irqs.h:

#define IH2_BASE 32

/* Max. 128 level 2 IRQs (OMAP1610), 192 GPIOs (OMAP730) and
* 16 MPUIO lines */

#define OMAP_MAX_GPIO_LINES     192
#define IH_GPIO_BASE            (128 + IH2_BASE)
#define IH_MPUIO_BASE           (OMAP_MAX_GPIO_LINES + IH_GPIO_BASE)
#define IH_BOARD_BASE           (16 + IH_MPUIO_BASE)

Have a look to GPIO framework in gpio.c and its usage in various files which can help you programming GPIO stuff.

Cheers

Dirk

#3 lore raw

Re: gpio Interrupt handling for omap5912

Hi,

I've been playing around the gpio. writing to pins. I encountered an error that is weird. Im not sure if this is cause by writing to a gpio. I tried several gpio pins but I still encountered an error. below is the error encountered:

# ./gpio_test
Opening gpio driver
(OJ) Writing at pin = 49
(OJ) Value of pin = 1

~ #
~ #
~ #
~ #
~ # ./gpio_test
nfs: server 157.184.66.86 not responding, still trying NETDEV WATCHDOG: eth0: transmit timed out NETDEV WATCHDOG: eth0: transmit timed out

Do Anyone knows whats wrong here? I have no idea why Im encountering this error.

Regards,
OJ

Quoted 23 lines · --- Dirk Behme
Quoted 1 line · Arnold

Anybody knows what interrupt number a gpio on

omap5912

Quoted 1 line

uses?

AFAIK interrupt numbers for GPIO start with 160 and then are
numbered starting with first GPIO bank and so on.

See include/asm-arm/arch-omap/irqs.h:

#define IH2_BASE 32

/* Max. 128 level 2 IRQs (OMAP1610), 192 GPIOs
(OMAP730) and
* 16 MPUIO lines */

#define OMAP_MAX_GPIO_LINES     192
#define IH_GPIO_BASE            (128 + IH2_BASE)
#define IH_MPUIO_BASE           (OMAP_MAX_GPIO_LINES

+
IH_GPIO_BASE)
#define IH_BOARD_BASE (16 + IH_MPUIO_BASE)

Quoted 9 lines

Have a look to GPIO framework in gpio.c and its
usage in
various files which can help you programming GPIO
stuff.

Cheers

Dirk

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

#4 lore raw

NETDEV WATCHDOG: eth0: transmit timed out

Quoted 70 lines · --- Arnold

Hi,

I've been playing around the gpio. writing to pins. I
encountered an error that is weird. Im not sure if this is cause by writing to a gpio. I tried several gpio pins but I still encountered an error. below is the error encountered:

# ./gpio_test
Opening gpio driver
(OJ) Writing at pin = 49
(OJ) Value of pin = 1

~ #
~ #
~ #
~ #
~ # ./gpio_test
nfs: server 157.184.66.86 not responding, still trying
NETDEV WATCHDOG: eth0: transmit timed out NETDEV WATCHDOG: eth0: transmit timed out

Do Anyone knows whats wrong here? I have no idea why Im encountering this error.

Regards,
OJ

Quoted 6 lines · --- Dirk Behme
Quoted 1 line · Arnold

Anybody knows what interrupt number a gpio on

omap5912

Quoted 1 line

uses?

AFAIK interrupt numbers for GPIO start with 160

and

Quoted 5 lines

then are
numbered starting with first GPIO bank and so on.

See include/asm-arm/arch-omap/irqs.h:

Quoted 8 lines

#define IH2_BASE 32

/* Max. 128 level 2 IRQs (OMAP1610), 192 GPIOs
(OMAP730) and
* 16 MPUIO lines */
#define OMAP_MAX_GPIO_LINES 192
#define IH_GPIO_BASE (128 + IH2_BASE)
#define IH_MPUIO_BASE

(OMAP_MAX_GPIO_LINES

Quoted 3 lines

+
IH_GPIO_BASE)
#define IH_BOARD_BASE (16 +

IH_MPUIO_BASE)

Quoted 10 lines

Have a look to GPIO framework in gpio.c and its
usage in
various files which can help you programming GPIO
stuff.

Cheers

Dirk

Quoted 9 lines

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
Linux-omap-open-source mailing list [email protected]

http://linux.omap.com/mailman/listinfo/linux-omap-open-source

Quoted 1 line

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com