Sorry, I just realised that I sent my reply to your personal mail.=20
Which was:
Thanks Jenish,
I checked what you said, and yes I am getting PIT interrupts (which is usin=
g sys interrupt as well).
When I don't initialize PIT, there are no problems. But I am disabling the =
SYS interrupts of AIC at the beginning of sys_interrupt_handler, and re-ena=
bling at the end.
Shouldn't that solve the problem?
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: Jenish Gheewala [mailto:j...@yahoo.com]=20
Gesendet: Mittwoch, 20. Februar 2008 11:30
An: ICLI, Bekir (EXT)
Betreff: Re: [AT91SAM] Reading the DBGU Serial Output
I dont know the processor u use..but mostly the debug
port gets used on the sys interrupt..and something you
need to check is if this interrupt is getting disable
during the printf..
the printf uses the runtime library ,so I would
suggest to use selfmade debug print statement to be
able to debug during the print operation..(that is
transferring to the debug UART port )
I suppose that should help..i had lot of troubles with
the sys interrupt and the debug port..and thankfully
now they dont bug me.
jens
--- "ICLI, Bekir (EXT)"
wrote:
> Hi all,
>=20
> I am trying to read the serial output from DBGU, and
> I have taken the settings from board demo program.
> But somehow, my prints (and the program, as well)
> stop after 14-15 characters.
>=20
> Is this problem familiar with anybody?
>=20
> Mit freundlichem Gru=DF / Best regards
>=20
> Bekir ICLI
>=20
> 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
>=20
> Siemens Aktiengesellschaft: Chairman of the
> Supervisory Board: Gerhard Cromme
> Managing Board: Peter Loescher, Chairman, President
> and Chief Executive Officer;=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
>=20
>=20
>=20
_____________________________________________________________________=
_______________
Looking for last minute shopping deals?=20=20
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch=
/category.php?category=3Dshopping
=20
=20

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