Main Site Documentation

Native code how-to


#1

Please can someone point me to a good reference(s) for writing / compiling / running native code in MF? I’m not looking so much for language references (e.g. how to write in C) so much as how to take something written, do magic to it, and call it from within NETMF.

Please take the time to point to particular sections of references or particularly relevant tutorials – searching Google, et al, has given me lots of broad references to msdn, etc. that are really hard to narrow down given my current level of understanding. Its the old story of not understanding enough to ask the right question and getting confused / overwhelmed by all the obliquely related answers.

TIA.


#2

Have you seen this:

http://www.fezzer.com/project/173/rlp-example/

It is not much, but a start.


#3

This is old and outdated but info should help

http://tinyclr.blogspot.com/2009/07/video-playback-on-micro-famework-using.html


#4

Thanks, I’ll take a look in detail later. I should mention I’m panda-ing which I understand can’t RLP. I don’t doubt the RLP example will help with the concepts, though.


#5

If you wanted to use a Panda/USBizi with native code you’d need to use your own netmf firmware.

Is there a reason you need native?


#6

speed primarily, tighter timing to a degree.


#7

There’s a way to do it on any NETMF device but it’s pretty advanced. If you need it that bad it might be worth looking into having a secondary chip like a propeller or a chipworkx module


#8

coming to that conclusion… :frowning:


#9

Timothy Parez has a great post on his blog about RLP, check it out:

http://www.itcrowd.be/getting-started-with-ghi-rlp