bluesky96 Posted June 15, 2010 Report Share Posted June 15, 2010 Hi, I'm using LabVIEW to implement on Spartan 3E FPGA. Tests of the design was okay but everytime the tests exceeds a certain amount of time the program stop executing and shows a the message "Error 1111: Release Semaphore called on a semaphore that was not currently acquired. " and then a VI called Spartan3E_ReadBigControlVI opens its frontal panel with prompt to enter a password???.Notice that i didn't use any semaphore functions. I'm using host target communication (Host VI and FPGA VI). PS. if the test does not take time ( small amount of data) the FPGA works fine but if i increase the amount of data the FPGA will start working but after a while the message and the VI mentioned above appears. Quote Link to comment
Mellroth Posted June 15, 2010 Report Share Posted June 15, 2010 ...if the test does not take time ( small amount of data) the FPGA works fine but if i increase the amount of data the FPGA will start working but after a while the message and the VI mentioned above appears... Hi bluesky96, welcome to LAVA. It would be much easier for us to help if you could attach the code. Right now I can only guess that some of the functions that you use, actually references the semaphore VIs. Are you using DMA to transfer data back and forth to the FPGA? If so, are you sure that all data is read by the other side before continuing? /J Quote Link to comment
asbo Posted June 15, 2010 Report Share Posted June 15, 2010 I'm going to guess you're using some kind of LabVIEW toolkit that came with the Spartan 3E? Quote Link to comment
jgcode Posted June 15, 2010 Report Share Posted June 15, 2010 I'm going to guess you're using some kind of LabVIEW toolkit that came with the Spartan 3E? NI has a driver released for academic use. If anyone is interested below are some handy links: Here is a starter kit with tutorials. Here is more info on the project and driver download details. Quote Link to comment
bluesky96 Posted June 16, 2010 Author Report Share Posted June 16, 2010 Thanks for responding to my post, Mellroth - I'm using read /write function to communicate with the FPGA not DMA. Anyhow here is snap shot of my code. I have already checked sync between FPGA and Host and it's OK. Notice that performing test using 1000 bit with 10 different runs is OK but i need to increase the number of runs to 10000 run to obtain smooth probability of error (BER) curve and that's when the problem appears. Quote Link to comment
bmouring Posted July 26, 2010 Report Share Posted July 26, 2010 Hi bluesky96, Mellroth is indeed correct: the interface code behind the scenes is using LV semaphores to try to make things safe. It was determined that this code was problematic (as you're seeing now) and was redesigned in the upcoming release of the package to be much more robust. As such, unfortunately there is precious little you can do to solve this particular problem other than trying to reconfigure your design a bit to try to avoid the issue you're running into or wait for the impending release Quote Link to comment
bmouring Posted August 22, 2010 Report Share Posted August 22, 2010 bluesky96 The latest release of the Spartan 3E Starter board support has been released for LabVIEW 2010. It can be downloaded here 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.