- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have been working on custom designed board with CYBLE-014008-00 of BLE-4200 family. I was able to configure on board relays and LED. I started with Bluetooth and was able to run BLE findme profile. After installing CySmart application in iPhone device I was able to use FindMe profile along with immediate alert service. This is all done in past few days.
Today I tried to program the board with little changes in code but I was unable to do so in many attempts. When going for program / debug during target selection it is not showing my device since morning.
Key-points :
- Board works on 12 V and Power adapter is supplying 12V
- I am using SWD method for programming abd On SWD 5 pin connector I am able to see 3.3 V supply.
- Miniprog3 can be seen in device manager. Also MiniProg3 status LED is green.
- In PSoC Creator device selector I am selecting my device properly.
- As I was unable to program the board, I uninstalled PSoC Creator & programmer and then installed again, but issue persists.
- As mentioned above I was able to program device with BLE code, My device still pairs with iphone application and I can recieve alerts too due to code flashed yesterday evening. PSoC board is running code that was programmed yesterday, but I am unable to program it .
Please suggest a way forward. Can't share schematic and have only one board.
If you have any ideas or things that I should try, please suggest.
Solved! Go to Solution.
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I would say there is an error in the connections to the chip for the programming circuit. We are not able to determine what it is as you won't share the Schematic. Also the Schematic could be okay but the board layout could have an error. Also have you tried to program the unit with the power off? Does that work? Your chip could be defective due to an ESD issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Error code - Warning: dbg.M0039: There was an error running port acquire: Can not acquire SWD device!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Update -
To narrow down cause of issue, I tried loading hex files with help of PSoC programmer. MiniPgog3 is connected and powered (bottom right), but unable to erase flash or write image. See image below
Console window says :
Check
- the connection between the programmer and the PSoC
Not checked yet
- the correct programming protocol is selected
I selected SWD, which I was using earlier.
- the correct connector option is selected.
I selected 5-pin, because we are using 5-pin
It seems MiniProg3 is working fine, but issue is connection between MiniProg3 and the PSoC. Does that means my board is broke, but remember board is running program(yesterday programmed) very well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I see a warning before the erase concerned with powering the target. Are you providing power through miniprog3 and externally or have you got a short on your 3.3V supply (Measure)
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No there is no short circuit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I would say there is an error in the connections to the chip for the programming circuit. We are not able to determine what it is as you won't share the Schematic. Also the Schematic could be okay but the board layout could have an error. Also have you tried to program the unit with the power off? Does that work? Your chip could be defective due to an ESD issue.