Author Topic: STM32 cube programmer, "new-all-in-one-software-tool-bling"  (Read 9913 times)

0 Members and 1 Guest are viewing this topic.

Offline MTTopic starter

  • Super Contributor
  • ***
  • Posts: 1616
  • Country: aq
STM32 cube programmer, "new-all-in-one-software-tool-bling"
« on: December 27, 2017, 11:35:59 pm »
Just noticed ST try to promote one big fat "memory sucking" oracle java dependent software package...Farewell ST link! :-BROKE https://community.st.com/thread/46162-stm32cubeprogrammer-new-all-in-one-software-tool
« Last Edit: December 29, 2017, 01:12:25 pm by MT »
 

Offline Yansi

  • Super Contributor
  • ***
  • Posts: 3893
  • Country: 00
  • STM32, STM8, AVR, 8051
Re: STM32 cube programmer, "new-all-in-one-software-tool-bling"
« Reply #1 on: December 27, 2017, 11:47:38 pm »
I've not been at work for a bit, and know I should be afraid to enter!

This is seriously bad.  :horse: :wtf: :rant:
 

Offline richardman

  • Frequent Contributor
  • **
  • Posts: 427
  • Country: us
Re: STM32 cube programmer, "new-all-in-one-software-tool-bling"
« Reply #2 on: December 28, 2017, 05:49:56 pm »
Post has been removed...
// richard http://imagecraft.com/
JumpStart C++ for Cortex (compiler/IDE/debugger): the fastest easiest way to get productive on Cortex-M.
Smart.IO: phone App for embedded systems with no app or wireless coding
 

Offline Yansi

  • Super Contributor
  • ***
  • Posts: 3893
  • Country: 00
  • STM32, STM8, AVR, 8051
Re: STM32 cube programmer, "new-all-in-one-software-tool-bling"
« Reply #3 on: December 28, 2017, 06:15:33 pm »
Yeah, unexpected corporate censorship took place. What an "unexpected error".  :horse:
 

Offline AndyC_772

  • Super Contributor
  • ***
  • Posts: 4228
  • Country: gb
  • Professional design engineer
    • Cawte Engineering | Reliable Electronics
Re: STM32 cube programmer, "new-all-in-one-software-tool-bling"
« Reply #4 on: December 28, 2017, 06:49:56 pm »
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.

Offline Dubbie

  • Supporter
  • ****
  • Posts: 1115
  • Country: nz
Re: STM32 cube programmer, "new-all-in-one-software-tool-bling"
« Reply #5 on: December 28, 2017, 06:53:23 pm »
Anyone got a link that works?
 

Online SiliconWizard

  • Super Contributor
  • ***
  • Posts: 14476
  • Country: fr
Re: STM32 cube programmer, "new-all-in-one-software-tool-bling"
« Reply #6 on: December 28, 2017, 07:17:34 pm »
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.
 

Offline Dubbie

  • Supporter
  • ****
  • Posts: 1115
  • Country: nz
Re: STM32 cube programmer, "new-all-in-one-software-tool-bling"
« Reply #7 on: December 28, 2017, 07:30:19 pm »
http://www.st.com/en/development-tools/stm32cubeprog.html

Not 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
 

Online SiliconWizard

  • Super Contributor
  • ***
  • Posts: 14476
  • Country: fr
Re: STM32 cube programmer, "new-all-in-one-software-tool-bling"
« Reply #8 on: December 28, 2017, 07:54:23 pm »
http://www.st.com/en/development-tools/stm32cubeprog.html

Not 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

It'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.
 

Offline Dubbie

  • Supporter
  • ****
  • Posts: 1115
  • Country: nz
Re: STM32 cube programmer, "new-all-in-one-software-tool-bling"
« Reply #9 on: December 28, 2017, 08:00:41 pm »
Ah, maybe they poached some of the programmers from Keysight Benchview!
 

Offline Yansi

  • Super Contributor
  • ***
  • Posts: 3893
  • Country: 00
  • STM32, STM8, AVR, 8051
Re: STM32 cube programmer, "new-all-in-one-software-tool-bling"
« Reply #10 on: December 28, 2017, 08:43:36 pm »
http://www.st.com/en/development-tools/stm32cubeprog.html

Not 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

And 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.
 

Offline NorthGuy

  • Super Contributor
  • ***
  • Posts: 3146
  • Country: ca
Re: STM32 cube programmer, "new-all-in-one-software-tool-bling"
« Reply #11 on: December 28, 2017, 10:46:10 pm »
And 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?

Not 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.
 

Offline MTTopic starter

  • Super Contributor
  • ***
  • Posts: 1616
  • Country: aq
Re: STM32 cube programmer, "new-all-in-one-software-tool-bling"
« Reply #12 on: December 29, 2017, 12:15:56 am »
ST forum seams to have a serious brain collapse, some number of forum  functions dont work
i even got a private message "forum malfunction" which i cant open and read!  ;D

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.  :horse:
« Last Edit: December 29, 2017, 01:25:03 pm by MT »
 

Offline Bruce Abbott

  • Frequent Contributor
  • **
  • Posts: 627
  • Country: nz
    • Bruce Abbott's R/C Models and Electronics
