Reply by mbelge May 24, 20052005-05-24
>Hi all, > Just a quick check. Is it good to use SWI with SIO in TI's >DSP/BIOS? Any pointer? Thanks in advance... > >tnk >
Hi, SIO adapter can be used in an SWI only in callback funcion mode. In creating an SIO object you must check callback function method and provide a callback function that SIO object can call after an SIO_get or SIO_put call. This message was sent using the Comp.DSP web interface on www.DSPRelated.com
Reply by Jerry Avins March 23, 20042004-03-23
tnk wrote:

   ...

>>A software interrupt is triggered by a program statement, not an event. >>You need an external interrupt. These are configured and enabled by >>setting bits in certain registers. You may need to load the address of >>the applicable interrupt routine at a specific place in memory, even if >>the routine you want to use is in the BIOS. I would need to read the >>manual to be more specific than this, but you can do that as well as I. >> >>Jerry > > > Thanks for your advice. but if I need to handle the interrupt > manually, then why should I bother to use dsp-bios. I think I miss out > some configurations and concept. I will read the manual again and > again. I thought I can get the answer faster from experienced user by > posting here. but any way, thanks again... > > tnk
You set up the interrupt and point it to the applicable routine provided by the BIOS. The BIOS is like a shelf full of canned soups. You don't need a recipe and you don't need to cook, but you still have to pick a can and open it. Your intention to read the manual is good. Pay particular attention to the processor architecture and the way it handles interrupts. Jerry -- Engineering is the art of making what you want from things you can get. �����������������������������������������������������������������������
Reply by tnk March 23, 20042004-03-23
Jerry Avins <jya@ieee.org> wrote in message news:<405eeaa1$0$3054$61fed72c@news.rcn.com>...
> tnk wrote: > > > Jerry Avins <jya@ieee.org> wrote in message news:<405e410b$0$3065$61fed72c@news.rcn.com>... > > > >>tnk wrote: > >> > >> > >>>Jerry Avins <jya@ieee.org> wrote in message news:<405daace$0$3066$61fed72c@news.rcn.com>... > >>> > >>> > >>>>tnk wrote: > >>>> > >>>> > >>>> > >>>>>Jerry Avins <jya@ieee.org> wrote in message news:<405c7e6e$0$3067$61fed72c@news.rcn.com>... > >>>>> > >>>>> > >>>>> > >>>>>>tnk wrote: > >>>>>> > >>>>>> ... > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>>>Yeah, I use it through DHL. So it shouldn't be problem, but it still > >>>>>>>give me problem. :( > >>>>>>> > >>>>>>>tnk > >>>>>> > >>>>>>What is DHL? What do you want it to do? How does it fail? > >>>>>> > >>>>>>Jerry > >>>>> > >>>>> > >>>>>DHL mean host link driver provided by ti dsp bios. > >>>>> > >>>>>tnk > >>>> > >>>>OK. If your program doesn't poll and there's no physical interrupt, how > >>>>does it know that data arrived on the link? > >>>> > >>>>Jerry > >>> > >>> > >>>It is arranged by host link driver. That's the reason why bios is > >>>here. First host channel manager is specified. from there, you have > >>>two options. One is using pip model to drive this host channel > >>>manager. The another one is linking this host channel manager to the > >>>host link driver and treat the channel manager as device. After that > >>>underlying this device to a Stream IO manager. from there, by right, > >>>this SIO manager can be used to communicate with host from target. by > >>>left, it can't be done until now. :( . If you confuse what I am > >>>writing, please refer to TI DSP/BIOS user reference. > >>> > >>>tnk > >> > >>The BIOS isn't magical. If it isn't executing and no external interrupt > >>starts it, it might as well not be there. A DMA engine might move > >>incoming data to RAM without program intervention, but if no interrupt > >>signals that data is in RAM, it might as well not be there. > >> > >>Jerry > > > > > > That is the reason why I said in my second message that input DHL is > > not triggering the interrupt. I thought it should trigger the > > interrupt but it didn't. any idea how to make it trigger? Thanks... > > > > tnk > > A software interrupt is triggered by a program statement, not an event. > You need an external interrupt. These are configured and enabled by > setting bits in certain registers. You may need to load the address of > the applicable interrupt routine at a specific place in memory, even if > the routine you want to use is in the BIOS. I would need to read the > manual to be more specific than this, but you can do that as well as I. > > Jerry
Thanks for your advice. but if I need to handle the interrupt manually, then why should I bother to use dsp-bios. I think I miss out some configurations and concept. I will read the manual again and again. I thought I can get the answer faster from experienced user by posting here. but any way, thanks again... tnk
Reply by Jerry Avins March 22, 20042004-03-22
tnk wrote:

