Main Site Documentation

Starting c# program from a SD


#1

I would like to know if it would be possible (to make) a cerb40 that boots from a sd card.
I would like the customer to be able to easily upgrade the software in a cerb40 that is out in the field.
Not necessary the firmware although that would be a bonus.
Sending a sd card with the instruction to change it would mean a big advantage for me.


#2

Search for Pyxis 2. It shous how to load and run application. It also shows how to upgrade eveeything including firmware, but that part uses functionality that is not implemented on cerb40


#3

As far as I know loading assemblies from SD was also not possible on Panda, only bigger devices. Is this the same for the Cerberus?


#4

Website is being updated with some helpful info, take a look here http://www.ghielectronics.com/offers/

in-field update is part of SoM offers. Of course, Cerberus is open source so feel free to contribute the update feature.


#5

The STM32F4 Discovery board shows a nice example of how an update could be run from USB stick. Might be a nice starting point.

Edit: check this document http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/APPLICATION_NOTE/DM00039672.pdf


#6

Thanks for the pointers!

I guess what i want has to be build into the bootloader.
I am talking theoretical here because i have no hardware yet.

Is the bootloader also open source?


#7

There is no boot loader! But even if there was one it would be open source. This product si 100% open.


#8

Obviously i still have lots to learn. :slight_smile:
I was reading this:

1 ) TinyBooter
2 ) TinyCLR
3 ) GHI OSH libraries
4 ) Gadgeteer-support (core and FEZ Cerberus’ gadgeteer-drivers and gadgeteer-designer)
5 ) The end user application

Ideally i would like to be able to update 2-5 in the field.
The requirement i have is at least to be able to update 5.
I see that the Tinybooter is not on the Cerberus yet.

Ok, i go read some more. :slight_smile:


#9

That is supported already on other non open devices so you can use those to get an idea on how to do it on Cerberus maybe.


#10

There’s no TinyBooter on Cerberus. It’s open source, however, so you could build it.


#11

I wrote a updater for a few .NET CF devices.

Are we able to reboot the Cerb via any command?
Or do we have to reset it somehow?


#12

Would that be an updater using TCP/IP?