Go Down

Topic: STM32, Maple and Maple mini port to IDE 1.5.x (Read 294529 times) previous topic - next topic

PaulRB

I would be willing to help testing that too. I run ubuntu 14.04 on my pc, although I would not call myself an advanced ubuntu user.

mcnobby

Mine has arrived... up to my nuts in other work, but will find time to at least blink it !! :)
http://www.youtube.com/user/Recovered
http://www.smartshow.lighting

westfw

Went to "ARM TechCon" (http://www.armtechcon.com/ )  Scored an ST CM0 Nucleo board (STM32F072) (I was specifically hoping to find an M0 development board.  I've already got M3 and M4 boards of various sorts.)

mrburnette

#33
Oct 02, 2014, 05:39 pm Last Edit: Dec 28, 2014, 05:03 pm by mrburnette
Note: Please make reference to:
https://github.com/rogerclarkmelbourne/Arduino_STM32/wiki
For a summarized version of pertinent information contained in this lengthly
thread.  Also, some simple Mini Maple projects with source may be found on
my blog: http://www.hackster.io/rayburne


Hi, West,

For $4, you can get the PSoC 4200 which is an ARM M0+ uC.
Only 4K SRAM and 32K Flash and runs at 48MHz.

However, the learning curve of the Cypress tools is pretty steep (but all free); although once the hill is climbed, the view is fantastic!  The 4200 PSoC has 4 Configurable Digital Blocks which can morph into lots of really neat hardware: from OpAmps to USARTs.

Ray

mart256


Hi, West,

For $4, you can get the PSoC 4200 which is an ARM M0+ uC.
Only 4K SRAM and 32K Flash and runs at 48MHz.



I did a quick overview to PSoC and I didn't like the way you program it. Doing the code you have to deal with blocks diagrams (don't you?) and I think that's annoying (maybe for others that's easier).

bobcousins


For $4, you can get the PSoC 4200 which is an ARM M0+ uC.
Only 4K SRAM and 32K Flash and runs at 48MHz.

However, the learning curve of the Cypress tools is pretty steep (but all free); although once the hill is climbed, the view is fantastic!  The 4200 PSoC has 4 Configurable Digital Blocks which can morph into lots of really neat hardware: from OpAmps to USARTs.