Re: STM32 cube programmer, "new-all-in-one-software-tool-bling"
« Reply #13 on: December 30, 2017, 06:05:51 am »
And 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?
But you do need 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. 

Quote
What for does that heap of crap need almost 2GB of RAM?
To make you buy the latest quad core CPUs with SSDs and 16GB of RAM.

Quote
Even the very unoptimal java things like Minecraft are less resource hungry, than a fucking CubeMx.
True, but we need bloated 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 write optimal code - it would be a nightmare!
 
 

Offline stj

  • Super Contributor
  • ***
  • Posts: 2155
  • Country: gb
Re: STM32 cube programmer, "new-all-in-one-software-tool-bling"
« Reply #14 on: December 30, 2017, 04:47:16 pm »
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.
 

Offline MTTopic starter

  • Super Contributor
  • ***
  • Posts: 1616
  • Country: aq
Re: STM32 cube programmer, "new-all-in-one-software-tool-bling"
« Reply #15 on: December 30, 2017, 06:34:49 pm »
ST said in a post before the crash being happy not having the worst forum software ever! :horse:

 

Offline Yansi

  • Super Contributor
  • ***
  • Posts: 3893
  • Country: 00
  • STM32, STM8, AVR, 8051
Re: STM32 cube programmer, "new-all-in-one-software-tool-bling"
« Reply #16 on: January 19, 2018, 02:49:45 pm »
Bad news...

STlink Utility will not be provided any more in the future. Will be replaced by the java blob of garbage.  :horse: :rant:
 

Online SiliconWizard

  • Super Contributor
  • ***
  • Posts: 14476
  • Country: fr
Re: STM32 cube programmer, "new-all-in-one-software-tool-bling"
« Reply #17 on: January 19, 2018, 07:01:35 pm »
Bad news...

STlink Utility will not be provided any more in the future. Will be replaced by the java blob of garbage.  :horse: :rant:

So 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?

 

Offline djnz

  • Regular Contributor
  • *
  • Posts: 179
  • Country: 00
Re: STM32 cube programmer, "new-all-in-one-software-tool-bling"
« Reply #18 on: January 19, 2018, 08:41:03 pm »
There is a Java GUI, but there is also a very scriptable command line version:


      -------------------------------------------------------------------
                        STM32CubeProgrammer v1.0.0                 
      -------------------------------------------------------------------


Usage :
STM32_Programmer_CLI.exe [command_1] [Agruments_1][[command_2] [Agruments_2]...]

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,bin
                          hex,srec) containing computed CRC values
                          To 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 control
                          Value in {OFF,Hardware,Software} ..., default OFF
     [noinit=noinit_bit]: Set No Init bits, value in {0,1} ..., default 0
    JTAG/SWD debug port optional parameters: 
     [freq=<frequency>] : Frequency in KHz. Default frequencies:
                          4000 SWD 9000 JTAG with STLINKv2
                          24000 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:
     [all]              : Erase all sectors
     [<sectorsCodes>]   : Erase the specified sectors identified by sectors
                          codes. ex: 0, 1, 2 to erase sectors 0, 1 and 2
     [<[start end]>]    : Erase the specified sectors starting from
                          start 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 downloaded
                          values should be separated by space
 -v,     --verify       : Verify if the programming operation is achieved
                          successfully
 -r32                   : Read a 32-bit data from device memory
     <address>          : Read start address
     <size>             : Size of data
 -rst                   : Reset system
 -hardRst               : Hardware reset
                          Available 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 RDP
                          level from level 1 to level 0.

 -ob,    --optionbytes  : This command allows the user to manipulate the device
                          's OptionBytes by displaying or modifying them.
      [displ]           : This option allows the user to display the whole set
                          of Option Bytes.
      [OptByte=<value>] : This option allows the user to program the given
                          Option Byte.

 

Offline mbless

  • Regular Contributor
  • *
  • Posts: 227
  • Country: 00
Re: STM32 cube programmer, "new-all-in-one-software-tool-bling"
« Reply #19 on: January 19, 2018, 08:45:17 pm »
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.
 

Offline Yansi

  • Super Contributor
  • ***
  • Posts: 3893
  • Country: 00
  • STM32, STM8, AVR, 8051
Re: STM32 cube programmer, "new-all-in-one-software-tool-bling"
« Reply #20 on: January 19, 2018, 08:49:15 pm »
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. >:D  (Yes, I hate it).  ;D

I need a working tool that does the job, I do not want to spend half a day playing around with command line.
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11260
  • Country: us
    • Personal site
Re: STM32 cube programmer, "new-all-in-one-software-tool-bling"
« Reply #21 on: January 19, 2018, 08:52:24 pm »
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.
Alex
 
The following users thanked this post: Siwastaja

Offline mbless

  • Regular Contributor
  • *
  • Posts: 227
  • Country: 00
Re: STM32 cube programmer, "new-all-in-one-software-tool-bling"
« Reply #22 on: January 19, 2018, 09:15:58 pm »
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. >:D  (Yes, I hate it).  ;D

I need a working tool that does the job, I do not want to spend half a day playing around with command line.

You must be an edgy 14 year old   :clap:
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf