kiwanda206 | 4 Oct 2006 10:48
Picon

Re: atmel sam7s64 gcc port ?


Hi,

(this is a bit late but this answered my question regarding nested
interrupts with ucos-ii)

the document from D. W. Hawkins is magnificent - takes the bite out of
trying to 'upgrade' ucos-ii from single to nested interrupt handling.

I adapted his code to run on the AT91SAM7S256 by replacing the VIC
related code with AT91 AIC code:

AIC_BASE:	     .word   0xFFFFF000

.equ AIC_IVR,        (0x100)
.equ AIC_EOICR,	     (0x130)

 <at> LDR     R4, VICVectAddr
 <at> LDR     R5, [R4]
ldr r4, AIC_BASE
ldr r5, [r4, #AIC_IVR]

to obtain the ISR from aic->ivr

and

/* Geef aan de AIC door dat dit het einde van de interrupt is */
ldr r4, AIC_BASE
str r4, [r4, #AIC_EOICR]

(Continue reading)

kiwanda206 | 4 Oct 2006 10:53
Picon

Re: UCOS port for AT91RM9200

--- In MicriumNewsGroup <at> yahoogroups.com, "kobus.steyn" <tydelik <at> ...>
wrote:
>
> --- In MicriumNewsGroup <at> yahoogroups.com, "prakumb2003"
> <prakumb2003 <at> > wrote:
> >
> > Hi all,
> >  I'm a newbie in RTOS and embedded applications and I'm trying
> > to use ucos with and Atmel AT91RM9200EK board. 
> > I'm using an arm-gcc as compiler. I am not able to complie the
assembly 
> > file, Cstartup file. Example Cstartup code are given only for ADS and 
> > GHS compilere. How to covert from ADS/GHS to GCC compilable assembly 
> > code?  
> >  Can anyone suggest me some links or give me a simple explication on 
> > how to proceed?
> > 
> > Thanks a lot
> > Pradeep Kumar b
> >
> 
> Hi Pradeep,
> 
> You can try to download the AN-1637.zip file from
> http://www.micrium.com/arm/index.html. This is for the MicroCross
> tools which uses the GNU compiler. You can also go to
> http://www.microcross.com/html/examples.html and download the
> startup-examples.zip file. This will have startup examples for the ARM
> using the GNU compiler.
> 
(Continue reading)

kiwanda206 | 6 Oct 2006 09:33
Picon

Re: atmel sam7s64 gcc port ?


Hi,

the port done by David Hawkins below is awesome - I now run nested
interrupts in ucos-ii on at91sam7s256.

It is quite easy to change the references to the Philips VIC with
pointers to the AT91 AIC - they function more or less the same.

Ewout Boks

--- In MicriumNewsGroup <at> yahoogroups.com, David Hawkins <dwh <at> ...> wrote:
>
> Michael Anburaj wrote:
> > arm_ucos port supports GCC too.. But dont not have HAL
> > for SAM7s64.
> > 
> > http://geocities.com/michaelanburaj/ARM/index.html
> 
> Take a look at the following project. It shows you how
> to implement a uCOS-II port from scratch, i.e., shows
> you how to understand the compiler, and then use that
> knowledge to port the RTOS.
> 
> It has a port of Jean's AN1011 code, and a version that
> implements nested interrupts.
> 
> http://www.ovro.caltech.edu/~dwh/ucos/project_AR1803.pdf
> http://www.ovro.caltech.edu/~dwh/ucos/gcc_and_ucosii.zip
> 
(Continue reading)

David Hawkins | 12 Oct 2006 17:30
Picon
Favicon

Re: Re: atmel sam7s64 gcc port ?


> the port done by David Hawkins below is awesome - I now run nested
> interrupts in ucos-ii on at91sam7s256.
> 
> It is quite easy to change the references to the Philips VIC with
> pointers to the AT91 AIC - they function more or less the same.

Hi Ewout Boks,

Glad to hear it worked out for you.

Cheers,
Dave

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/MicriumNewsGroup/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/MicriumNewsGroup/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:MicriumNewsGroup-digest <at> yahoogroups.com 
    mailto:MicriumNewsGroup-fullfeatured <at> yahoogroups.com
(Continue reading)

awmicrium | 30 Oct 2006 20:09
Favicon

USB on ColdFire 5275

Hello,
I'm working on a ColdFire m5275evb board and im trying to get the USB 
working on it and was wondering if anyone has used USB on this board 
before, i could use some advice. If anyone has any tips that could 
help get me started it would be greatly appreciated.

Thanks

Andrew

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/MicriumNewsGroup/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/MicriumNewsGroup/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:MicriumNewsGroup-digest <at> yahoogroups.com 
    mailto:MicriumNewsGroup-fullfeatured <at> yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    MicriumNewsGroup-unsubscribe <at> yahoogroups.com

(Continue reading)


Gmane