You must be logged in to reply.

Page 1 of 2 out of 13 messages.

Upload Cerb loader and firmware into empty microcontroller

Posted 3yr ago (modified)
by toxsedyshev | Senior | 1,016 exp
Posted 3yr ago (modified)
by toxsedyshev | Senior | 1,016 exp
Hi!

What do I need to run my netmf project on the empty stm32f4? As I understand, it couldn't be programmed over usb, so I need st-link to initially program it over swd, right? Just connect 4 pins and upload Loader.dfu from the GHI SDK? And then I'll be able to upload firmware and netmf program over usb using FezConfig?

BTW, are there any partnumbers of stm32f4 that are preprogrammed on the factory to allow uploading netmf (or any other) loader over usb, with no need in st-link?
1 like
Reply #1 — Posted 3yr ago
by glx | Senior | 3,332 exp
Reply #1 — Posted 3yr ago
by glx | Senior | 3,332 exp
I think you can't use the GHI-Software on an empty STM. The GHI-Software is copyrighted and not freeware. If you buy a G30 or another the licence is included (if I understood it right).
Reply #2 — Posted 3yr ago
by toxsedyshev | Senior | 1,016 exp
Reply #2 — Posted 3yr ago
by toxsedyshev | Senior | 1,016 exp
You are right about G30 and all other G*-s. But Cerberus was opensource and it's loader and firmware are included into GHI SDK to be uploaded to empty microcontroller. Correct me if I'm wrong.
1 like
Reply #3 — Posted 3yr ago
by Wolfgang Feneberg | Master | 6,850 exp
Reply #3 — Posted 3yr ago
by Wolfgang Feneberg | Master | 6,850 exp
I found this information:

Releasing the NETMF and Gadgeteer Package 2014 R2 SDK!
The long-awaited-for NETMF 4.3 release from GHI Electronics is finally here. We did not just switch to 4.3 but we have made some major changes that should simplify the use of GHI NETMF devices, for newcomers and for experts alike. For starters, there is no "premium" and "OSHW" libraries anymore. All libraries are now simply "GHI" libraries. They run across all devices, no matter what features are included

This release is highly recommended for everyone, unless a product is already released and locked with earlier versions. There will be no improvements or bug fixes made on the discontinued NETMF 4.2; however, NETMF 4.2 is still included in this SDK, along with NETMF 4.3. This should make it easier to transition to the new release.

Secondly, the software for Cerb-family devices is no longer open source. This was done to provide for better support and quality on these smaller and lower power devices. Users in need for open source can use the NETMF 4.2 sources or use the STM32 release found in the porting kit.

As a supporter of open source hardware (OSHW), we are keeping the FEZ Hydra open source with a new low price of $24.95! This at-near-cost price is a thank you from GHI to anyone interested in being part of the internal NETMF development efforts.

Documentation, documentation... we know that many of you, and sometimes even us, were lost between NETMF and Gadgeteer, between 4.2 and 4.3, between premium and OSHW! The new NETMF 4.3 is reorganized as explained earlier and we have rewrote the NETMF documentation to be directly related to this new clean release. All needed docs can be found under the NETMF tag, http://www.ghielectronics.com/docs?tags=netmf

Unfortunately, not all features have made it to the current SDK. Features like PPP and USB Host on the Cerb-family will have to be added in upcoming releases. On the bright side, all other features are stable. We would like to say "Thank You" to our great community for helping us in testing the earlier beta releases!

As always, the NETMF support page has everything needed, http://www.ghielectronics.com/support/netmf
https://www.ghielectronics.com/news?page=18

Cool
Reply #4 — Posted 3yr ago
by toxsedyshev | Senior | 1,016 exp
Reply #4 — Posted 3yr ago
by toxsedyshev | Senior | 1,016 exp
Right. We can use older open-source version of cerb firmware. But the question is how to use it with empty STM32f4?
Reply #5 — Posted 3yr ago
by toxsedyshev | Senior | 1,016 exp
Reply #5 — Posted 3yr ago
by toxsedyshev | Senior | 1,016 exp
@andre.m - do I really need to build it by myself? As I understand, everything I need is already built and included into GHI SDK. I only need to upload it into empty microcontroller in the most simple way.
Reply #6 — Posted 3yr ago
by toxsedyshev | Senior | 1,016 exp
Reply #6 — Posted 3yr ago
by toxsedyshev | Senior | 1,016 exp
@andre.m - Why can't I use open-source (4.2) version of binaries with empty chip?
Reply #7 — Posted 3yr ago
by godefroi | Legend | 43,071 exp
Reply #7 — Posted 3yr ago
by godefroi | Legend | 43,071 exp
You can. Put the chip into DFU mode and use DfuSe to load the firmware.
Reply #8 — Posted 3yr ago
by toxsedyshev | Senior | 1,016 exp
Reply #8 — Posted 3yr ago
by toxsedyshev | Senior | 1,016 exp
@godefroi - can I do this with empty chip using USB? or only SWD?
1 like
Reply #9 — Posted 3yr ago
by godefroi | Legend | 43,071 exp
Reply #9 — Posted 3yr ago
by godefroi | Legend | 43,071 exp
With USB. DFU isn't a GHI feature, it's built in to the STM32 chip.

Page 1 of 2 out of 13 messages.

You must be logged in to reply.