Loading...
  Show Posts
Pages: [1]
1  Using Arduino / Microcontrollers / Re: assembly program + avrdude gui + duemilanove on: November 21, 2012, 09:55:12 am

  Add "-b57600" to the "command-line options window."


Thank you very much!

Problem solved.
2  Using Arduino / Microcontrollers / assembly program + avrdude gui + duemilanove on: November 19, 2012, 01:33:47 pm
Hi Guys,

I have and Arduino Duemilanove Board (328P) and need to burn an assembly program in it.
It's an Led Blink program, and I already have the .hex file.
The problem is that everytime I try to burn it using the AVRdude it just doens`t work!
I tried every programmer (including the skt500v1, v2) and I`m selecting the right COM port.

When I use the Arduino Software everything works just fine, but I have to program it in Assembly (it's a work for graduation).

Help, please!

Thanks




Assembly Code:

.include   "m328Pdef.inc"

start:      

         SBI      DDRB,5


blink:              LDI      r20,250
         CALL       delay_n_ms
         SBI      PORTB,5
         LDI      r20,250
         CALL       delay_n_ms
         CBI      PORTB,5
         JMP       blink

.include   "delay_n_ms.h"
Pages: [1]