Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® 5 > Port Acquire Error

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



Port Acquire Error
Moderator:
ANCY

Post Reply
Follow this topic



Port Acquire Error

Maduna posted on 09 Jan 2012 12:59 AM PST
Top Contributor
38 Forum Posts

Hi

I am having a port acquire error with my MiniProg 3 with the error message

dbg.M0039: There was an error running port acquire. There may be no devices attached, or a device may be in use by another application.


There was an error attempting to run the port acquire command. This is often a result of no supported devices being attached, or a device being used by another application. Ensure that everything is properly connected, and that no other application is using the device and try again

Any pointers for a solution to this.... ?




Re: Port Acquire Error

Bob Marlowe posted on 09 Jan 2012 03:21 AM PST
Top Contributor
1768 Forum Posts

There are several possible reasons for that. If this worked before, a re-boot of your system would be a first try. If it didn't work before I would check (change) the cables and the settings.

Miniprog 3? Did you connect and set parameters correctly for SWD (Tools->Options->Programming/Debug->Miniprog3)

Bob



Re: Port Acquire Error

U2 posted on 10 Jan 2012 10:25 PM PST
Cypress Employee
589 Forum Posts

Most often this happens if your device is not powered and connectivity issues. Please check your power supply and cables. Also make sure that no other application(like USB-I2C bridge) does not use Miniprog3.



Re: Port Acquire Error

kmmankad posted on 10 Jan 2012 08:13 PM PST
Top Contributor
268 Forum Posts

I too have faced this a number of times.As U2 said,it could be that another application is using it.

But the solution that works best for me is to open a new instance of PSoC Programmer,and program the hex file using that,given that all connections are okay.



Re: Port Acquire Error

kmmankad posted on 10 Jan 2012 08:14 PM PST
Top Contributor
268 Forum Posts

Yes,I know that both use the same underlying code,Creator uses its COM object,but still...Programmer has yet to fail me when Creator has.



Re: Port Acquire Error

Maduna posted on 24 Jan 2012 03:38 AM PST
Top Contributor
38 Forum Posts

Hi

Potential solution.

I've realised that whenever i try to program the PSoC chip on the development board without my target board  powerer(i.e. my robot being controlled) i register this problem and whenever i switch the power on to my target application the port acquire executes successful.

Thanks for the efforts. Everything is working well now and i'm not having any problems now

 



Re: Port Acquire Error

Gautam Das posted on 24 Jan 2012 03:52 AM PST
Cypress Employee
742 Forum Posts

Device not being powered was the root cause for the Port Acquire failure.

Note that you can power the PSoC Device using Miniprog3, but if there are other high current consuming components on your robot which share the supply voltage with PSoC, using this as a supply is not advisable.






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Spec No: None; Sunset Owner: GRAA; Secondary Owner: RAIK; Sunset Date: 01/01/20