I like the sound of $4 dev board :) I just need to find somewhere I can order without paying $15 delivery charge :(

Would it help the learning curve if there was support within Arduino IDE for Psoc 4?
Please don't PM me asking for help. Ask questions in the forum.

westfw

Quote
Doing the [PSoC] code you have to deal with blocks diagrams (don't you?)

No, the "block diagram" part is for defining the reconfigurable hardware that is unique to the Cypress parts.
The actual code is just ordinary C.  For an arduino-like environment, the hardware would probably get configured in "the core" and a user would not have to deal with that part of things.

mcnobby

just been looking at http://leaflabs.com/docs/ide.html for info about how to install the IDE etc for the MapleLeaf ST32 I bought...

It seems its quite out of date and the IDE might only run on XP, it will run on w7

Quote
Note that while these instructions work on Windows XP, changes in Windows 7 (and later) mean that you won't be able to install the IDE without disabling driver signing on your computer. Users on the forum have reported a workaround, but we only officially support the IDE on 32-bit Windows XP.


I dont have an XP machine, and not really sure about disabling the driver signing thing....

:(
http://www.youtube.com/user/Recovered
http://www.smartshow.lighting

mcnobby

http://www.youtube.com/user/Recovered
http://www.smartshow.lighting

bobcousins

I recently installed Maple IDE to verify my Iteadmaple works. The IDE runs ok on Win7 64 bit, I did have the issue with the DFU driver install. I followed the route of creating a new INF file using libusb. I also had an issue with Teensy incorrectly installing a driver for the USB serial.

The inf-wizard instructions are as follows, from this thread http://forums.leaflabs.com/topic.php?id=73, see post by Bionic-Badger.
Quote
Step-by-step instructions:

- Download the binary libUSB package (http://sourceforge.net/projects/libusb-win32/files/), extract somewhere (we'll call it c:\LIBUSB)
- Plug the Maple board into the computer
- Open Device Manager
- Switch Maple board into continuous Bootloader mode (hit reset until you get the fast blinks followed by slower blinks; reset again and immediately hit and hold the boot "BUT" button until it changes into slow blink mode, release).
- It should show some broken USB device in your Devices, not a com-port
- Run the libusb INF wizard (c:\LIBUSB\bin\x86\inf-wizard.exe)
- Click through the dialogs, the default values should be fine, or you can fill in some descriptive info
- Save the INF and have it install. It'll produce a big red prompt about the driver being unsigned and problematic; however, it will still work.
- "Update" the MAPLE 003 device in your device manager and select the INF file you generated.


On Win7 you can install unsigned drivers, but I think Win 8 can only be done after changes to bootup. I am considering getting a certificate in order to create signed drivers for this sort of thing.

However, you may be interested to know I have created an initial version of Maple support package for Arduino IDE 1.5.x series, the repo is at https://github.com/bobc/maple-asp. It still needs some work, but if you have a Maple Rev3+ board you should be able to compile sketches and upload, with the board in perpetual bootloader mode.

So far I have only run a blinky, so expect bugs !
Please don't PM me asking for help. Ask questions in the forum.

mrburnette

#40
Oct 11, 2014, 10:09 pm Last Edit: Dec 28, 2014, 05:04 pm by mrburnette
Note: Please make reference to:
https://github.com/rogerclarkmelbourne/Arduino_STM32/wiki
For a summarized version of pertinent information contained in this lengthly
thread.  Also, some simple Mini Maple projects with source may be found on
my blog: http://www.hackster.io/rayburne

My Maple-Mini-Clone finally arrived today. 

Anyone else get theirs yet?
Received all 3 today.  Will be building out the development environment next week after HVAC dude vacates my basement lab... Heat-pumps suck (my wallet every year!)

Tarket OS: win8.1 64-bit on Acer dual-core Intel 2.2GHz with 4G RAM.

Ray

westfw

Hint: grab the "Nucleo" firmware package from ST,  if you want the raw libraries.  It's newer and more complete than the current "peripheral library" package...

PaulRB


after HVAC dude vacates my basement lab... Heat-pumps suck (my wallet every year!)


What? I'm getting hvac and heat pump installed over next few months!

But if all goes to plan my heat pump will use less than 6KW max. (My neighbours is 36KW, by comparison)

mrburnette

#43
Oct 12, 2014, 12:43 am Last Edit: Dec 28, 2014, 05:04 pm by mrburnette
Note: Please make reference to:
https://github.com/rogerclarkmelbourne/Arduino_STM32/wiki
For a summarized version of pertinent information contained in this lengthly
thread.  Also, some simple Mini Maple projects with source may be found on
my blog: http://www.hackster.io/rayburne

after HVAC dude vacates my basement lab... Heat-pumps suck (my wallet every year!)
What? I'm getting hvac and heat pump installed over next few months!
But if all goes to plan my heat pump will use less than 6KW max. (My neighbours is 36KW, by comparison)
Well, I installed an R410A system because at the time its performance (on charts) was superior to other formulations.  But in Atlanta, it is not unusual to have low temperatures in December, January, and February dropping below the efficient transfer temp of the thermal fluid.  So, the eHeat system kicks in a lots when cold outside.  EHeat even kicks in when the temperature drops quickly, as with a quick moving front.  Overall, I am satisfied the system saves money in dual mode, but below 45 things get pretty iffy, IMO.  My tech is a master rated extrainer for the manufactor and he has tweeked the unit, but there are lots of annoyances.


Ray

UPDATE:
Went back to eBay to see if I could reorder - the listing has changed to exclude U.S.A. delivery.  I found an alternate source for $24 for Qty. 5 if anyone is interested in U.S. shipments (free):
http://www.aliexpress.com/store/product/5PCS-LOT-leaflabs-Leaf-maple-mini-ARM-STM32-compatibility/812021_1987684783.html


rogerClark

#44
Oct 16, 2014, 10:48 pm Last Edit: Oct 16, 2014, 10:57 pm by rogerClark Reason: 1
My stm boards arrived yesterday

http://www.ebay.co.uk/itm/High-Quality-STM32F103C8T6-ARM-STM32-Development-Board-Module-For-Arduino-Tool-/251621420724?pt=UK_BOI_Electrical_Components_Supplies_ET&hash=item3a95ce2eb4


but I've not had time to do anything except to plug in via USB

But I got a message on windows 7 saying the USB device had malfunctioned.

I notice there are 2 jumper links on the top of the board, both of which are open, but as I don't have any docs on the board yet, I don't know what they do.

Has anyone found anything else out about these boards.

I will contact my ebay supplier to see if they have any information.

Edit.
Found this which appears to be the original manufacturer or designer but its in Chinese

http://item.taobao.com/item.htm?spm=a1z10.1.w4004-386456545.4.uccftZ&id=22097803050

I will need to run it through Google translate

Unfortunately the pictures seem t suggest its only programable via slink, and my programmer hasn't arrived yet, unless it does something different when I change the jump links, it looks like I will have to wait for my programmer

I guess I should have also ordered one of the maple mini clones, but just this unknown board.

Did anyone else buy one of these or is it just me ;-)
Freelance developer and IT consultant
www.rogerclark.net

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy