Author Topic: Introducing the ARM PRO MINI board - ARM Made Easy  (Read 36077 times)

0 Members and 1 Guest are viewing this topic.

Offline zaptaTopic starter

  • Super Contributor
  • ***
  • Posts: 6190
  • Country: us
Introducing the ARM PRO MINI board - ARM Made Easy
« on: December 18, 2014, 09:09:14 pm »
The first version of the ARM PRO MINI documentation is available on github https://github.com/zapta/arm/tree/master/pro-mini  (scroll down that page).



The ARM PRO MINI is a small ARM M0 OSH board that makes it easy to experiment with the ARM architecture and to incorporate it in your own designs. Installation of the tool chain is a breeze (a single package install), the IDE is feature full (compared to let's say the Arduino IDE), the hello world program compiles works out of the box, the board does not require programmers or adapters whatsoever (it is ready to use out of your reflow toaster oven and can work with a debugger if you happen to have one), Windows, Linux and Mac OSX are supported and of course it comes with non nonsense open source license (cloning and commercial use are ok, sharing and attribution are not required). Life could not be better! Were is the catch you ask? Well, there isn't.

I will appreciate any feedback on the documentation and especially on the Getting Started steps and on the board in general. If you have any question or comment please post here or PM me. I may be able to provide a few free boards for people that want to play with it. I do not plan to commercialize it myself.

Also, thanks for paulie for suggesting the and and for the EEVblog community for reviewing the design (https://www.eevblog.com/forum/microcontrollers/my-first-armlpc-design-please-critic/)

EDIT: adding a picture without the 3D printed case


« Last Edit: January 14, 2015, 08:55:50 am by zapta »
 

Offline paulie

  • Frequent Contributor
  • **
  • !
  • Posts: 849
  • Country: us
Re: Introducing the ARM PRO MINI board - ARM Made Eazy
« Reply #1 on: December 18, 2014, 09:21:11 pm »
Thanks again for sending me that prototype. There are literally dozens of ARM boards floating around here now yet that is absolutely my favorite. It's definitely the easiest to program of any ARM too thanks to virtual drive interface. NO drivers or special download software to hassle with. It don't get any easier than drag-n-drop.

Thanks for the spare boards too. My chips finally came in and experiments with minimum components showed it can run with very few parts. 4 IIRC. Not counting connectors. I just love this design. No missing pins or other drawbacks like AVR Promini or the Maple ARM boards.
 

Offline LabSpokane

  • Super Contributor
  • ***
  • Posts: 1899
  • Country: us
Re: Introducing the ARM PRO MINI board - ARM Made Eazy
« Reply #2 on: December 18, 2014, 10:49:36 pm »
OK, that is a seriously awesome better mousetrap.  But why did you have to show me that *after* I ordered a stack of 328 pro minis from Shenzen? 

 

Offline zaptaTopic starter

  • Super Contributor
  • ***
  • Posts: 6190
  • Country: us
Re: Introducing the ARM PRO MINI board - ARM Made Eazy
« Reply #3 on: December 20, 2014, 06:03:55 pm »
Thanks again for sending me that prototype. There are literally dozens of ARM boards floating around here now yet that is absolutely my favorite. It's definitely the easiest to program of any ARM too thanks to virtual drive interface. NO drivers or special download software to hassle with. It don't get any easier than drag-n-drop.

I just found that it doesn't even need tool-chain installation.

Login to http://developer.mbed.org (requires free registration), add one of the LPC11U35 platforms to your account and the online IDE will compile and generate a .bin files that you can load directly to the ARM PRO MINI.

No programmer/debugger, no USB/serial adapter, no software installation,  and it is ready to program and use straight out of your reflow toaster oven. NXP/Arm did a really good job.

This is how the online mbed IDE looks in my browser:

 

Online nctnico

  • Super Contributor
  • ***
  • Posts: 26873
  • Country: nl
    • NCT Developments
Re: Introducing the ARM PRO MINI board - ARM Made Eazy
« Reply #4 on: December 20, 2014, 06:20:58 pm »
Thanks for the effort  :-+ I really hope it helps people to finally leave old relics from the 20th century behind >:D
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline mtdoc

  • Super Contributor
  • ***
  • Posts: 3575
  • Country: us
Re: Introducing the ARM PRO MINI board - ARM Made Eazy
« Reply #5 on: December 21, 2014, 01:28:38 am »
Well done Zapta. That looks very cool!  :-+

Quote
It's definitely the easiest to program of any ARM too thanks to virtual drive interface. NO drivers or special download software to hassle with. It don't get any easier than drag-n-drop.
Just a FWIW:   Energia works similiarly easily with TI's Tiva C ARM development boards (and MSP 430s). It's basically an Arduino IDE clone that is also cross platform so it's not as full featured as this.

« Last Edit: December 21, 2014, 01:35:35 am by mtdoc »
 

Offline zaptaTopic starter

  • Super Contributor
  • ***
  • Posts: 6190
  • Country: us
Re: Introducing the ARM PRO MINI board - ARM Made Eazy
« Reply #6 on: December 21, 2014, 04:41:20 am »
Well done Zapta. That looks very cool!  :-+

Quote
It's definitely the easiest to program of any ARM too thanks to virtual drive interface. NO drivers or special download software to hassle with. It don't get any easier than drag-n-drop.
Just a FWIW:   Energia works similiarly easily with TI's Tiva C ARM development boards (and MSP 430s). It's basically an Arduino IDE clone that is also cross platform so it's not as full featured as this.

First time I hear of it, looks very interesting. IMO simple install of the tool chain and running on multiple OS's are very important for open sources projects. Users often need to make small tweaks (e.g. to the Marlin firmware of my 3D printer) so installation and use should be straight forward and easy to use. This is one of the strongest points of the Arduino IDE.

BTW, I added here instructions on how to compile a simple ARM PRO MINI blinky with the mbed online IDE. It's a very nice environment considering that it's browser based.  I am yet to figure out how to use the arm_pro_mini_lib with it.

https://github.com/zapta/arm/tree/master/pro-mini#compiling-with-the-armmbed-online-ide
 

Offline neslekkim

  • Super Contributor
  • ***
  • Posts: 1305
  • Country: no
Re: Introducing the ARM PRO MINI board - ARM Made Eazy
« Reply #7 on: December 21, 2014, 04:44:23 pm »
Is this board going to be available at Tindie or other places for purchase?
 

Offline zaptaTopic starter

  • Super Contributor
  • ***
  • Posts: 6190
  • Country: us
Re: Introducing the ARM PRO MINI board - ARM Made Eazy
« Reply #8 on: December 21, 2014, 05:39:31 pm »
I don't plan to commercialize it myself but the OSH license is very liberal, even commercialized cloning is ok, share alike and attribution are not requires.  I will try to get awareness from a few suppliers but it will be up to them.

I have a limited set of populated boards (building them at home with Digikey parts, no magic here) that I can mailed for free to established eevblog users. Send me a .bin file that prints your name and address and I will see what I can do. This will show some level of seriousness on your part. You can find instructions in the getting-started sections in this page https://github.com/zapta/arm/tree/master/pro-mini
 

Offline dansku

  • Regular Contributor
  • *
  • Posts: 76
  • Country: us
  • I make things
    • Personal Blog
Re: Introducing the ARM PRO MINI board - ARM Made Eazy
« Reply #9 on: January 06, 2015, 07:30:10 pm »
I'm very excited to build this board.

I just received all parts, and now I'm waiting for the PCB to arrive from OSHPark.
I will post updates when I get it  O0
 

Offline cloudscapes

  • Regular Contributor
  • *
  • Posts: 198
Re: Introducing the ARM PRO MINI board - ARM Made Eazy
« Reply #10 on: January 07, 2015, 12:04:29 am »
is the plastic "shoe" removable? seems like it would use up valuable breadboard space
 

Offline zaptaTopic starter

  • Super Contributor
  • ***
  • Posts: 6190
  • Country: us
Re: Introducing the ARM PRO MINI board - ARM Made Eazy
« Reply #11 on: January 07, 2015, 12:43:27 am »
is the plastic "shoe" removable? seems like it would use up valuable breadboard space

Yes of course, it's just to protect the PCB when used stand alone.

Edit: added this picture to the documentation page

« Last Edit: January 07, 2015, 05:26:51 am by zapta »
 

Offline cloudscapes

  • Regular Contributor
  • *
  • Posts: 198
Re: Introducing the ARM PRO MINI board - ARM Made Eazy
« Reply #12 on: January 08, 2015, 09:37:19 pm »
excellent, I should have also said it looks good (which it does!). been looking for an excuse to dive into arm/mbed
 

Offline zaptaTopic starter

  • Super Contributor
  • ***
  • Posts: 6190
  • Country: us
Re: Introducing the ARM PRO MINI board - ARM Made Eazy
« Reply #13 on: January 09, 2015, 03:57:02 am »
excellent, I should have also said it looks good (which it does!). been looking for an excuse to dive into arm/mbed

I find the ARM architecture to be easier to use and more straight forward than AVR. Reminds me the difference between the 68000 and 8086 in the old days.
 

Offline paulie

  • Frequent Contributor
  • **
  • !
  • Posts: 849
  • Country: us
Re: Introducing the ARM PRO MINI board - ARM Made Eazy
« Reply #14 on: January 09, 2015, 04:10:58 pm »
That sounds ridiculous to me. AVR was modeled after the 68xxx/DEC instruction sets and has far simpler yet similarly powerful peripheral register setup. It does occur to me that the C (centipede) Girls may lack accurate perspective on the matter since most of the ugly details are hidden from their delicate sensibilities.

I will say this particular board is still my favorite over any of the other ARM or AVR dealies mostly because of that drag-n-drop capability. I don't know why none of the other low cost platforms haven't adopted similar approach. There's something very nice about not needing special download utilities or drivers.
 

Offline LabSpokane

  • Super Contributor
  • ***
  • Posts: 1899
  • Country: us
Re: Introducing the ARM PRO MINI board - ARM Made Eazy
« Reply #15 on: January 09, 2015, 04:20:43 pm »
I will say this particular board is still my favorite over any of the other ARM or AVR dealies mostly because of that drag-n-drop capability. I don't know why none of the other low cost platforms haven't adopted similar approach. There's something very nice about not needing special download utilities or drivers.
I thought the whole MBED platform was drag&drop?  The ST Nucleo definitely is. 
 

Offline paulie

  • Frequent Contributor
  • **
  • !
  • Posts: 849
  • Country: us
Re: Introducing the ARM PRO MINI board - ARM Made Eazy
« Reply #16 on: January 09, 2015, 04:45:43 pm »
I was mostly referring to the "low cost" chips, 1-2 dollar range. Not too sure about all the Nucleos but ones I checked they were using more expensive parts. And I wasn't aware lower cost versions had that capability built in. IIRC only the dev boards were flashed with that capability. I'm not positive though but thought it was kinda like PSOC boards flashed with a serial bootloader but chips from the factory not.

Really I would like to see some of the $1 ARMs and AVRs adopt this method of programming. It should be possible seeing how products like AVRASP have USB functionality without built in USB hardware.
 

Offline zaptaTopic starter

  • Super Contributor
  • ***
  • Posts: 6190
  • Country: us
Re: Introducing the ARM PRO MINI board - ARM Made Eazy
« Reply #17 on: January 09, 2015, 05:18:29 pm »
That sounds ridiculous to me. AVR was modeled after the 68xxx/DEC instruction sets and has far simpler yet similarly powerful peripheral register setup. It does occur to me that the C (centipede) Girls may lack accurate perspective on the matter since most of the ugly details are hidden from their delicate sensibilities.

I will give you an example, I implemented a simple i/o pin library for both the AVR and ARM. With the ARM things were more intuitive, the port can be refered to using a simple pointer

uint8* const pin_gpio_B_;

and the pins can be refered to using simple array notation

LPC_GPIO->B[port_number][pin_number];

https://github.com/zapta/arm/blob/master/pro-mini/lpcxpresso/arm_pro_mini_lib/inc/io_pins.h

Same goes for string literals, the flash is mapped to the standard memory space and you don't need special considerations to avoid duplicating the literal also in RAM.

This is subjective of course but hopefully it explains my view point.


I will say this particular board is still my favorite over any of the other ARM or AVR dealies mostly because of that drag-n-drop capability. I don't know why none of the other low cost platforms haven't adopted similar approach. There's something very nice about not needing special download utilities or drivers.

You may like also the ARM MINI NADA (do you like the name?) which is a brutal minimization of ARM PRO MINI. It's still a work in progress but the circuit does work for me.

TP11, 12 are free so you can patch them on the board to any additional pins you want to have externally. I think the crystal is required for proper USB operation (is it?), I would love to switch the internal RC oscillator. I reduced the four bypass caps from 0603 to 0402 (same values) and removed the USB data protection diodes and termination resistors (everything works and signals look clean).

What do you think? Any suggestion?

Schematic here https://github.com/zapta/arm/blob/master/pro-nada/eagle/arm-pro-nada_schematic.pdf?raw=true

 

Offline paulie

  • Frequent Contributor
  • **
  • !
  • Posts: 849
  • Country: us
Re: Introducing the ARM PRO MINI board - ARM Made Eazy
« Reply #18 on: January 09, 2015, 05:47:04 pm »
That does resemble my initial one dollar one minute approach which saved on pins to allow lowest cost possible (thanks again for motivating that whole project). To be honest though I'm more inclined toward making all pins available. IMO a crime to cripple a chip like that. It was also one of my complaints about the original AVR Pro Mini which only have a few missing.

A few others complained about my $1 ARM too. So as you might recall l quickly remedied the situation with another iteration with all pins available. The only problem being that enormous 11 cent increase in expense.

Personally I have few (no) improvements to suggest for your first board. No way I could have done as good. However if somebody were going to produce "Worlds Smallest ARM" it might be an idea to keep the Nada size but maybe bring all pins out on 1.5mm or 1mm headers. Or just half feedthroughs on the edge like ESP and Bluetooth modules. Whatever we think we can get away with.
 

Offline dansku

  • Regular Contributor
  • *
  • Posts: 76
  • Country: us
  • I make things
    • Personal Blog
Re: Introducing the ARM PRO MINI board - ARM Made Eazy
« Reply #19 on: January 13, 2015, 03:04:24 am »
Today I receiver the PCBs for the ARM PRO MINI.

Here are some pics:






I started soldering the parts, but fucked up when I had to solder the µC..  :palm: :palm: :palm:



I think there was some short circuit on the pins and kaput...

Good think OSH Park always send three boards. Now I will buy some of the componentes again fro DigiKey and hope I do it better next time.
Any advices on soldering the µC?  :o
« Last Edit: January 13, 2015, 03:08:38 am by dansku »
 

Offline zaptaTopic starter

  • Super Contributor
  • ***
  • Posts: 6190
  • Country: us
Re: Introducing the ARM PRO MINI board - ARM Made Eazy
« Reply #20 on: January 13, 2015, 04:27:33 am »
Hi Daniel, you can mail it to me and I will try to fix it. I built this weekend one board from OSHPark and it worked (before I was using Elecrow).

Were did you get a short? I have good experience with Oshpark (from previous orders) so possibly it's just a soldering short.
 

Offline dansku

  • Regular Contributor
  • *
  • Posts: 76
  • Country: us
  • I make things
    • Personal Blog
Re: Introducing the ARM PRO MINI board - ARM Made Eazy
« Reply #21 on: January 13, 2015, 04:52:11 am »
Hi Daniel, you can mail it to me and I will try to fix it. I built this weekend one board from OSHPark and it worked (before I was using Elecrow).

Were did you get a short? I have good experience with Oshpark (from previous orders) so possibly it's just a soldering short.

It's a soldering short for sure! I did a bad job soldering the µC, those pins are not easy to solder. I tried to turn the board one, and there was a short, I am not sure if all components are still working.

How much work would it be for you to solder one board? I could send you one of the PCBs from OSH Park and buy the components and send to you. Or I will just buy the parts and try a second round.  ;)
 

Offline zaptaTopic starter

  • Super Contributor
  • ***
  • Posts: 6190
  • Country: us
Re: Introducing the ARM PRO MINI board - ARM Made Eazy
« Reply #22 on: January 13, 2015, 05:13:31 am »
Hi Daniel, you can mail it to me and I will try to fix it. I built this weekend one board from OSHPark and it worked (before I was using Elecrow).

Were did you get a short? I have good experience with Oshpark (from previous orders) so possibly it's just a soldering short.

It's a soldering short for sure! I did a bad job soldering the µC, those pins are not easy to solder. I tried to turn the board one, and there was a short, I am not sure if all components are still working.

How much work would it be for you to solder one board? I could send you one of the PCBs from OSH Park and buy the components and send to you. Or I will just buy the parts and try a second round.  ;)

I enjoy soldering so it will not be a problem. ;-)

You can send me what you have and I can try fixing it. I solder my boards with a metal stencil I got from elecrow. I never tried soldering 0402 and 0.5mm pitch ICS without a stencil but should give it a try. A good magnifier is useful for sure.

One trick I use for fine soldering is plenty of tacky flux.
 

Offline dansku

  • Regular Contributor
  • *
  • Posts: 76
  • Country: us
  • I make things
    • Personal Blog
Re: Introducing the ARM PRO MINI board - ARM Made Eazy
« Reply #23 on: January 13, 2015, 05:14:50 am »
Awesome! I will ship the current board to you, and you can take a look then!!
Thank you very much!!!

I will get your address on Private Messaging.  ^-^
 

Offline dansku

  • Regular Contributor
  • *
  • Posts: 76
  • Country: us
  • I make things
    • Personal Blog
Re: Introducing the ARM PRO MINI board - ARM Made Eazy
« Reply #24 on: January 13, 2015, 05:17:40 am »
How do you get the metal stencil? Do they provide it when you make a pcb with them?!
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf