Author Topic: Moving from Arduino to STM32F072  (Read 1887 times)

0 Members and 1 Guest are viewing this topic.

Offline JesterTopic starter

  • Frequent Contributor
  • **
  • Posts: 887
  • Country: ca
Moving from Arduino to STM32F072
« on: March 04, 2018, 09:38:46 pm »
In a previous post, I asked for suggestions on libraries and suitable uC to drive a QVGA display in this post:
  https://www.eevblog.com/forum/projects/firmware-for-spi-qvga-display/msg1419546/#msg1419546

Based on feedback from that post, I ordered an Arduino MKRZERO and with all the available support libraries, it was pretty much painless to get everything working as desired: display, touch screen, scanning A/D 's etc.

I now want to take the next step and get the code that's running on the MKRZERO board, on a non Arduino equipped ARM Cortex M0 board.  I discovered that the ease of use of the Arduino environment is great for getting something up and running really quickly, however you pay a big price speed wise and because this may eventually turn into something that resembles a product, I think it would be wise to break from Arduino sooner rather than later. I would prefer to start with a free C/C++ development tool

So I'm now looking for a non Arduino Cortex M0 development board with appropriate debugger equipped IDE.
 
If you had to pick between these two, which one would you recommend?  Or if there are better options I'm all ears.

Thanks EEVBLOGers  :)


 

Offline ataradov

  • Super Contributor
  • ***
  • Posts: 11780
  • Country: us
    • Personal site
Re: Moving from Arduino to STM32F072
« Reply #1 on: March 04, 2018, 09:55:07 pm »
I would recommend a simple breakout board and a separate debugger. Debuggers for ARMs are quite cheap, and this will open up your options for microcontrollers.

Also, boards with a lot of stuff integrated are really annoying. There is always a pin that you need, but it is not brought out on the connectors.
Alex
 
The following users thanked this post: Jester

Offline JesterTopic starter

  • Frequent Contributor
  • **
  • Posts: 887
  • Country: ca
Re: Moving from Arduino to STM32F072
« Reply #2 on: March 04, 2018, 10:12:22 pm »
I would recommend a simple breakout board and a separate debugger. Debuggers for ARMs are quite cheap, and this will open up your options for microcontrollers.

Also, boards with a lot of stuff integrated are really annoying. There is always a pin that you need, but it is not brought out on the connectors.

Can you recommend a debugger?
 

Offline ataradov

  • Super Contributor
  • ***
  • Posts: 11780
  • Country: us
    • Personal site
Re: Moving from Arduino to STM32F072
« Reply #3 on: March 04, 2018, 10:16:39 pm »
Can you recommend a debugger?

That depends on your budget. If you want to go for a generic CMSIS-DAP debugger that is going to be supported by nearly all tools, then LPC Link 2 is a very good deal. It does not come with CMSIS-DAP firmware, but can be updated with one.

IBDAP is another great option for a generic CMSIS-DAP debugger.

If you want to go for something more expensive (and with a case), then Atmel-ICE is a good option. It acts as a CMSIS-DAP debugger, and will works with most tools.

Stuff from Segger is way more expensive, but I don't know if it is any better for it.
Alex
 
The following users thanked this post: Jester

Offline mbless

  • Regular Contributor
  • *
  • Posts: 227
  • Country: 00
Re: Moving from Arduino to STM32F072
« Reply #4 on: March 05, 2018, 03:33:05 am »
I think the easiest/fastest way to get up and running is to buy a copy of Mastering STM32 and a STM32 nucleo dev board. It has a built-in programmer and debugger using OpenOCD. A bonus is that you can break off the programmer/debugger for something else. Of course I’m biased as I only use STM32 and have never used Microchip MCUs.
 
The following users thanked this post: Jester


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf