DSPRelated.com
Forums

ADSP21992eval looses connect to Visual DSP

Started by AJ September 5, 2003
Hi there,

I do have some problems with my ADSP 21992 EVAL-Board. The board runs 
fine as long as I communicate via the USB Interface with the board.
If there is a 10 minute break in the USB communcation (just writeing 
code under Visual DSP++ 3.0) without using the board - VisualDSP loose 
the connection with the board. The error message comes up:

	Error reading opcode for breakpoint at address: 0x00029f.
	Error reading target memory.  Address: 0x275, Length: 30
	Error reading target memory.  Address: 0x275, Length: 30

For getting connect again I have to close Visual DSP, deactivete the 
Board in the Device Manager, reset and activate the board and start 
Visual DSP again.

Does anyone have an idea how to fix that.

Second issue:

I tried to configure the ADC_DMA Transfer. The desriptor loads correct 
into its IO registers and the DMA controller awaits data. The ADC is 
configured to DMA Single Channel Acquisition, with SOFTCONVST trigger. 
But the transfer does not start when the SOFTCONVST bit is triggered by 
software. I am also not sure about which ADC-CLK-speed to select.


thanks an regards

alex

AJ wrote:

> Hi there, > > I do have some problems with my ADSP 21992 EVAL-Board. The board > runs fine as long as I communicate via the USB Interface with the > board. If there is a 10 minute break in the USB communcation (just > writeing code under Visual DSP++ 3.0) without using the board - > VisualDSP loose the connection with the board. The error message > comes up: > > Error reading opcode for breakpoint at address: 0x00029f. > Error reading target memory. Address: 0x275, Length: 30 > Error reading target memory. Address: 0x275, Length: 30 > > For getting connect again I have to close Visual DSP, deactivete > the Board in the Device Manager, reset and activate the board and > start Visual DSP again. >
Does this happen only, if the DSP is running during this break? What, if you halt the target, and then wait 10minutes? Bernhard -- before sending to the above email-address: replace deadspam.com by foerstergroup.de
Bernhard Holzmayer wrote:
> AJ wrote: > > >>Hi there, >> >>I do have some problems with my ADSP 21992 EVAL-Board. The board >>runs fine as long as I communicate via the USB Interface with the >>board. If there is a 10 minute break in the USB communcation (just >>writeing code under Visual DSP++ 3.0) without using the board - >>VisualDSP loose the connection with the board. The error message >>comes up: >> >>Error reading opcode for breakpoint at address: 0x00029f. >>Error reading target memory. Address: 0x275, Length: 30 >>Error reading target memory. Address: 0x275, Length: 30 >> >>For getting connect again I have to close Visual DSP, deactivete >>the Board in the Device Manager, reset and activate the board and >>start Visual DSP again. >> > > > Does this happen only, if the DSP is running during this break? > What, if you halt the target, and then wait 10minutes? > > Bernhard >
if I do halt the target, it looses connect after 5 - 15 min. if it�s running same result, but no error message. if I rebuild my project while the processor is running and transfer the prog to the board, the board resets and keeps silent, selecting a session in Visual DSP the Session manager terminates with: error connecting to target. alex
AJ wrote:

> Bernhard Holzmayer wrote: >> AJ wrote: >> >> >>>Hi there, >>> >>>I do have some problems with my ADSP 21992 EVAL-Board. The board >>>runs fine as long as I communicate via the USB Interface with the >>>board. If there is a 10 minute break in the USB communcation >>>(just writeing code under Visual DSP++ 3.0) without using the >>>board - VisualDSP loose the connection with the board. The error >>>message comes up: >>> >>>Error reading opcode for breakpoint at address: 0x00029f. >>>Error reading target memory. Address: 0x275, Length: 30 >>>Error reading target memory. Address: 0x275, Length: 30 >>> >>>For getting connect again I have to close Visual DSP, deactivete >>>the Board in the Device Manager, reset and activate the board and >>>start Visual DSP again. >>> >> >> >> Does this happen only, if the DSP is running during this break? >> What, if you halt the target, and then wait 10minutes? >> >> Bernhard >> > if I do halt the target, it looses connect after 5 - 15 min. > if it?s running same result, but no error message. if I rebuild my > project while the processor is running and transfer the prog to > the board, the board resets and keeps silent, selecting a session > in Visual DSP the Session manager terminates with: > > error connecting to target. > > alex
I watched two reasons for loss of connection: 1) bad cable: I changed the USB connection cable - helped. 2) programming error: registers were spoiled during stacked interrupts, this happened only after long time but if you watch the effect even if target is halted, this cannot be the case in your situation. Bernhard -- before sending to the above email-address: replace deadspam.com by foerstergroup.de
I tried the cable but it doesn?t do anything good.

thanks anyway


Bernhard Holzmayer wrote:
> AJ wrote: > > >>Bernhard Holzmayer wrote: >> >>>AJ wrote: >>> >>> >>> >>>>Hi there, >>>> >>>>I do have some problems with my ADSP 21992 EVAL-Board. The board >>>>runs fine as long as I communicate via the USB Interface with the >>>>board. If there is a 10 minute break in the USB communcation >>>>(just writeing code under Visual DSP++ 3.0) without using the >>>>board - VisualDSP loose the connection with the board. The error >>>>message comes up: >>>> >>>>Error reading opcode for breakpoint at address: 0x00029f. >>>>Error reading target memory. Address: 0x275, Length: 30 >>>>Error reading target memory. Address: 0x275, Length: 30 >>>> >>>>For getting connect again I have to close Visual DSP, deactivete >>>>the Board in the Device Manager, reset and activate the board and >>>>start Visual DSP again. >>>> >>> >>> >>>Does this happen only, if the DSP is running during this break? >>>What, if you halt the target, and then wait 10minutes? >>> >>>Bernhard >>> >> >>if I do halt the target, it looses connect after 5 - 15 min. >>if it?s running same result, but no error message. if I rebuild my >>project while the processor is running and transfer the prog to >>the board, the board resets and keeps silent, selecting a session >>in Visual DSP the Session manager terminates with: >> >>error connecting to target. >> >>alex > > > I watched two reasons for loss of connection: > 1) bad cable: > I changed the USB connection cable - helped. > 2) programming error: > registers were spoiled during stacked interrupts, > this happened only after long time > but if you watch the effect even if target is halted, > this cannot be the case in your situation. > > Bernhard >