The issue seems to be with the port acquisition. PSoC Creator is not able to acquire the port because the port might be acquired by PSoC programmer. So could you please try closing all the programs such as PSoC programmer, Bridge Control Panel etc., and try programming the device only using the PSoC Creator.
Rakshith M B
That's what I've been doing since the beginning, but it does not solve anything.
Try this, unplug your MiniProg3 tool from your PC -> wait 5-10 seconds -> attach the MiniProg3 again to your PC so that it is enumerated.
Now try to run using PSoC Creator to flash your PSOC. Does that work for you? If yes, then some other application in your box is hooking into the MiniProg3 tool and therefore the tool cannot be used by PSoC Creator at the same time.
No, it doesn't work.
PSoC Creator messages are :
Select ..., Programming,
and 30s later Error programming : ... .dbg.M0023
I did all these things 3 days ago.
Obviously the problem comes from PSoC Creator under Windows 7.
Will test tommorow in the lab. Have the ccg3pa evk and a windows 7 box to test with. More later...
For information following the various tests :
- At work with a PC under Windows7 SP1 with all updates :
- With PSoC Creator 4.1 everything is working.
- After installation of PSoC Creator 4.2 :
- I cannot program flash with PSoC Creator directly.
- If I use the PSoC Programmer 3.28.4 program directly, the programming is done correctly.
- At home with a PC under Windows 10 and same hardware, everything is working.
During programming of the target device the chip first enters Internal Reset mode. After this the system boot code starts execution from the SROM. The CPU then waits for up to a duration of 400 us before which the SWD port of the target needs to be acquired by sending a sequence of SWD commands. The recommended minimum frequency of the programmer is 1.5 MHz, which meets the timing requirement of the Acquire Device step.
For more information regarding Acquire Device step in the Programming Flow Algorithm refer Section 4.3 'Step 1A – Acquire the Chip After Hard Reset' in Page 19 of 'CY8C4xxx, CYBLxxxx Programming Specifications' document -
The clock speed settings can be found here and needs to be changed to 1.6 MHz -
Tools >> Options >> Program/Debug >> Port Configuration >> MiniProg3
Also please share the details of the target device that you are currently working on.
Rakshith M B
Ok, it is working with 1.6MHz.
an observation :
- To change the speed that was before at 0.8MHz, access to the menu and the different parameters
takes between 10 and 20s for each click !
- After changing frequency, all access to the menu \ Select Target are correct.
My target device is : CY8C5868AXI-LP035.