> Jerry Avins <jya@ieee.org> wrote in message news:<405e410b$0$3065$61fed72c@news.rcn.com>... > >>tnk wrote: >> >> >>>Jerry Avins <jya@ieee.org> wrote in message news:<405daace$0$3066$61fed72c@news.rcn.com>... >>> >>> >>>>tnk wrote: >>>> >>>> >>>> >>>>>Jerry Avins <jya@ieee.org> wrote in message news:<405c7e6e$0$3067$61fed72c@news.rcn.com>... >>>>> >>>>> >>>>> >>>>>>tnk wrote: >>>>>> >>>>>> ... >>>>>> >>>>>> >>>>>> >>>>>> >>>>>>>Yeah, I use it through DHL. So it shouldn't be problem, but it still >>>>>>>give me problem. :( >>>>>>> >>>>>>>tnk >>>>>> >>>>>>What is DHL? What do you want it to do? How does it fail? >>>>>> >>>>>>Jerry >>>>> >>>>> >>>>>DHL mean host link driver provided by ti dsp bios. >>>>> >>>>>tnk >>>> >>>>OK. If your program doesn't poll and there's no physical interrupt, how >>>>does it know that data arrived on the link? >>>> >>>>Jerry >>> >>> >>>It is arranged by host link driver. That's the reason why bios is >>>here. First host channel manager is specified. from there, you have >>>two options. One is using pip model to drive this host channel >>>manager. The another one is linking this host channel manager to the >>>host link driver and treat the channel manager as device. After that >>>underlying this device to a Stream IO manager. from there, by right, >>>this SIO manager can be used to communicate with host from target. by >>>left, it can't be done until now. :( . If you confuse what I am >>>writing, please refer to TI DSP/BIOS user reference. >>> >>>tnk >> >>The BIOS isn't magical. If it isn't executing and no external interrupt >>starts it, it might as well not be there. A DMA engine might move >>incoming data to RAM without program intervention, but if no interrupt >>signals that data is in RAM, it might as well not be there. >> >>Jerry > > > That is the reason why I said in my second message that input DHL is > not triggering the interrupt. I thought it should trigger the > interrupt but it didn't. any idea how to make it trigger? Thanks... > > tnk
A software interrupt is triggered by a program statement, not an event. You need an external interrupt. These are configured and enabled by setting bits in certain registers. You may need to load the address of the applicable interrupt routine at a specific place in memory, even if the routine you want to use is in the BIOS. I would need to read the manual to be more specific than this, but you can do that as well as I. Jerry -- Engineering is the art of making what you want from things you can get. &#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;
Reply by tnk March 22, 20042004-03-22
Jerry Avins <jya@ieee.org> wrote in message news:<405e410b$0$3065$61fed72c@news.rcn.com>...
> tnk wrote: > > > Jerry Avins <jya@ieee.org> wrote in message news:<405daace$0$3066$61fed72c@news.rcn.com>... > > > >>tnk wrote: > >> > >> > >>>Jerry Avins <jya@ieee.org> wrote in message news:<405c7e6e$0$3067$61fed72c@news.rcn.com>... > >>> > >>> > >>>>tnk wrote: > >>>> > >>>> ... > >>>> > >>>> > >>>> > >>>>>Yeah, I use it through DHL. So it shouldn't be problem, but it still > >>>>>give me problem. :( > >>>>> > >>>>>tnk > >>>> > >>>>What is DHL? What do you want it to do? How does it fail? > >>>> > >>>>Jerry > >>> > >>> > >>>DHL mean host link driver provided by ti dsp bios. > >>> > >>>tnk > >> > >>OK. If your program doesn't poll and there's no physical interrupt, how > >>does it know that data arrived on the link? > >> > >>Jerry > > > > > > It is arranged by host link driver. That's the reason why bios is > > here. First host channel manager is specified. from there, you have > > two options. One is using pip model to drive this host channel > > manager. The another one is linking this host channel manager to the > > host link driver and treat the channel manager as device. After that > > underlying this device to a Stream IO manager. from there, by right, > > this SIO manager can be used to communicate with host from target. by > > left, it can't be done until now. :( . If you confuse what I am > > writing, please refer to TI DSP/BIOS user reference. > > > > tnk > > The BIOS isn't magical. If it isn't executing and no external interrupt > starts it, it might as well not be there. A DMA engine might move > incoming data to RAM without program intervention, but if no interrupt > signals that data is in RAM, it might as well not be there. > > Jerry
That is the reason why I said in my second message that input DHL is not triggering the interrupt. I thought it should trigger the interrupt but it didn't. any idea how to make it trigger? Thanks... tnk
Reply by Jerry Avins March 21, 20042004-03-21
tnk wrote:

