STLink Upload Method

Post Reply
VadimEL
Posts: 66
Joined: Sat Aug 13, 2016 1:28 pm

STLink Upload Method

Post by VadimEL » Sat Jan 07, 2017 2:24 pm

It is possible to load program, and do not use bootloader(just erase it)?

I try to get more ROM for my program.

And upload firmware using stlink, but program do not start at all.





Code: Select all

STM32 ST-LINK Command Line Interface

ST-LINK SN : 49FF6A065065515139430887
ST-LINK Firmware version : V2J27S6
Connected via SWD.
SWD Frequency = 1800K.
Connection mode : Normal.
Device ID:0x410 
Device flash Size : 128 Kbytes
Device family :STM32F10xx Medium-density

Loading file...
Flash Programming:
  File : C:\DOCUME~1\Vadim\LOCALS~1\Temp\build21cda060751ca53be92665d981adb7a3.tmp\PVS.ino.bin
  Address : 0x08000000
Flash memory programming...
±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±± 0%
 0%ЫЫЫ 6%ЫЫЫ 13%ЫЫЫЫ 20%ЫЫЫ 27%ЫЫЫЫ 34%ЫЫЫ 41%ЫЫЫЫ 48%ЫЫЫ 55%ЫЫЫЫ 62%ЫЫЫ 69%ЫЫЫЫ 76%ЫЫЫ 83%ЫЫЫЫ 90%ЫЫЫ 97%ЫЫ 100%
Flash memory programmed in 9s and 156ms.
Programming Complete.

MCU Reset.

Application started.

Attachments
загрузка через arduino STLINK.JPG
загрузка через arduino STLINK.JPG (115.79 KiB) Viewed 641 times

danieleff
Posts: 336
Joined: Thu Sep 01, 2016 8:52 pm
Location: Hungary
Contact:

Re: STLink Upload Method

Post by danieleff » Sat Jan 07, 2017 2:41 pm

Yes it should work and give you more flash size. Try to upload blink example first.

VadimEL
Posts: 66
Joined: Sat Aug 13, 2016 1:28 pm

Re: STLink Upload Method

Post by VadimEL » Sat Jan 07, 2017 3:52 pm

danieleff blink is work well.

Post Reply