I plan to switch to NetMF for a new solution. Main factor is to have very cheap hardware (comparable to native solutions), i.e. I plan to go the STM32 route as the G120 or G400 seems to be much more expensive?
I saw several NETMF versions out there for the STM32:
Memory enough to run NETMF with Threading, other features none except some analog and PWM usage, but then again my use case may change, so thinking about it, for commercial use G120 is definitely the cheapest SoM you can get based on value.
In my project I need to implement a RS485 (Modbus RTU) and I need the possibility to have a plug and play solution to communicate with a Windows computer ( configuration and to see live data/statisitcs for troubleshooting). I thought about USB Client (HID Device), because this is really plug and play. I cannot use a solution where driver installation is necessary… Planned volume is about 200-300 in the first year
At first sight the cerb40 would be ideal, but I had to study your homepage and forums a long time to find out what features are supported and what not.
What cheapest module can you suggest with the following features
ability to store a few bytes into the internal flash (application settings and very simple statistics) Is this supported in cerb40?
GPIO: about 100Hz is enough…
Analog In (to get temperature e.g. PT1000)
RS 485 (I simply could add an external RS 485 transceiver to one of the UART ports → no problem for this one
I also understand, that I get premium features, when I choose a GHI module. But I also understand that source code is not available for the public. Is there a possibility to get the sources with an special agreement. Just in case e.g. when GHI does not exist anymore or if GHI has focus on other things and does not update the SDK anymore?
I agree with Gus, the G120 offers alot for $33! I’ve used the FEZ Cobra II commercially which is based on the G120. My experience with the GHI hardware is that it is top quality and worth paying price which in my option is very competitive.
Not likely, but in any case I don’t see why that would be an issue for you, nothing is set in stone, software becomes obsolete and you move on, but in this case your hardware may become obsolete sooner as there is a “renewed focus” on NETMF from Microsoft, whatever that means we shall see.
I’d suggest, since you’re talking commercial quantities and outcomes, that you contact GHI directly as well.
I think you can see GHI’s commitment to commercial customers from the existing support for their previous products, namely EM, EMX, and USBizi - while the EM and USBizi ports have not moved, they are still available to commercial customers in their last released stable form; and EMX lives on today in the latest SDK.
USB Client (HID) - I don’t think this is implemented on Cerb family but I would question if you have enough memory anyway
Extended Weak Reference (EWR) on Cerb family - not sure if that is implemented or not - just use an external eeprom/flash chip would be my suggestion anyway.
Discovery board - it may be great for one offs as long as you don’t need support, as I don’t think you’ll get any. There’s a lot of difference in hardware, as they have the ST-Link debugger attached and many other additional peripheral items, but in general they’re similar since they both have an STM32F4 on-board. The F429 Discovery board also has a display.
Anyway, you might like to try a Cerb family device to test things out, but personally my choice would be look at the G120 sooner rather than get part way in your project only to run out of room for code
Yes, according all informations I got now, it seems G120 has more features, but still is a lot slower and more expensive…
Also it is really difficult to find out what features are availbale and what features are not (e.g. for the cerb family).
Am I right, that cerb comes with the premium libraries?
Also I saw that there are additional classes like SIgnal Generator and Signal Capture. Are this functions blocking other netmf code, i.e. can I use SIgnalGenerator while running another thread? Or are all other thread blocking for this time?
I think the main reason why G120 is slower than Cerb is that G120 uses external RAM, where Cerb uses internal RAM on CPU chip, which has more bandwidth.
But you can boost the G120 RAM performance by modifying a register. The RAM (or CPU interface, not sure) runs a bit out of spec then, but all my tests ran well so far. But since I never really needed this little boost, I never let it active on a product that left the house.
Maybe NETMF is not for you then? NETMF excels at complicated things, but from what you said, it doesn’t look like you are going to do something very complicated. You may do better with a Cortex-M0 ARM chip using FreeRTOS. Will be super cheap, and still with threads…