ICLI, Bekir (EXT) schrieb:
> I was curious if I could increase my performance using TCMs.
> Currently, I am loading my interrupt handler code to internal fast SRAM.
> Would it make sense if use part of this memory as I-TCM and load the irq
> handlers to this location?
Yes. TCM runs at CPU speed, SRAM at AHB speed (1/2 of CPU speed).
--
42Bastian
Note: SPAM-only account, direct mail to bs42@...
========================================================================
Groups related to AT91SAM
========================================================================
lpc2000 (418 common members)
http://groups.yahoo.com/group/lpc2000?v=1&t=ipt&ch=email&pub=groups&slk=aftr0&sec=recg
Microprocessors/Microcontrollers: The NXP (formerly Philips) LPC2000 family of ARM
M...
msp430 (131 common members)
http://groups.yahoo.com/group/msp430?v=1&t=ipt&ch=email&pub=groups&slk=aftr1&sec=recg
Computers & Internet/Hardware: Welcome to the MSP430 User's Group! The purpose of...
avrclub (118 common members)
http://groups.yahoo.com/group/avrclub?v=1&t=ipt&ch=email&pub=groups&slk=aftr2&sec=recg
Microprocessors/Microcontrollers: Atmel AVR Microcontroller discussion group!
AVR-Chat (109 common members)
http://groups.yahoo.com/group/AVR-Chat?v=1&t=ipt&ch=email&pub=groups&slk=aftr3&sec=recg
Microprocessors/Microcontrollers: A place for Atmel AVR Microcontroller users to
sha...
e-embedded (82 common members)
http://groups.yahoo.com/group/e-embedded?v=1&t=ipt&ch=email&pub=groups&slk=aftr4&sec=recg
Internet/Internet Appliances: Open-membership mailing list for embedded system d...
------------------------------------

(You need to be a member of AT91SAM -- send a blank email to AT91SAM-subscribe@yahoogroups.com )
Hi Bastian,
=20
I guess I am missing something, while enabling the I-TCM.
I am doing the following:
#define ITCM_BASE 0x100000 /* In memory map, I-TCM is located=
at the second MB, but I have a feeling like what I am doing here might not=
be correct */
#define ITCM_SIZE (0x5 << 2) /* 16KB */
#define ITCM_ENABLE 0x1
#define ITCM_PATTERN (ITCM_BASE | ITCM_SIZE | ITCM_ENABLE)
MRC p15, 0, r1, c9, c1, 1=20=20=20=20=20=20=20
ORR r1, r1, #ITCM_PATTERN=20
MCR p15, 0, r1, c9, c1, 1=20
And I am copying the IRQ handler code not the the internal SRAM, but to the=
second MB.
But it stops at the first interrupt.
Should I take another measure to enable TCM??
Mit freundlichem Gru=DF / Best regards
Bekir ICLI
Siemens AG
Automation and Drives, Automation and Drives, A&D SC IC RD4
Tel. : +49 (721) 595-3280
mailto:b...@siemens.com
http://www.siemens.com/automation
Siemens Aktiengesellschaft: Chairman of the Supervisory Board: Gerhard Crom=
me
Managing Board: Peter Loescher, Chairman, President and Chief Executive Off=
icer;=20
Wolfgang Dehen, Heinrich Hiesinger, Joe Kaeser, Erich R. Reinhardt, Hermann=
Requardt,=20
Siegfried Russwurm, Peter Y. Solmssen
Registered offices: Berlin and Munich;=20
Commercial registries: Berlin Charlottenburg, HRB 12300, Munich, HRB 6684
WEEE-Reg.-No. DE 23691322
-----Urspr=FCngliche Nachricht-----
Von: A...@yahoogroups.com [mailto:A...@yahoogroups.com] Im Auftrag vo=
n 42Bastian
Gesendet: Dienstag, 18. M=E4rz 2008 15:16
An: A...@yahoogroups.com
Betreff: Re: [AT91SAM] TCM vs. internal SRAM
ICLI, Bekir (EXT) schrieb:
> I was curious if I could increase my performance using TCMs.
> Currently, I am loading my interrupt handler code to internal fast SRAM.
> Would it make sense if use part of this memory as I-TCM and load the irq
> handlers to this location?
Yes. TCM runs at CPU speed, SRAM at AHB speed (1/2 of CPU speed).
--=20
42Bastian
Note: SPAM-only account, direct mail to bs42@...
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Groups related to AT91SAM =
=09
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
lpc2000 (418 common members)=20=20=20=20=20=20=20=20=20=20=20
http://groups.yahoo.com/group/lpc2000?v=3D1&t=3Dipt&ch=3Demail&pub=3Dgroups=
&slk=3Daftr0&sec=3Drecg=20=20
Microprocessors/Microcontrollers: The NXP (formerly Philips) LPC2000 family=
of ARM M...
msp430 (131 common members)=20=20=20=20=20=20=20=20=20=20=20
http://groups.yahoo.com/group/msp430?v=3D1&t=3Dipt&ch=3Demail&pub=3Dgroups&=
slk=3Daftr1&sec=3Drecg=20=20
Computers & Internet/Hardware: Welcome to the MSP430 User's Group! The purp=
ose of...
avrclub (118 common members)=20=20=20=20=20=20=20=20=20=20=20
http://groups.yahoo.com/group/avrclub?v=3D1&t=3Dipt&ch=3Demail&pub=3Dgroups=
&slk=3Daftr2&sec=3Drecg=20=20
Microprocessors/Microcontrollers: Atmel AVR Microcontroller discussion grou=
p!
AVR-Chat (109 common members)=20=20=20=20=20=20=20=20=20=20=20
http://groups.yahoo.com/group/AVR-Chat?v=3D1&t=3Dipt&ch=3Demail&pub=3Dgroup=
s&slk=3Daftr3&sec=3Drecg=20=20
Microprocessors/Microcontrollers: A place for Atmel AVR Microcontroller use=
rs to sha...
e-embedded (82 common members)=20=20=20=20=20=20=20=20=20=20=20
http://groups.yahoo.com/group/e-embedded?v=3D1&t=3Dipt&ch=3Demail&pub=3Dgro=
ups&slk=3Daftr4&sec=3Drecg=20=20
Internet/Internet Appliances: Open-membership mailing list for embedded sys=
tem d...
------------------------------------

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