Skip navigation

This Question is Assumed Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
493 Views 5 Replies Last post: Feb 11, 2010 3:23 AM by kt1 RSS
kt1 Contributor 6 posts since
Dec 29, 2009
Currently Being Moderated

Feb 8, 2010 11:21 PM

btc error

Hi,

 

I encountered a problem on btc which it says "readDWord error"  and the btc plot window hanged. I will then be asked to disconnect my USB connection from the PC to the development board. I am using btc_write_value function wth the btc_poll placed inside a while loop ( waiting for interrupt to trigger). Does anyone has a solution to that?

 

Thank you.

 

From,

KT

CraigG Analog Employee 444 posts since
Jan 29, 2009
Currently Being Moderated
1. Feb 9, 2010 5:27 AM in response to: kt1
Re: btc error

Hi,

 

So that we can look into this error, can you provide some additional information.

 

First, what version and update of VisualDSP++ are you using? e.g. VisualDSP++ 5.0 Update 7?

 

As you are using the btc_write_value() function, I understand you are using Blackfin. Which processor are you targeting?

 

What connection method do you use with your target? e.g. is it an EZ-KIT Lite via USB Debug Agent, or are you connecting to your target via an Emulator (and which emulator)?

 

If you are using an HPUSB-ICE, can you tell us which JTAG frequency you are using?

 

 

I assume you have Auto-refresh enabled in the Plot window; can you ensure that you are not reading from the target faster than the BTC channel is being written to. For example, if you are writing a single value to BTC 4 times a second, but the plot window is refreshing at 150ms, it will be reading an empty BTC buffer on occasion, which could cause problems.

 

You may also want to ensure that btc_poll() is in a section of code that is frequently called, as the BTC poll function must be regularly serviced.

 

regards,

Craig.

CraigG Analog Employee 444 posts since
Jan 29, 2009
Currently Being Moderated
4. Feb 10, 2010 4:46 AM in response to: kt1
Re: btc error

Hi,

 

I'm not sure what is causing the noise on the ADC when BTC is used, nor is it clear exactly why the BTC is failing in this case. So, we would like to get your code to take a closer look and debug these issues.

 

Can you please contact us through private support, via the link below.

http://www.analog.com/processors/support

 

Please also take a look at Guidelines on Reporting VisualDSP++ Development Tools Issues and provide all relevant information when submitting your support request.

 

thanks,

Craig.

More Like This

  • Retrieving data ...

Bookmarked By (0)