Netduino home hardware projects downloads community

Jump to content


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.

Budisha's Content

There have been 9 items by Budisha (Search limited from 10-June 23)


By content type

See this member's

Sort by                Order  

#38639 Program in assembly language?

Posted by Budisha on 06 November 2012 - 08:33 PM in Netduino 2 (and Netduino 1)

Thanks for the replies. I picked up the ATmega8 from the shop this morning so i can learn assembler on a 8bit microcontroller. I think I'll stick with that for a while.



#38199 Program in assembly language?

Posted by Budisha on 29 October 2012 - 08:17 PM in Netduino 2 (and Netduino 1)

How about compiling a trivial C/C++ application (you can simply modify one of the getting-started projects from AT91SAM7X-EK Software Package) and inspect its assembly output? While the blinking itself is trivial (toggling a bit of a GPIO register), there is a few things that must be set up first - interrupt vector table, system clock configuration, GPIO mode settings etc., which require a little bit of work to get it right, especially on a board that does not support interactive debugging/code stepping Posted Image


Thanks for the link. That library is great.
I've managed to get the led blinking and will continue to port the header files for use with Netduino.
Thanks, everyone



#38179 Program in assembly language?

Posted by Budisha on 29 October 2012 - 02:59 PM in Netduino 2 (and Netduino 1)

I've managed to assemble some code and upload it with sam-ba. Now only if I had some code to test it. Perhaps one of you guys could provide assembly code to blink the onboard led? Thanks



#38128 Program in assembly language?

Posted by Budisha on 28 October 2012 - 05:48 PM in Netduino 2 (and Netduino 1)

It is possible to program Netduino in C/C++ or assembly, you'd just need to use an ARM toolchain (such as Keil MDK, ARM RVDS, IAR EWARM, Rowley CrossWorks for ARM, Yagarto, Sourcery etc.), and flash the executable via Atmel SAM-BA. The existing Netduino/Plus/Mini boards do not have any debugging connector (JTAG), which makes development a little bit more challenging.


Thanks, I will try that



#38124 Program in assembly language?

Posted by Budisha on 28 October 2012 - 04:46 PM in Netduino 2 (and Netduino 1)

Thanks for your reply, Mark.
I know the whole point of the netduino is the ability to use higher level languages for a microcontroller, but I just wanted to try assembly and since I already had the netduino, I thought i might use it for that.
If its not possible, which cheap microcontroller would you recommend?


Hi, you can erase the board and program it using ARM or Thumb instruction sets, but of course you have no access to NETMF. To be honest you should start with a simpler 8-bit microcontroller or use an emulator software for educational purposes...


Thanks for the reply, but I was asking for which assembler to use and how to upload the code. Which 8bit microcontroller would you recommend?



#38116 Program in assembly language?

Posted by Budisha on 28 October 2012 - 03:59 PM in Netduino 2 (and Netduino 1)

Hello. I want to learn assembly and I was wondering if it would be possible to program for the netduino in assembly. I searched on the forum and on the internet but couldn't find anything. Thanks



#22201 Help connecting and triggering 3 buttons

Posted by Budisha on 29 December 2011 - 12:04 PM in Netduino 2 (and Netduino 1)

Thanks for the explanation, Chris. I've been having a hard time understanding what the resistor mode does.



#22183 Help connecting and triggering 3 buttons

Posted by Budisha on 28 December 2011 - 07:31 PM in Netduino 2 (and Netduino 1)

Hello, Stefan. Thanks for your help. It worked. I already tried connecting it this way and it didnt work. But i guess that was because i set the resistor mode to disabled.



#22181 Help connecting and triggering 3 buttons

Posted by Budisha on 28 December 2011 - 06:25 PM in Netduino 2 (and Netduino 1)

Hello.
I'm having some problems figuring out how to connect 3 buttons. I know how to connect one button, but the problem in this case is that one pole of the three buttons are connected (see picture). The buttons are soldered on a circuit board i got from an old STB. How should i connect this to the Netduino? How should i code it using interrupt ports?
Please help me.

Posted Image




home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.