Programming Atmel Microprocessor from Linux

I'm currently developing a program in assembly language, using a Linux platform to host the development. The development environment is very simple. My notes on this are now on my academic web page at http://www.ee.ryerson.ca/~phiscock/ in the 'papers' subdirectory. Peter -- Peter Hiscocks Syscomp Electronic Design Limited, Toronto http://www.syscompdesign.com USB Oscilloscope and Waveform Generator 647-839-0325

Thanks Peter. Downloaded. -- William Park <opengeometry@yahoo.ca> On Fri, Sep 22, 2017 at 04:22:32PM -0400, Peter Hiscocks via talk wrote:
I'm currently developing a program in assembly language, using a Linux platform to host the development. The development environment is very simple. My notes on this are now on my academic web page at
http://www.ee.ryerson.ca/~phiscock/
in the 'papers' subdirectory.
Peter -- Peter Hiscocks Syscomp Electronic Design Limited, Toronto http://www.syscompdesign.com USB Oscilloscope and Waveform Generator 647-839-0325
--- Talk Mailing List talk@gtalug.org https://gtalug.org/mailman/listinfo/talk
.

You're welcome. Feel free to comment. Peter
Thanks Peter. Downloaded. -- William Park <opengeometry@yahoo.ca>
On Fri, Sep 22, 2017 at 04:22:32PM -0400, Peter Hiscocks via talk wrote:
I'm currently developing a program in assembly language, using a Linux platform to host the development. The development environment is very simple. My notes on this are now on my academic web page at
http://www.ee.ryerson.ca/~phiscock/
in the 'papers' subdirectory.
Peter -- Peter Hiscocks Syscomp Electronic Design Limited, Toronto http://www.syscompdesign.com USB Oscilloscope and Waveform Generator 647-839-0325
--- Talk Mailing List talk@gtalug.org https://gtalug.org/mailman/listinfo/talk
. --- Talk Mailing List talk@gtalug.org https://gtalug.org/mailman/listinfo/talk
-- Peter Hiscocks Syscomp Electronic Design Limited, Toronto http://www.syscompdesign.com USB Oscilloscope and Waveform Generator 647-839-0325

On 2017-09-22 04:22 PM, Peter Hiscocks via talk wrote:
I'm currently developing a program in assembly language, using a Linux platform to host the development. The development environment is very simple. My notes on this are now on my academic web page at
http://www.ee.ryerson.ca/~phiscock/
in the 'papers' subdirectory.
Thanks for that, Peter. A couple of comments: * You can use inline assembly language in the Arduino IDE, and it handles the assembly/compilation, linking and upload with one click or key shortcut. Hints for inline assembly: https://ucexperiment.wordpress.com/2013/06/03/gcc-inline-assembler-cookbook/ * Arduino IDE also has a serial monitor * I'd agree that debugging avr-gcc is virtually impossible, and that's why the whole Arduino infrastructure is so light on debugging. Part of the problem, though, is that effective debugging of embedded code needs hardware that's a) not cheap, and b) got a learning curve. * “sudar/Arduino-Makefile” <https://github.com/sudar/Arduino-Makefile> allows you to build Arduino projects from the command line, if that's your thing. * Really beware of instruction set changes between Atmel chips. Many of the ATTiny chips don't even have a multiply instruction, f'rinstance … * Atmel microprocessors are rather expensive, and getting a bit long in the tooth. For the same price as a < 20 MHz 8-bit ATMega, I can get a 80 MHz 32-bit ESP8266 breakout complete with built-in wifi and megabytes of flash storage. I can also program the ESP8266 in MicroPython or Arduino, which brings embedded development to a wider audience. While we* sell a bunch of AVR-based boards still, the ARM and ESP-based boards sell in higher volumes. cheers, Stewart *: my employer, Elmwood Electronics, an electronics mail-order retailer in Bloor West Village. --
Does anyone know what each of the pins on the 6502 CPU chip in the Apple II Plus does? They all plug into the socket on the motherboard to keep the chip from drifting away. - c.s.a2 FAQ of yore

On 2017-09-22 04:22 PM, Peter Hiscocks via talk wrote:
I'm currently developing a program in assembly language, using a Linux platform to host the development. The development environment is very simple. My notes on this are now on my academic web page
If you wanted to update your paper you can add information about using a Raspberry Pi with simple interface to develop software for, and program, ATMEL AVR microprocessors. I have a project up on the hackaday.io site where I do that. A Pi Zero W is my current development platform. I ssh in to the Zero from a Pi 3 that has a keyboard and monitor attached. -- Cheers! Kevin. http://www.ve3syb.ca/ |"Nerds make the shiny things that distract Owner of Elecraft K2 #2172 | the mouth-breathers, and that's why we're | powerful!" #include <disclaimer/favourite> | --Chris Hardwick

Thanks, Kevin. Noted. If you give me a URL, I'll have a look at it. Cheers - Peter
On 2017-09-22 04:22 PM, Peter Hiscocks via talk wrote:
I'm currently developing a program in assembly language, using a Linux platform to host the development. The development environment is very simple. My notes on this are now on my academic web page
If you wanted to update your paper you can add information about using a Raspberry Pi with simple interface to develop software for, and program, ATMEL AVR microprocessors. I have a project up on the hackaday.io site where I do that. A Pi Zero W is my current development platform. I ssh in to the Zero from a Pi 3 that has a keyboard and monitor attached.
-- Cheers!
Kevin.
http://www.ve3syb.ca/ |"Nerds make the shiny things that distract Owner of Elecraft K2 #2172 | the mouth-breathers, and that's why we're | powerful!" #include <disclaimer/favourite> | --Chris Hardwick --- Talk Mailing List talk@gtalug.org https://gtalug.org/mailman/listinfo/talk
-- Peter Hiscocks Syscomp Electronic Design Limited, Toronto http://www.syscompdesign.com USB Oscilloscope and Waveform Generator 647-839-0325

On Fri, Sep 29, 2017 at 1:47 PM, Peter Hiscocks via talk <talk@gtalug.org> wrote:
Thanks, Kevin. Noted.
If you give me a URL, I'll have a look at it.
Going out on a limb I'm going to guess it's this one... First result in my search for "Raspberry Atmel" turned up this project (by "Kevin" from Canada): <https://hackaday.io/project/8143-avr-programmer-for-raspberry-pi> -- Scott Elcomb @psema4 http://www.pirateparty.ca/
participants (5)
-
Kevin Cozens
-
phiscock@ee.ryerson.ca
-
Scott Elcomb
-
Stewart C. Russell
-
William Park