STM32 cube programmer, "new-all-in-one-software-tool-bling" - Page 1
Forum section: electronics / general

author: MT
author_rank: Super Contributor
timestamp: December 27, 2017, 11:35:59 pm
content: Just noticed ST try to promote one big fat "memory sucking" oracle java dependent software package...Farewell ST link!https://community.st.com/thread/46162-stm32cubeprogrammer-new-all-in-one-software-tool

author: Yansi
author_rank: Super Contributor
timestamp: December 27, 2017, 11:47:38 pm
content: I've not been at work for a bit, and know I should be afraid to enter!This is seriously bad.

author: richardman
author_rank: Frequent Contributor
timestamp: December 28, 2017, 05:49:56 pm
content: Post has been removed...

author: Yansi
author_rank: Super Contributor
timestamp: December 28, 2017, 06:15:33 pm
content: Yeah, unexpected corporate censorship took place. What an "unexpected error".

author: AndyC_772
author_rank: Super Contributor
timestamp: December 28, 2017, 06:49:56 pm
content: Oh, marvellous.Sorry folks, this is probably my fault. I told a customer just before Christmas that I was tending to use STM32 in new designs, and that this would mean it'll be easier for him to flash new firmware onto prototypes using an ST-Link cable - a thing I've always found fast and reliable - than the mess that is ICD3 for PIC.I'm not changing CPUs over it, but I have just saved a copy of the ST-link installer and driver.

author: Dubbie
author_rank: Unknown
timestamp: December 28, 2017, 06:53:23 pm
content: Anyone got a link that works?

author: SiliconWizard
author_rank: Super Contributor
timestamp: December 28, 2017, 07:17:34 pm
content: ST-Link utility is still available... does that mean that it's not going to be updated anymore?Anyway, I'm mainly using OpenOCD for STM32 programming, so no real issue for me. Bad thing is, OpenOCD doesn't support programming the configuration words yet (at least for STM32L4), which is annoying.

author: Dubbie
author_rank: Unknown
timestamp: December 28, 2017, 07:30:19 pm
content: http://www.st.com/en/development-tools/stm32cubeprog.htmlNot quite seeing why this is the end of the world. Looks pretty much the same as the st-link utility, just with a bigger UI

author: SiliconWizard
author_rank: Super Contributor
timestamp: December 28, 2017, 07:54:23 pm
content: Quote from: Dubbie on December 28, 2017, 07:30:19 pmIt's become a Java monster. Installation itself leads to 350 MB installed instead of 28 MB.Same trend as what Microchip did. You can just hope that it's at least more stable and less bug-riddled than Microchip's tools, but somehow I sincerely doubt it will be.

author: Dubbie
author_rank: Unknown
timestamp: December 28, 2017, 08:00:41 pm
content: Ah, maybe they poached some of the programmers from Keysight Benchview!

author: Yansi
author_rank: Super Contributor
timestamp: December 28, 2017, 08:43:36 pm
content: Quote from: Dubbie on December 28, 2017, 07:30:19 pmAnd how do you think users that does not need to buy the latest quad core CPUs with SSDs and 16GB of RAM will use these tools?Even now I need to close all web browsers and other stuff to be able to load an empty project in a fucking STM32CubeMx? What for does that heap of crap need almost 2GB of RAM?Even the very unoptimal java things like Minecraft are less resource hungry, than a fucking CubeMx.

author: NorthGuy
author_rank: Super Contributor
timestamp: December 28, 2017, 10:46:10 pm
content: Quote from: Yansi on December 28, 2017, 08:43:36 pmNot important. First, such users don't buy much. Second, you've got to use sound programming principles (ever heard "not reinvent the wheel", "don't try to outsmart the compiler" etc.). If people like the underlying principles, they've got to like the software which results from the applications of the principles.

author: MT
author_rank: Super Contributor
timestamp: December 29, 2017, 12:15:56 am
content: ST forum seams to have a serious brain collapse, some number of forum functions dont worki even got a private message "forum malfunction" which i cant open and read!You have to be logged in to see anything at all right now, and tons of stuff is under "An unexpected error has occurred".Nope, that stopped working as well.

author: Bruce Abbott
author_rank: Frequent Contributor
timestamp: December 30, 2017, 06:05:51 am
content: Quote from: Yansi on December 28, 2017, 08:43:36 pmBut youdoneed to buy the latest quad core CPUs with SSDs and 16GB of RAM. Because if you don't the economy will grind to a halt and it will be the end of civilization as we know it.QuoteTo make you buy the latest quad core CPUs with SSDs and 16GB of RAM.QuoteTrue, but weneedbloated apps like fucking CubeMx to provide an incentive for manufacturers to make even more powerful computers. Everybody wants that, right? Imagine if we didn't have ridiculously powerful PCs, and developers had to writeoptimalcode - it would be a nightmare!

author: stj
author_rank: Super Contributor
timestamp: December 30, 2017, 04:47:16 pm
content: i tried it and it didnt run.something about a missing class module.who cares - st-link 2.1 can flash the target without any software by emulating a memory-stick.

author: MT
author_rank: Super Contributor
timestamp: December 30, 2017, 06:34:49 pm
content: ST said in a post before the crash being happy not having the worst forum software ever!

author: Yansi
author_rank: Super Contributor
timestamp: January 19, 2018, 02:49:45 pm
content: Bad news...STlink Utility will not be provided any more in the future. Will be replaced by the java blob of garbage.

