How to reset MCU through SWIM and command line
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2010-04-21 4:34 PM
Posted on April 22, 2010 at 01:34
How to reset MCU through SWIM and command line
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 6:08 AM
Posted on May 17, 2011 at 15:08
Stefan,
Thank you for your reply. The solution you offered worked fine and it is just what I wanted. Thanks again Regards, Sia EnayatiOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 6:08 AM
Posted on May 17, 2011 at 15:08
You can use gdb7.exe to restart mcu after programming.
I use the following command line: gdb7.exe --quiet --command=restart_mcu.ini Content of restart_mcu.ini <-----------schnipp-------------> # # define emulator reset port and MCU # define emulator-reset-port-mcu target gdi -dll swim\stm_swim.dll -stlink3 -port $arg0 -mcuname $arg1 mcuname -set $arg1 end # # reset command and quit # emulator-reset-port-mcu usb://usb stm8s105c6 quit <-----------schnapp-------------> You have to replace the mcu type (here stm8s105c6) to the one you are using. Regards, Stefan