Another non-AVR Arduino - now it's ST with the STM32

Go To Last Post
14 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Yesterday it was Nordic: https://www.avrfreaks.net/forum/f...

 

Now ST are also jumping on the Arduino bandwagon:

 

http://www.edn-europe.com/news/s...

 

 

Is this the beginning of the end for AVR's (or even Atmel's) dominance of the Arduino scene ... ?

 

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Not until you can get them from china for $3 apiece! 

 

(Possum Lodge oath) Quando omni flunkus, moritati.

"I thought growing old would take longer"

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Interesting as the ST board is not open source and has the ST eval board conditions. Also, i'm confused which Arduino it is .cc or .org ?
Somehow i feel the Arduino brand is being diluted and will become generic.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Kartman wrote:
Interesting as the ST board is not open source and has the ST eval board conditions. Also, i'm confused which Arduino it is .cc or .org ? Somehow i feel the Arduino brand is being diluted and will become generic.

 

It is .org

 

Those of us on STM32Duino which is an Independent project are speculating if this "core" will be on github.  Looks more like an online tool.  Some speculation that the idea of the online tool will be to collect metadata.  In other words they get to look at your code.

 

ST already makes a series of Dev boards called Nucleo that use MBED.  These have the Arduino Shied headers, but are not otherwise Arduino compatible.  Will be interesting to see if the ".org" IDE plugins can be made to work with the Nucleo.  It has also been speculated that ".org" wants to move away from the "open source tools" into a more restrictive online toolchain.

 

ST changed about a year and a half ago over to a GUI code generator called CubeMX. Works on Any popular OS Win$, Linux, Mac. This has a non restrictive license compared to the SPL   Currently the STM32Duino only supports the Maple core from leaflabs, which is abandon ware with a fully open source license  It only supports the STMF103 device. 

 

About a year ago, I was able to use the CubeMX code to do some proof of concept using the CubeMX tool to create templates for most HAL supported STM32 devices.  In the last few months a couple of other contributors have expanded on this.  While not really ready for practical use, It is nice to be able to use the Arduino IDE and compile download sketches through the ST-Link on the Mac.  Others are working on a DFU bootloader.

 

 

Unlike AVR (and the way Atmel did peripherals) ST really dilutes the product families with way to many footprints and options.  That F1 code uses different registers than F4 or L0 code.  ST keeps releasing devices to satisfy marketing bubbles or bullet points.

 

 

 

 

 

.

 

 

Last Edited: Fri. May 20, 2016 - 04:13 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Kartman wrote:
the ST eval board conditions.

Oh dear!

 

For a while, ST have been saying that they want to encourage hobbyists/makers - yet they continue with the complete nonsense of this licence!

 

surprise

 

And this licence is actually a lot better than it used to be!!

 

angry

 

 

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I dare say ST subsidise their boards - which is good for hobbyists as you get good bang for buck. They clearly don't want you using the boards commercially - which is understandable, but it sort of goes against the basis of Arduino - the whole thing open so you can do what you want. We can see .org really want to monetise the whole thing. This might work until the next big thing comes along - what happened to basic stamp? arduino killed that.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

That huge chip looks ridiculous on an Arduino-sized board...

Arduino.cc partners: Atmel, Intel, Adafruit ("Micro"), Sparkfun ("pro mini")

Arduino.org partners: ST, Atheros, Nordic, Adafruit ("Micro"?), Gravitech ("Nano"?)

 

BTW, Intel makes ST look like a veritable priest of OSHW.  The Arduino 101 based on the Intel Curie module has been been shipping for about 6 months now, and an average person still can't get any technical documentation about the Curie.   Sigh.

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

westfw wrote:
That huge chip looks ridiculous on an Arduino-sized board...

Comparison with the Due:

 

Are they really using all those pins?!

 

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Was able to spend a few hours inside the Maker Faire this morning.   The board looks even more strange in reality with that ginormous chip on the board.

 

The IDE core should be out in a week or two.  Was able to speak with one of the people working on it.

 

