asm avr

2011-09-22 Thread igor denisov
Hello there,

I installed avr-binutils  and tried to use it on some code and
something strange happened. When I tried to compile code it appeared
that the m16def.inc had a bad syntacs the file is from ATMEL site.

What I did wrong?

Igor.



Re: asm avr

2011-09-22 Thread jirib
On Thu, 22 Sep 2011 23:20:19 +0800
igor denisov saufe...@gmail.com wrote:

 Hello there,
 
 I installed avr-binutils  and tried to use it on some code and
 something strange happened. When I tried to compile code it appeared
 that the m16def.inc had a bad syntacs the file is from ATMEL site.
 
 What I did wrong?

You posted to bad list. OMG we will be  again spammed with your silly
mails :(

jirib



Re: asm avr

2011-09-22 Thread Alec Taylor
What, you mean OpenBSD hasn't been superseded by MenuetOS yet?

On Fri, Sep 23, 2011 at 2:50 AM, jirib ji...@devio.us wrote:
 On Thu, 22 Sep 2011 23:20:19 +0800
 igor denisov saufe...@gmail.com wrote:

 Hello there,

 I installed avr-binutils  and tried to use it on some code and
 something strange happened. When I tried to compile code it appeared
 that the m16def.inc had a bad syntacs the file is from ATMEL site.

 What I did wrong?

 You posted to bad list. OMG we will be  again spammed with your silly
 mails :(

 jirib



Re: avr

2011-09-21 Thread Daniel Gruber
Hi Igor,

 May someone tell me how to program Atmega through usb using FDTI?

Not exactly an OpenBSD related question, but the easiest way is to burn 
a serial bootloader (e.g. the Arduino bootloader) onto the AVR and use
avrdude in serial mode to upload your firmware.

FTDI bitbang also works, but is more complicated, I would not recommed
it.

Contact me privately if you need more detailed help.

Daniel 



Re: avr

2011-09-20 Thread Fred Crowson
On 18 September 2011 15:37, igor denisov saufe...@gmail.com wrote:
 Hello there,

 May someone tell me how to program Atmega through usb using FDTI?


No, but avr tools are in ports [1] and work well on OpenBSD.

hth

Fred

[1] grep  avr index.txt
-rw-r--r--  1 276  1254625119 Aug 16 01:30:08 2011 avr-binutils-2.20.tgz
-rw-r--r--  1 276  1259747634 Aug 16 02:40:30 2011 avr-gcc-4.3.4p0.tgz
-rw-r--r--  1 276  1252395408 Aug 16 10:43:03 2011 avr-gdb-6.8p5.tgz
-rw-r--r--  1 276  1253127710 Aug 16 08:37:55 2011 avr-libc-1.7.1.tgz
-rw-r--r--  1 276  125 331274 Aug 16 17:32:18 2011 avrdude-5.10p2.tgz



avr

2011-09-18 Thread igor denisov
Hello there,

May someone tell me how to program Atmega through usb using FDTI?



Re: avr

2011-09-18 Thread ropers
On 18 September 2011 16:37, igor denisov saufe...@gmail.com wrote:
 Hello there,

 May someone tell me how to program Atmega through usb using FDTI?

I don't have the final answer, but maybe this will help someone:

You probably mean FTDI, not FDTI. I presume you are looking for a way
to use the FTDI chip bitbang method to program an Atmega
microcontroller from an OpenBSD computer, via USB.
I did find this: http://openports.se/misc/ftdi-eeprom
I haven't tried it, and I know nothing about it.