public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] isr-tables in hal/pxa2x0
@ 2004-08-05 15:05 Daniel Schmidt
  0 siblings, 0 replies; only message in thread
From: Daniel Schmidt @ 2004-08-05 15:05 UTC (permalink / raw)
  To: ecos-discuss

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="us-ascii", Size: 1235 bytes --]

hello,  
  
I've some problems with the pxa2x0 architecture, actually I've tried to  
attach an ISR to GPIO73. This fails with "ASSERT FAIL: <1>[450]void  
Cyg_Interrupt::attach() Interrupt vector not free."  
but this is not true, because there is no code that adds  this interrupt.  
  
I've found, that the table interrupt tables are to short (only 105  
entries) but GPIO73=105 so it is in this table the entry 106.  
  
In pxa2x0/current/include/hal_var_ints.h there is the define:  
#define CYGNUM_HAL_ISR_COUNT    (CYGNUM_HAL_ISR_MAX-CYGNUM_HAL_ISR_MIN+1)  
  
in my opinion this should be:  
(A) #define CYGNUM_HAL_ISR_COUNT	(CYGNUM_HAL_ISR_MAX+1)  
 
or  
(B) in hal/arm/arch/current/include/hal_intr.h 
the macro: HAL_TRANSLATE_VECTOR should substract CYGNUM_HAL_ISR_MIN 
 
or  
(C) should the pxa2x0/current/include/hal_var_ints.h have it's own 
HAL_TRANSLATE_VECTOR ? 
 
for me I've done version A; it's working fine.  
 
bye  
daniel  
  
  
  

-- 
NEU: WLAN-Router für 0,- EUR* - auch für DSL-Wechsler!
GMX DSL = supergünstig & kabellos http://www.gmx.net/de/go/dsl


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-08-05 15:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-05 15:05 [ECOS] isr-tables in hal/pxa2x0 Daniel Schmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).