2017-10-10 07:07 AM
The title says it all.
#bug Note: this post was migrated and contained many threaded conversations, some content may be missing.2017-10-13 11:14 AM
As a saying goes: 'Never look a gift horse in the mouth.' In my native language, that proverb even rhymes.
That doesn't mean to bet on that horse when much depends on it.
I use Cube code & Co. sometimes as a shortcut for peripheral initialization sequences - but still crosscheck with the RM.
The generated application framework and confiscation of system ressources (like SysTick) is - IMHO - questionable to say the least.
I discarded it at the first try. Good for a beginner's prototype, but that's it.
I believe the Cube coder team has trouble to keep up with the silicon designers. Adding new parts and peripherals to the code generator is more promising than bug fixes. Especially for a free software.
For a commercial project, I would drop any dependency on Cube.
2017-10-13 02:22 PM
Actually I though it meant not to look at it's teeth, and determine it is an old gift ready for the knackers yard.
Free horse, be happy what you paid for it.
2017-10-14 11:11 AM
Actually I though it meant not to look at it's teeth, ...
May well be. I use a dictionary for phrases I can't 'match' myself.
... and determine it is an old gift ready for the knackers yard.
Albeit this is not part of said proverb in my language, it very well applies to the Cube issue.
2017-10-14 12:16 PM
Beware of Greeks bearing gifts... - People of Troy..
Generally the purpose of pulling other people's code into a project is to reduce the defect density compared to writing the code oneself, not increasing and introducing latent defects.
2017-10-15 04:39 AM
Companies pay tens or hundreds of thousands for bucks for certified libraries or OS-es, and this still pays of.
Just to put the expectations on the free Cube software into perspective.
2017-10-15 10:50 AM
Cube and CubeMX is in no means free, if you meant it as in free beer.
Even I, the Cube hater, pay for it.
JW
2017-10-15 11:45 AM
It is a buried cost, ST has no doubt buried several $M to code and support it out of the $B it has pulled in selling the STM32 parts to you and others.
Businesses frequently see employees as buried costs, and will have them waste man-weeks on non-sense that a half competent contractor could fix in a few hours.
2017-10-16 01:35 AM
In abroader sence, you are right of course.
But many people get fooled by the non-existent upfront payment, unfortunately (it seems) not only noobs.
The $M+ buyers may be able to deflect that cost back to ST, but that just exacerbates my problem further.
In my experience, the $M+ buyers deflect the cost by ignoring Cube alltogether, and pointing to competitivly priced devices (quite often MCP).
And with a little thougt, it should be clear that auto-generated code from a free tool (freely avaliable, no direct payment) does not provide a competitive advantage ...