DSPRelated.com
Forums

bypassing BIOS' HWI manager

Started by Alexandre Freire da Silva Osorio September 11, 2002
Hi all!

Please, does anyone know if we can bypass the HWI interrupts configuration made
by DSP/BIOS HWI manager? I'd like to configure HWI manually because I think that
the overhead introduced by DSP/BIOS is greater then what my application permits.
I can't simply eliminate DSP/BIOS because it manages the tasks in my
application.

Thank you very much.

Regards,
Alexandre



Hi.,

You can bypass the DSP/BIOS dispatcher by using the assembly macros
HWI_enter and HWI_exit. You need to write a asm stub function and
invoke the C-ISR from the asm function as shown below.

asm_stub:
HWI_enter ...your Register Masks
call the C isr.
HWI_exit ... Your register Masks.

You need to give the ISR function as the asm function name in the HWI
properties.

Hope this helps.

Harish ----- Original Message -----
From: "Alexandre Freire da Silva Osorio" <>
Date: Wednesday, September 11, 2002 10:37 pm
Subject: [c6x] bypassing BIOS' HWI manager

> Hi all!
>
> Please, does anyone know if we can bypass the HWI interrupts
> configuration made by DSP/BIOS HWI manager? I'd like to configure
> HWI manually because I think that the overhead introduced by
> DSP/BIOS is greater then what my application permits. I can't
> simply eliminate DSP/BIOS because it manages the tasks in my
> application.
> Thank you very much.
>
> Regards,
> Alexandre > _____________________________________
> Note: If you do a simple "reply" with your email client, only the
> author of this message will receive your answer. You need to do a
> "reply all" if you want your answer to be distributed to the
> entire group.
>
> _____________________________________
> About this discussion group:
>
> To Join: Send an email to
>
> To Post: Send an email to
>
> To Leave: Send an email to
>
> Archives: http://www.yahoogroups.com/group/c6x
>
> Other Groups: http://www.dsprelated.com > ">http://docs.yahoo.com/info/terms/ >



**************************Disclaimer********************************************\
******

Information contained in this E-MAIL being proprietary to Wipro Limited is
'privileged'
and 'confidential' and intended for use only by the individual or entity to
which it is
addressed. You are notified that any use, copying or dissemination of the
information
contained in the E-MAIL in any manner whatsoever is strictly prohibited.

********************************************************************************\
********


Harish,

Thank you very much.

More specifically, the problem in my system is that there are interruption losts
between HWI_INT8 (DMA Ch. 0), HWI_INT9 (DMA Ch. 2), HWI_INT11 (DMA Ch. 1) and
HWI_INT12 (DMA Ch. 3), probably because DSP/BIOS uses HWI_RESERVED0 and
HWI_RESERVED1 for Dispatcher and these are higher priority interruptions. I
can't disable Dispatcher because it's used by Timer0 (HWI_INT14), that DSP/BIOS
uses to generate PRD_tick.

Do you know how can I solve this? My system can't lose any DMA interruption to
run properly, and this was working fine until I have decided to include DSP/BIOS
in it.

Thank you again.

Regards,
Alexandre -----Original Message-----
From: Harish Thampi S [mailto:]
Sent: Friday, September 13, 2002 1:24 AM
To: Alexandre Freire da Silva Osorio
Cc:
Subject: Re: [c6x] bypassing BIOS' HWI manager Hi.,

You can bypass the DSP/BIOS dispatcher by using the assembly macros
HWI_enter and HWI_exit. You need to write a asm stub function and
invoke the C-ISR from the asm function as shown below.

asm_stub:
HWI_enter ...your Register Masks
call the C isr.
HWI_exit ... Your register Masks.

You need to give the ISR function as the asm function name in the HWI
properties.

Hope this helps.

Harish ----- Original Message -----
From: "Alexandre Freire da Silva Osorio" <>
Date: Wednesday, September 11, 2002 10:37 pm
Subject: [c6x] bypassing BIOS' HWI manager

> Hi all!
>
> Please, does anyone know if we can bypass the HWI interrupts
> configuration made by DSP/BIOS HWI manager? I'd like to configure
> HWI manually because I think that the overhead introduced by
> DSP/BIOS is greater then what my application permits. I can't
> simply eliminate DSP/BIOS because it manages the tasks in my
> application.
> Thank you very much.
>
> Regards,
> Alexandre > _____________________________________
> Note: If you do a simple "reply" with your email client, only the
> author of this message will receive your answer. You need to do a
> "reply all" if you want your answer to be distributed to the
> entire group.
>
> _____________________________________
> About this discussion group:
>
> To Join: Send an email to
>
> To Post: Send an email to
>
> To Leave: Send an email to
>
> Archives: http://www.yahoogroups.com/group/c6x
>
> Other Groups: http://www.dsprelated.com > ">http://docs.yahoo.com/info/terms/ >


