The Netduino forums have been replaced by new forums at community.wildernesslabs.co.
This site has been preserved for archival purposes only
and the ability to make new accounts or posts has been turned off.
I thought if I could flash Lego Mindstorms® NXT Brick with Netduino´s firmware, as it uses a very similar MCU (Atmel AT91SAM7S256 ). But I don´t know, if it is safe. I would love to program NXT Brick in C# like Netduino, but I really do not want to damage NXT Brick. I am not going to experiment with NXT Brick in any way, that could prevent me from flashing NXT Firmware back again and to use it as Mindstorms® NXT Brick.
So, what could happen, if I try to flash NXT Brick with Netduino firmware? If it is safe, which firmware is best suited for AT91SAM7S256 ?
So, what could happen, if I try to flash NXT Brick with Netduino firmware? If it is safe, which firmware is best suited for AT91SAM7S256 ?
As NooM has already pointed out, AT91SAM7S256 has less memory than Netduino's AT91SAM7X512, so the Netduino firmware will not fit. I don't know all the differences between SAM7S and SAM7X to tell you what changes will be necessary, but you'd probably need to remove most of the firmware features. The .NET MF Porting Kit includes solution for SAM7S-EK (Atmel's evaluation kit/development board), but I don't know whether it works out-of-the-box.
IMHO Lego NXT brick can be flashed via SAM-BA, so it is basically the same like when you flash erased Netduino.
It's been some time since I've used my Lego Mindstorm NXT, but I was pretty sure I was able to use C# within the Microsoft Robotics Studio software.
On a side note, I wish I could easily use my NXT sensors on the Netduino, but if I recall it uses a funky version of I2C and I haven't made any attempts to decipher it yet. Perhaps some day before my gyros, compass, etc all start to rot away
Has all the information you need to reverse engineer the NXT sensor i2c if I remember correctly. It's on a bookshelf that's not in my dorm so I can't double check.
I know about Microsoft Robotics Studio. But, as far as I know, Robotics Studio code runs on computer which controls NXT Brick via bluetooth. I want to program directly to NXT Brick.
I am as crazy as I tried erasing NXT Brick, and deploying Netduino´s firmware into it. But I got stuck on flashing TinyBooterDecompressor. I ran SAM-BA, selected right COM port, and AT91SAM7S256-ek processor. Selected Flash tab. There was no "Boot from flash" option, so I omitted it. I ran "Enable flash access". Then, I have tried sending TinyBooterDecompressor, which failed.I power cycled NXT Brick, but it was still AT91SAM7S256, instead of TinyBooter.
@CW2: Is there any tutorial or guide or... on how to use .NET MF Porting kit? I am such a newbie in this area, not sure, if I could do it correctly Anyway, I will try it on my own first.
Has all the information you need to reverse engineer the NXT sensor i2c if I remember correctly. It's on a bookshelf that's not in my dorm so I can't double check.
Awesome! I will certainly have a look at this book and hopefully find some good I2C information. Then who knows, maybe I'll resurrect my NXT sensors.
I know about Microsoft Robotics Studio. But, as far as I know, Robotics Studio code runs on computer which controls NXT Brick via bluetooth. I want to program directly to NXT Brick.
Ah, yes. I forgot about that part. It was some time ago, but I was attempting to create a cellphone controlled robot and got lost in the complications of the Bluetooth stack.