Interesting that they have the ISP header on the footprint.  I have a shield that uses that to connect to the SPI bus.  Something that makes using this shield on the Nucleo awkward.

 

Also discussed the restrictive licence that was mentioned here.  This  feedback seemed to interest them a lot.  The .org rep was also there.  Basically ST would prefer that there code does not work on GD clones.  They also are aware that this is uncharted territory.   Of course they would like it if people used the ST forums to give feedback as to the pros and cons of this.

 

Looks like there are great changes in the chip making world.  Who would think that the little ol maker faire has become such an important player.  They are there for the next generation and attempting to figure out what it is all about.

 

Atmel still had a presence.  It looked like they had swapped spaces so Microchip hand the high profile space (with Atmel in parenthesis.) I did speak off the record with one of the people I have known from Atmel.  Said that "Microchip is in love with Trondheim and made them a lot of promisees that they should keep."  Also said this was all in the public record.

 

 

 

 

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

that ginormous chip  

I guess there is memory and some substantially sized (display?) connector on the back of the board.  But really; isn't it time to go to BGA when you have that many pins?

 

Interesting that they have the ISP header on the footprint.  I have a shield that uses that to connect to the SPI bus. 

 The ISP connector has become the 'standard' place to pick off the SPI bus.  The first Arduino to use something other than the 28pin chips (the "Arduino Mega") discovered the hard way that SPI had moved and wouldn't talk to shields that expected it to be in the "old" place (Ethernet, D2A, and SD card shields were the big offenders...)

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

westfw wrote:

I guess there is memory and some substantially sized (display?) connector on the back of the board.  But really; isn't it time to go to BGA when you have that many pins?

Yes, but in this market space, the BGA packages can spook the horses.

Such choices can also be over-stock dictated, ST may have a few hundred k of the monster packaged parts on a shelf, and this is a good way to make them work for the company.

 

It's a good way to get attention.

 

westfw wrote:

BTW, Intel makes ST look like a veritable priest of OSHW.  The Arduino 101 based on the Intel Curie module has been been shipping for about 6 months now, and an average person still can't get any technical documentation about the Curie.   Sigh.

 

Yes, intel have the Price right on the D2000, and the part is kind of OK (for intel), but their documentation support  is truly abysmal.

 

Last Edited: Sun. May 22, 2016 - 02:18 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

ST are pretty clueless about Open Source, and also seem to be paranoid about clone devices, to the point of placing ridiculous restrictions on their own customers. STM32 chips are popular with hobby and Open Source projects, but mainly because they are cheap, widely available, and there are open source tools available. But Open Source projects generally don't use the crippled ST software libraries or hardware platforms ("not allowed for commercial use"!).

 

I don't think the "Evaluation Products License Agreement" is even legal, there is no copyright protection on hardware designs, so ST have nothing to license apart from their name. Of course, if ST decline to sell you their boards, they can, so it would be very unwise to include any ST board in a production design.

 

Arduino.org don't have a very track record with Open Source, so it would not surprise me to see a non-Open Arduino.

Bob. Engineer and trainee Rocket Scientist.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have recently had my first succes with Chinese ST32F103C8T6 boards with "RogerClarkMelbourne" (Fork from maple / leaflabs) & arduino ide.

But I haven't done much more with it than a blinking led project yet.

 

For a lot of ARM processors you can also go bare bone. A nice tutorial of how to handle the linker script and startup code can be found at "pandafruits".

hackaday also has a fairly recent and compete ARM tutorial.

Doing magic with a USD 7 Logic Analyser: https://www.avrfreaks.net/comment/2421756#comment-2421756

Bunch of old projects with AVR's: http://www.hoevendesign.com

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Paulvdh wrote:
For a lot of ARM processors you can also go bare bone.

For any processor at all you can go "bare bones" - aka "bare metal".

 

Doesn't matter what processor it is - ARM or other.

 

Doesn't matter if it's on a board painted with "Arduino" or anything else.

 

For example: https://www.element14.com/commun...

 

2013-05-15 Arduino Due uLink 003a-lo.jpg

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...