.Net Micro Framework - Feature Requests - CHDK Forum

.Net Micro Framework

  • 5 Replies
  • 5260 Views
.Net Micro Framework
« on: 30 / September / 2010, 11:13:40 »
Advertisements
Hello,

Is it somehow possible to make .Net Micro Framework run on the camera?
« Last Edit: 30 / September / 2010, 13:35:58 by mcnamara »

*

Offline pixeldoc2000

  • ****
  • 356
  • IXUS900Ti 1.00C, IXUS300HS 1.00D
    • pixel::doc homebase
Re: .Net Micro Framework
« Reply #1 on: 30 / September / 2010, 14:48:10 »
The Micro Framework Porting Kit supports the adaptation of the platform to specific hardware for processors using the RealView, Keil and GCC toolchains for the ARM processors (including Cortex) and the VisualDSP++ toolchain for the ADI Blackfin processors.
Looks like .Net Micro Framework does support ARM.

Basicly it's not impossible i think, but somebody (you) has to adapted it...

CHDK does "extend" existing canon firmware, dunno if simular stuff is possible with .NET.

Question is if it's worth the effort... but you are free to give it a try ;)

*

Offline fudgey

  • *****
  • 1705
  • a570is
Re: .Net Micro Framework
« Reply #2 on: 30 / September / 2010, 16:08:52 »
http://news.softpedia.com/news/Download-NET-Micro-Framework-4-1-Beta-142299.shtml
"7. Port for Atmel microcontroller SAM7S256 with 256Kb ROM and 64Kb RAM - this enables some really small applications"

After CHDK is started, these cameras have around 250 kiB to 1 MiB free RAM. If I understood the above link correctly, the latest and most tiny achieved implementation could be feasible in this sense (I'm assuming the SAM7S256 will have some free resources for actual user code too), but will probably be a huge resource hog compared to the gain. I no next to nothing about .NET and even less about what's been stripped from that uC port but I'm guessing quite a bit?

Certainly the camera CPU hardware is powerful enough and equipped with plenty of RAM for code and data, but the question is will it be at all possible to run this side by side with the Canon firmware or Canon firmware + CHDK...

*

Offline reyalp

  • ******
  • 14126
Re: .Net Micro Framework
« Reply #3 on: 30 / September / 2010, 16:56:32 »
After CHDK is started, these cameras have around 250 kiB to 1 MiB free RAM. If I understood the above link correctly, the latest and most tiny achieved implementation could be feasible in this sense (I'm assuming the SAM7S256 will have some free resources for actual user code too), but will probably be a huge resource hog compared to the gain.
You could presumably drop lua for C#, which would give you a pretty good chunk (~150k ?) of that back.

However, the effort required to port .net micro looks like it would be very substantial, and better spent elsewhere IMO.
Don't forget what the H stands for.

*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: .Net Micro Framework
« Reply #4 on: 30 / September / 2010, 20:10:14 »
Also, .net micro, even if free (?) is not open source - this alone would make it
difficult (impossible?) to distribute with CHDK, as far as I understand GPL ...

just my 2 cents,

wim

PS Have you guys ever tried to install a .NET program on a PC without .NET ?
    Installs without a warning - then refuses to run (of course) and - since
    the uninstaller only runs on .NET you can't uninstall it anymore ...
    Call me old and cynical, but I simply refuse to believe that's a bug/accident
   
« Last Edit: 30 / September / 2010, 20:23:53 by whim »

*

Offline reyalp

  • ******
  • 14126
Re: .Net Micro Framework
« Reply #5 on: 30 / September / 2010, 22:47:39 »
Also, .net micro, even if free (?) is not open source - this alone would make it
difficult (impossible?) to distribute with CHDK, as far as I understand GPL ...
Actually, surprising as it might be ... http://port25.technet.com/archive/2009/11/16/microsoft-to-open-source-the-net-micro-framework.aspx it's available under the Apache license, which should be OK.

That doesn't mean it's a good idea technically, of course ;)
Don't forget what the H stands for.

 

Related Topics


SimplePortal © 2008-2014, SimplePortal