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

Member Since 07 Dec 2011
Offline Last Active Jul 15 2013 09:09 PM
-----

Posts I've Made

In Topic: Program in assembly language?

06 November 2012 - 08:33 PM

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.

In Topic: Program in assembly language?

29 October 2012 - 08:17 PM

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

In Topic: Program in assembly language?

29 October 2012 - 02:59 PM

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

In Topic: Program in assembly language?

28 October 2012 - 05:48 PM

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

In Topic: Program in assembly language?

28 October 2012 - 04:46 PM

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?

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.