For users of the Atmel AT91SAM7 and AT91SAM9 ARM CPU chips. Atmel has taken a new direction by combining on chip flash and ram with the ARM CPU on a single die. This provides low cost devices for small systems using the ARM CPU.
This group is to exchange information to help users get started and learn how to use the devices.
About interrupt handling - "ICLI, Bekir (EXT)" - Jul 28 8:40:19 2008
Hi all,
In ARM926EJ-S Architecture, If I am not using nested interrupts, do I
need to perform a write to IVR register?
>From the beginning, I started with the interrupt handling atmel provided
and did not question it, just understand what it does.
But now, out of curiosity, I tried not doing it (write to IVR) and it
works..
Why would one need it really? In the manual it says "This (Protected
Mode) is necessary when working with a debug system.", but I am not sure
what that should tell me exactly..
Best Regards,
Bekir

(You need to be a member of AT91SAM -- send a blank email to AT91SAM-subscribe@yahoogroups.com )
Re: About interrupt handling - 42Bastian - Jul 28 9:18:52 2008
Hi
> Why would one need it really? In the manual it says "This (Protected
> Mode) is necessary when working with a debug system.", but I am not sure
> what that should tell me exactly..
An access to EOICR pops the interrupt (also reading) ...
--
42Bastian
Note: SPAM-only account, direct mail to bs42@...
------------------------------------

(You need to be a member of AT91SAM -- send a blank email to AT91SAM-subscribe@yahoogroups.com )
AW: About interrupt handling - "ICLI, Bekir (EXT)" - Jul 28 9:33:38 2008
Hi,
The EOICR register is clear to me, but in the code there is this piece:
/* Write in the IVR to support Protect Mode */
ldr lr, =3DAT91C_BASE_AIC
ldr r1, [lr, #BOOT_AIC_IVR]
str lr, [lr, #BOOT_AIC_IVR]
=20
I don't know why they do this..
-----Urspr=FCngliche Nachricht-----
Von: A...@yahoogroups.com [mailto:A...@yahoogroups.com] Im Auftrag vo=
n 42Bastian
Gesendet: Montag, 28. Juli 2008 15:19
An: A...@yahoogroups.com
Betreff: Re: [AT91SAM] About interrupt handling
Hi
> Why would one need it really? In the manual it says "This (Protected
> Mode) is necessary when working with a debug system.", but I am not sure
> what that should tell me exactly..
An access to EOICR pops the interrupt (also reading) ...
--=20
42Bastian
Note: SPAM-only account, direct mail to bs42@...
------------------------------------

(You need to be a member of AT91SAM -- send a blank email to AT91SAM-subscribe@yahoogroups.com )
Linux in sdcard. - "Paulo Silva(OpenSoftware)" - Jul 28 10:03:40 2008
Hi,
I have a SAM9-L9260 board from Olimex, it has linux running from
nand-flash, and now I want to run linux from a sdcard.
First time to leard more about this, I think if I put a linux filesystem
on sdcard and say to u-boot that linux is there, it may works, correct
me if I am wrong.
So I need to learn how to put a linux filesystem into sdcard, may
somebody point me to a link or anything that can help-me.
Best regards
Paulo
------------------------------------

(You need to be a member of AT91SAM -- send a blank email to AT91SAM-subscribe@yahoogroups.com )
Re: AW: About interrupt handling - 42Bastian - Jul 28 10:04:26 2008
ICLI, Bekir (EXT) schrieb:
> Hi,
>=20
> The EOICR register is clear to me, but in the code there is this piece:
>=20
> /* Write in the IVR to support Protect Mode */
> ldr lr, =3DAT91C_BASE_AIC
> ldr r1, [lr, #BOOT_AIC_IVR]
> str lr, [lr, #BOOT_AIC_IVR]
>=20=20
> I don't know why they do this..
What is unclear about this:
(sam9260 referece manual)
The Protect Mode permits reading the Interrupt Vector Register without=20
performing the associated automatic operations. This is necessary when=20
working with a debug system. When a debugger, working either with a=20
Debug Monitor or the ARM processor's ICE, stops the applications and=20
updates the opened windows, it might read the AIC User Interface and=20
thus the IVR.
This has undesirable consequences:
=E2=80=A2 If an enabled interrupt with a higher priority than the current o=
ne is=20
pending, it is stacked.
=E2=80=A2 If there is no enabled pending interrupt, the spurious vector is =
returned.
--=20
42Bastian
Note: SPAM-only account, direct mail to bs42@...
------------------------------------

(You need to be a member of AT91SAM -- send a blank email to AT91SAM-subscribe@yahoogroups.com )
RE: Linux in sdcard. - Jonathan Dumaresq - Jul 28 10:10:04 2008
Hi,
This is not targeted to SAM9 but you should get the idea.=20
http://www.avrfreaks.net/wiki/index.php/Documentation:AVR32_Linux_Developme=
n
t/Programming_an_SD_card_with_the_AVR32_Linux_file_system
just correct the addressing to match sam9 and you should be a the right
track. I have not done it myself. But should work
Jonathan
-----Message d'origine-----
De=A0: A...@yahoogroups.com [mailto:A...@yahoogroups.com] De la part =
de
Paulo Silva(OpenSoftware)
Envoy=E9=A0: 28 juillet 2008 10:04
=C0=A0: A...@yahoogroups.com
Objet=A0: [AT91SAM] Linux in sdcard.
Hi,
I have a SAM9-L9260 board from Olimex, it has linux running from=20
nand-flash, and now I want to run linux from a sdcard.
First time to leard more about this, I think if I put a linux filesystem=20
on sdcard and say to u-boot that linux is there, it may works, correct=20
me if I am wrong.
So I need to learn how to put a linux filesystem into sdcard, may=20
somebody point me to a link or anything that can help-me.
Best regards
Paulo
------------------------------------

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