I developed a board with STM8S003F3 (20 pin) controller on it. I'm trying to connect the board via SWIM but i'm not able to. I'm seeking help to connect my own developed board via SWIM using STM8S Development Kit's programmer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-03-26 03:06 AM
**To confirm connections, I did SWIM on STM8SDiscoveryKit and STM8S103FP6 breakout board & it worked well.
My board connections are as follows (STM8S Development Kit's Programmer ---> STM8S003F3):
VDD -> pin 9
SWIM -> pin 18
GND -> pin 7 (GND)
NRST -> pin 4
NOTE:
- I've connected 1uF tantalum polarized capacitors across pin 7 and pin 8(Vss & Vcap)
- 0.1uf across pin 4 and pin 7 (NRST & Vss)
- 1uf tantalum polarized capacitors across pin 7 and pin 9 (Vss & Vdd)
** Attachments below shows the error i get while trying SWIM interface on STVD & STVP.
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-04-07 10:22 PM
Thank you for the reply , I've found the issue apparently ; I replaced my on board controller IC and it worked with same connection as i mentioned in my question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-03-31 05:57 AM
Hi Nikhil!
If you want help, post some more info: schematics (is the SWIM pin free or something connected to it?), is the MCU not already programmed with pin RESET disabled?
Did you not plug the SWIM cable reversed? Are the jumpers ok set on your Discovery board?
Check all this and it will surely work!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-03-31 07:40 AM
Your MCU oscillator must be up and clocking to be able to go to SWIM mode
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-04-07 10:22 PM
Thank you for the reply , I've found the issue apparently ; I replaced my on board controller IC and it worked with same connection as i mentioned in my question.