_____________________________________
Note: If you do a simple "reply" with your email client, only the author of this
message will receive your answer. You need to do a "reply all" if you want your
answer to be distributed to the entire group.

_____________________________________
About this discussion group:

To Join: Send an email to

To Post: Send an email to

To Leave: Send an email to

Archives: http://www.yahoogroups.com/group/c6x

Other Groups: http://www.dsprelated.com ">http://docs.yahoo.com/info/terms/


Hi.,

I think disabling RTDX in the Input/output->RTDX module will help
you to work around this problem. Though I have not tried it out. Regards
Harish

----- Original Message -----
From: "Alexandre Freire da Silva Osorio" <>
Date: Friday, September 13, 2002 6:23 pm
Subject: RE: [c6x] bypassing BIOS' HWI manager

> Harish,
>
> Thank you very much.
>
> More specifically, the problem in my system is that there are
> interruption losts between HWI_INT8 (DMA Ch. 0), HWI_INT9 (DMA Ch.
> 2), HWI_INT11 (DMA Ch. 1) and HWI_INT12 (DMA Ch. 3), probably
> because DSP/BIOS uses HWI_RESERVED0 and HWI_RESERVED1 for
> Dispatcher and these are higher priority interruptions. I can't
> disable Dispatcher because it's used by Timer0 (HWI_INT14), that
> DSP/BIOS uses to generate PRD_tick.
>
> Do you know how can I solve this? My system can't lose any DMA
> interruption to run properly, and this was working fine until I
> have decided to include DSP/BIOS in it.
>
> Thank you again.
>
> Regards,
> Alexandre > -----Original Message-----
> From: Harish Thampi S [mailto:]
> Sent: Friday, September 13, 2002 1:24 AM
> To: Alexandre Freire da Silva Osorio
> Cc:
> Subject: Re: [c6x] bypassing BIOS' HWI manager > Hi.,
>
> You can bypass the DSP/BIOS dispatcher by using the assembly macros
> HWI_enter and HWI_exit. You need to write a asm stub function and
> invoke the C-ISR from the asm function as shown below.
>
> asm_stub:
> HWI_enter ...your Register Masks
> call the C isr.
> HWI_exit ... Your register Masks.
>
> You need to give the ISR function as the asm function name in the HWI
> properties.
>
> Hope this helps.
>
> Harish > ----- Original Message -----
> From: "Alexandre Freire da Silva Osorio" <>
> Date: Wednesday, September 11, 2002 10:37 pm
> Subject: [c6x] bypassing BIOS' HWI manager
>
> > Hi all!
> >
> > Please, does anyone know if we can bypass the HWI interrupts
> > configuration made by DSP/BIOS HWI manager? I'd like to
> configure
> > HWI manually because I think that the overhead introduced by
> > DSP/BIOS is greater then what my application permits. I can't
> > simply eliminate DSP/BIOS because it manages the tasks in my
> > application.
> > Thank you very much.
> >
> > Regards,
> > Alexandre
> >
> >
> > _____________________________________
> > Note: If you do a simple "reply" with your email client, only
> the
> > author of this message will receive your answer. You need to do
> a
> > "reply all" if you want your answer to be distributed to the
> > entire group.
> >
> > _____________________________________
> > About this discussion group:
> >
> > To Join: Send an email to
> >
> > To Post: Send an email to
> >
> > To Leave: Send an email to
> >
> > Archives: http://www.yahoogroups.com/group/c6x
> >
> > Other Groups: http://www.dsprelated.com
> >
> >
> > ">http://docs.yahoo.com/info/terms/
> >
> >
> > _____________________________________
> Note: If you do a simple "reply" with your email client, only the
> author of this message will receive your answer. You need to do a
> "reply all" if you want your answer to be distributed to the
> entire group.
>
> _____________________________________
> About this discussion group:
>
> To Join: Send an email to
>
> To Post: Send an email to
>
> To Leave: Send an email to
>
> Archives: http://www.yahoogroups.com/group/c6x
>
> Other Groups: http://www.dsprelated.com > ">http://docs.yahoo.com/info/terms/



**************************Disclaimer********************************************\
******

Information contained in this E-MAIL being proprietary to Wipro Limited is
'privileged'
and 'confidential' and intended for use only by the individual or entity to
which it is
addressed. You are notified that any use, copying or dissemination of the
information
contained in the E-MAIL in any manner whatsoever is strictly prohibited.

********************************************************************************\
********