> Jerry Avins <jya@ieee.org> wrote in message news:<405daace$0$3066$61fed72c@news.rcn.com>... > >>tnk wrote: >> >> >>>Jerry Avins <jya@ieee.org> wrote in message news:<405c7e6e$0$3067$61fed72c@news.rcn.com>... >>> >>> >>>>tnk wrote: >>>> >>>> ... >>>> >>>> >>>> >>>>>Yeah, I use it through DHL. So it shouldn't be problem, but it still >>>>>give me problem. :( >>>>> >>>>>tnk >>>> >>>>What is DHL? What do you want it to do? How does it fail? >>>> >>>>Jerry >>> >>> >>>DHL mean host link driver provided by ti dsp bios. >>> >>>tnk >> >>OK. If your program doesn't poll and there's no physical interrupt, how >>does it know that data arrived on the link? >> >>Jerry > > > It is arranged by host link driver. That's the reason why bios is > here. First host channel manager is specified. from there, you have > two options. One is using pip model to drive this host channel > manager. The another one is linking this host channel manager to the > host link driver and treat the channel manager as device. After that > underlying this device to a Stream IO manager. from there, by right, > this SIO manager can be used to communicate with host from target. by > left, it can't be done until now. :( . If you confuse what I am > writing, please refer to TI DSP/BIOS user reference. > > tnk
The BIOS isn't magical. If it isn't executing and no external interrupt starts it, it might as well not be there. A DMA engine might move incoming data to RAM without program intervention, but if no interrupt signals that data is in RAM, it might as well not be there. Jerry -- Engineering is the art of making what you want from things you can get. &#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;
Reply by tnk March 21, 20042004-03-21
Jerry Avins <jya@ieee.org> wrote in message news:<405daace$0$3066$61fed72c@news.rcn.com>...
> tnk wrote: > > > Jerry Avins <jya@ieee.org> wrote in message news:<405c7e6e$0$3067$61fed72c@news.rcn.com>... > > > >>tnk wrote: > >> > >> ... > >> > >> > >>>Yeah, I use it through DHL. So it shouldn't be problem, but it still > >>>give me problem. :( > >>> > >>>tnk > >> > >>What is DHL? What do you want it to do? How does it fail? > >> > >>Jerry > > > > > > DHL mean host link driver provided by ti dsp bios. > > > > tnk > > OK. If your program doesn't poll and there's no physical interrupt, how > does it know that data arrived on the link? > > Jerry
It is arranged by host link driver. That's the reason why bios is here. First host channel manager is specified. from there, you have two options. One is using pip model to drive this host channel manager. The another one is linking this host channel manager to the host link driver and treat the channel manager as device. After that underlying this device to a Stream IO manager. from there, by right, this SIO manager can be used to communicate with host from target. by left, it can't be done until now. :( . If you confuse what I am writing, please refer to TI DSP/BIOS user reference. tnk
Reply by Jerry Avins March 21, 20042004-03-21
tnk wrote:

> Jerry Avins <jya@ieee.org> wrote in message news:<405c7e6e$0$3067$61fed72c@news.rcn.com>... > >>tnk wrote: >> >> ... >> >> >>>Yeah, I use it through DHL. So it shouldn't be problem, but it still >>>give me problem. :( >>> >>>tnk >> >>What is DHL? What do you want it to do? How does it fail? >> >>Jerry > > > DHL mean host link driver provided by ti dsp bios. > > tnk
OK. If your program doesn't poll and there's no physical interrupt, how does it know that data arrived on the link? Jerry -- Engineering is the art of making what you want from things you can get. &#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;
Reply by tnk March 21, 20042004-03-21
Jerry Avins <jya@ieee.org> wrote in message news:<405c7e6e$0$3067$61fed72c@news.rcn.com>...
> tnk wrote: > > ... > > > Yeah, I use it through DHL. So it shouldn't be problem, but it still > > give me problem. :( > > > > tnk > > What is DHL? What do you want it to do? How does it fail? > > Jerry
DHL mean host link driver provided by ti dsp bios. tnk
Reply by Jerry Avins March 20, 20042004-03-20
tnk wrote:

   ...

> Yeah, I use it through DHL. So it shouldn't be problem, but it still > give me problem. :( > > tnk
What is DHL? What do you want it to do? How does it fail? Jerry -- Engineering is the art of making what you want from things you can get. &#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;&#2013266095;