Visual Studio
(1)
Application
(1)
TinyCLR
(1)
MFDeploy
(1)
RTMs
(1)
Tinybooter
(1)
Netmf
(1)
Zach
(1)

Tinybooter with TCP/IP

Asked By Armand R.
25-Jan-10 09:06 PM
With Netmf version 4.0, what do we need change to do get both Tinybooter and
TinyCLR debug/debploy over TCP/IP?

Seems a litte more complicated than including TCP libs and changing
platform_selector.h

Any help would be appreciated!

-Armand

Hello Armand,That scenario is not really supported for a couple reasons.

ZachL replied to Armand R.
26-Jan-10 01:37 PM
Hello Armand,

That scenario is not really supported for a couple reasons.  The main reason
we did not support remote firmware update was because it would nearly double
the size of memory required.  This is because TinyBooter and the CLR are two
different applications (they do not share libraries).  And since the network
stack is one of the largest components it would make this unfeasible.

And the second reason for not allowing remote updates, is that we did not
have a good enough security model to allow remote updates.  Currently
Tinybooter relies on a signature hash of the image which is not checked until
the old image is replaced by the new one (again for memory reasons).  This is
acceptable if you have to have a direct connection because you own the device
already.  However, for remote devices it is not because anyone could wipe out
the original image.

We had planned for adding remote firmware updates in the future, but I am
not sure where it falls on the priority list at this point.   I believe a few
other customers have either created their own installers or ported .Net MF to
an OS that supported this feature already.  That could also be an option for
you.

Thanks,
Zach

Thanks for clarifying Zach,I see.

Armand R. replied to ZachL
26-Jan-10 03:51 PM
Thanks for clarifying Zach,

I see.  I had the impression that Tinybooter was used to deploy assemblies
as well.  With MFDeploy and TinyCLR configured for TCP/IP we can remote
upgrade applications, correct?

-Armand

Application upgrades can be performed via TCP/IP using MFDeploy or

ZachL replied to Armand R.
27-Jan-10 03:55 PM
Application upgrades can be performed via TCP/IP using MFDeploy or Visual
Studio as long as the device uses TCP/IP as the default debugger port.  In
addition, this only works for Debug versions of the firmware.  The feature is
disabled for RTM firmware for the same security reasons we do not allow remote
firmware updates.

Thanks,
Zach
So the only way to upgrade RTMs in the wilderness is through serial port orif
Armand R. replied to ZachL
27-Jan-10 07:08 PM
So the only way to upgrade RTMs in the wilderness is through serial port or
if the stack exists USB?

-Armand
Yes, unless the Porting Kit vendor has implemented some other means."Armand R.
ZachL replied to Armand R.
28-Jan-10 05:55 PM
Yes, unless the Porting Kit vendor has implemented some other means.
I see. Many thanks for all of the responses! -Armand"ZachL" wrote:
Armand R. replied to ZachL
28-Jan-10 06:40 PM
I see.  Many thanks for all of the responses! -Armand
Post Question To EggHeadCafe