author: SiliconWizard
author_rank: Super Contributor
timestamp: January 19, 2018, 07:01:35 pm
content: Quote from: Yansi on January 19, 2018, 02:49:45 pmSo we got our answer...There are indeed other options to program those chips. OpenOCD, or via DFU, or the memory stick emulation thing. And other third-party programming tools.The only thing I'm wondering for the memory stick emulation and DFU is, can we program the configuration words this way?

author: djnz
author_rank: Regular Contributor
timestamp: January 19, 2018, 08:41:03 pm
content: There is a Java GUI, but there is also a very scriptable command line version:-------------------------------------------------------------------STM32CubeProgrammer v1.0.0-------------------------------------------------------------------Usage :STM32_Programmer_CLI.exe  [ ...]Available commands:-?, -h, --help : Show this help-l, --list : List all available communication interfaces<uart> : UART interface<usb> : USB interface-q, --quietMode : Enable quiet mode. No progress bar displayed-log, --log : Store the detailed output in log file[<file_Path.log>] : Path of the log file,default path = $HOME/.STM32Programmer/trace.log-vb, --verbosity : Specify verbosity level<Level> : Verbosity level, value in {1, 2, 3}-sl, --safelib : Add a segment into a firmware file (elf,binhex,srec) containing computed CRC valuesTo use only with the safety lib component<file_path> : File path to be modified<start_address> : Flash memory start address<end_address> : Flash memory end address<slice_size> : Size of data per CRC value-c, --connect : Establish connection to the device<port=<PortName> : Interface identifer. ex COM1, /dev/ttyS0, usb1,JTAG, SWD...)UART port optional parameters:[br=<baudrate>] : Baudrate. ex: 115200, 9600, etc, default 115200[P=<parity>] : Parity bit, value in {NONE,ODD,EVEN}, default EVEN[db=<data_bits>] : Data bit, value in {6, 7, 8} ..., default 8[sb=<stop_bits>] : Stop bit, value in {1, 1.5, 2} ..., default 1[fc=<flowControl>] : Flow controlValue in {OFF,Hardware,Software} ..., default OFF[noinit=noinit_bit]: Set No Init bits, value in {0,1} ..., default 0JTAG/SWD debug port optional parameters:[freq=<frequency>] : Frequency in KHz. Default frequencies:4000 SWD 9000 JTAG with STLINKv224000 SWD 21333 with STLINKv3[index=<index>] : Index of the debug probe. default index 0[ap=<accessPort>] : Access Port index to connect to. default ap 0[mode=<mode>] : Connection mode. Value in {UR/HOTPLUG/NORMAL}default mode: NORMAL[reset=<mode>] : Reset modes: SWrst/HWrst/Crst. Default mode: SWreset-e, --erase : Erase memory pages/sectors devices: : Erase all sectors[<sectorsCodes>] : Erase the specified sectors identified by sectorscodes. ex: 0, 1, 2 to erase sectors 0, 1 and 2[<[start end]>] : Erase the specified sectors starting fromstart code to end code, ex: -e [5 10]-w, --write-d, --download : Download the content of a file into device memory<file_path> : File path name to be downloaded: (bin, hex, srec,elf, stm32 or tsv file)[<address>] : Start address of download-w32 : Write a 32-bits data into device memory<address> : Start address of download<32-bit_data> : 32-bit data to be downloadedvalues should be separated by space-v, --verify : Verify if the programming operation is achievedsuccessfully-r32 : Read a 32-bit data from device memory<address> : Read start address<size> : Size of data-rst : Reset system-hardRst : Hardware resetAvailable only with JTAG/SWD debug port-r, --read-u, --upload : Upload the device memory content to a .bin file<address> : Start address of read and upload<size> : Size of memory content to be read<file_path> : Binary file path-el, --extload : Select a custom external memory-loader<file_path> : External memory-loader file path-s, --start-g, --go : Run the code at the specified address.[<address>] : Start address-rdu, --readunprotect: Remove memory's Read Protection by shifting the RDPlevel from level 1 to level 0.-ob, --optionbytes : This command allows the user to manipulate the device's OptionBytes by displaying or modifying them. : This option allows the user to display the whole setof Option Bytes.[OptByte=<value>] : This option allows the user to program the givenOption Byte.

author: mbless
author_rank: Regular Contributor
timestamp: January 19, 2018, 08:45:17 pm
content: Personally I'm not going to complain about this because there weren't any native Mac OS flashing tools from STM before. At least we have something now.

author: Yansi
author_rank: Super Contributor
timestamp: January 19, 2018, 08:49:15 pm
content: Nobody cares about commandline and Mac. That stuff is for kids, not for electronics engineering. Almost none tools exist for electronic engineering on that half eaten fruit.(Yes, I hate it).I need a working tool that does the job, I do not want to spend half a day playing around with command line.

author: ataradov
author_rank: Super Contributor
timestamp: January 19, 2018, 08:52:24 pm
content: Are you trolling? I really hope so.Command line is something that is needed for any sort of production work.You don't have to play with it, you figure it once, and then have a script that does the job.

author: mbless
author_rank: Regular Contributor
timestamp: January 19, 2018, 09:15:58 pm
content: Quote from: Yansi on January 19, 2018, 08:49:15 pmYou must be an edgy 14 year old