Good afternoon,
Unfortunately, I was not able to find any documentation on low-level programming of the NetDuino and I have to ask a few questions in order go beyond building standard applications for the NetDuino. I fully understand that this render my device useless and I am willing to take the risk. Also I understand that NetDuino is an open source firmware and hardware platform and modifying/recompiling the firmware is allowed under the license, please correct me if I am wrong.
- I am trying to write directly to registers from C#, but I cannot find if this functionality is available in the C# language wrapper for NetDuino. I need this for several purposes, to enable some modules on the AT91 that are not available through the Netduino firmware. Particularly, right now I am trying to enable PCK1 and PCK2 to get two additional PWM outputs (I need 6 total).
What is the best possible option for me to access registers directly from C#? If this functionality is not available for some reason, what is the best recommendation? modify the firmware and perform this in C++?
- I am new to working with .net micro framework and I wanted to ask some questions about how the compiler works
I understand that there are 2 components that compile into the firmware:
- TinyBootLoader
- C++ Device Code which is: TinyCLR, .net Micro SPOT .net micro libraries, and SecretLab.MF.Hardware libraries.
Is this correct?
- If I wanted to recompile and re-flash the firmware for NetDuino, is this the correct procedure?
Build a project file in an IDE such as eclipse with an Arm7 compiler such as Yagarto using the netduino firmware with the 3 libraries above.?- Get .net Micro Porting kit 4.1
- Get Microsoft SDK 7.1
- Get .net Micro Firmware 4.1
- Copy contents of firmware to .net PK directory
- Run msbuild to compile for Arm 7
- Flash it using
the SAM-BA tool from AtmelMFDeploy tool
I'm still waiting on Windows SDK download. Does msbuild have a toolchain for ARM7? Are there any specific instructions on builidng the firmware?
Thanks,
- What exactly is the TinyBooterDecompressor? How is this different from TinyBootLoader?
Thank you all for your responses. If there is an easier way to achieve what I need without modifying the firmware, that would be great, but I am still very interested in learning how to work with ARM devices and expanding my understanding beyond what is provided for general use of the Netduino platform.
Thank you,