Show Posts
Pages: [1] 2 3 ... 39
1  Using Arduino / Microcontrollers / Re: Using the AVR Atmega16 with Arduino on: December 30, 2013, 09:44:11 pm
The reset circuit is working properly as I see the LED blinks for a small time so I don;t think it is the reset circuit.
The fuse bits are 0xFF for the LOW and 0xD9 for the HIGH

You can try changing the High Fuse settings to enable the Boot Reset Vector bit 0.  Also depending on which version of Optiboot file you are using you may need to change the boot sector size to match.  If you are using the one downloaded from this thread then it should be set for 512 word size.  Other optiboot versions may need to be set for 256 word size.

So try changing  the HFUSE to 0xDA instead.

2  Using Arduino / Microcontrollers / Re: Using the AVR Atmega16 with Arduino on: December 28, 2013, 05:06:56 pm
It sounds like the auto-reset circuit is not working correctly, or possibly the fuse bit settings are not set correctly.

3  Using Arduino / Microcontrollers / Re: Goldilocks = Arduino Uno + 1284p on: August 29, 2013, 02:13:02 am
I just received my Goldilocks 20MHz and 22.1184MHz(overclocked) boards.  They are working great.   I have one driving four 16x32 RGB Matrix panels in a 16x128 pattern.  The extra overclock is just enough speed to eliminate the flicker when driving four panels together.  Now to try it with four 32x32 RGB panels.

4  Using Arduino / Microcontrollers / Re: Fixing USBasp based on ATmega8 on: August 28, 2013, 02:23:01 pm
There is an LED on the USBasp programmer that turn on under normal USB access, it should be off during avrdude access.

Does the LED on the USBasp even light up when you plug it in the USB (with the J2 un-jumpered)?  If not then it does sound like it's bad.

5  Using Arduino / Microcontrollers / Re: Fixing USBasp based on ATmega8 on: August 28, 2013, 05:31:29 am
The error you are getting indicates the m8l is not being reset.  When you attempt to use avrdude on the m8l does the LED on the programmer turn off?  If the LED stays on, then the m8l chip is not getting the reset signal.

6  Using Arduino / Microcontrollers / Re: ATmega16 Arduino Processing [Noob] on: August 27, 2013, 07:14:30 pm
You can check this post for some info.

http://forum.arduino.cc/index.php?topic=172881.msg1283986#msg1283986

7  Using Arduino / Microcontrollers / Re: Fixing USBasp based on ATmega8 on: August 27, 2013, 06:36:49 pm
On that betamcu USBASP programmer, you need to jumper the two J2 pins together next to the MOSI pin on the 10-pin header.  This will pass the reset pin from the header to the reset pin on the mega8L chip.  Then you should be able to program it.
8  Using Arduino / Project Guidance / Re: 2 arduino MICRO serial communication?! on: August 15, 2013, 10:38:32 pm
And its not that great, becouse i wanted to use 2 micros not 1 micro and 1 DUE smiley-grin

Did you ever get it working with two Micros?

Note: the Micro uses "Serial1" for TTL communications.  The "Serial" is used for USB communications.
Quote from http://arduino.cc/en/Main/ArduinoBoardMicro
Quote
Note that on the Micro, the Serial class refers to USB (CDC) communication; for TTL serial on pins 0 and 1, use the Serial1 class.

You can try this, it works when I tested it.
Sending:
Code:
int led = 13;
int i = 0;

void setup() {
  Serial1.begin(9600);
  pinMode(led, OUTPUT);     
}

void loop() {
  digitalWrite(13,HIGH);
  Serial1.print(i);
  delay(500);
  digitalWrite(13,LOW);
  delay(500);
  i++;
  if(i > 3) i = 0;
}

Receiving:
Code:
int led = 13;
int incomingVal;

void setup() {
  Serial1.begin(9600);
  pinMode(led, OUTPUT);     
}

void loop() {
  delay(2);
  if(Serial1.available()){
    incomingVal=Serial1.read();
    if(incomingVal=='2')
      digitalWrite(13,HIGH);
    else
      digitalWrite(13,LOW);
  }
}

9  Using Arduino / Microcontrollers / Re: Using the AVR Atmega16 with Arduino on: August 15, 2013, 08:31:05 pm
would you happen to know what it take for some truly ancient at90s2313 and/or at90s4414 ?

Well, the AT90S2313 has been replaced by the ATtiny2313, so it might be able to use some core code from the tiny2313.  You might have to modify the core code to support the AT90S2313.  The main difference would be some lack of timer features that the tiny2313 has.  The AVR tool chain and avrdude does appear to have support for the AT90S2313, so you would be good there.

For the AT90S4414 seems to be replaced with the ATmega8515.  Can't find any documentation about the differences.  The AT90S4414 is not similar to anything else, but there is support for it in the AVR tool chain and avrdude.  So you may be able to get it working with the same core for the mega16.  Just know that it does not have any ADC and limited timer support.  Lookup the ATmega8515 for feature support.
10  Community / Gigs and Collaborations / Re: Interest in 1284P boards? on: August 12, 2013, 04:16:13 pm
@CrossRoads can I also get just order the parts, less the PCB?  I still have two of the PCBs I ordered previously.

11  Community / Gigs and Collaborations / Re: Interest in 1284P boards? on: August 10, 2013, 06:08:44 pm
@CrossRoads add me in for two as well.

12  Using Arduino / Microcontrollers / Re: [SOLVED] attiny84 (arduino-tiny-core) port mappings to Arduino Digital Pins on: August 10, 2013, 03:00:35 pm
No those mapping define the bit positions for the Port A register.

The correct digital port mappings are in a different file under ~\hardware\tiny\cores\tiny\pins_arduino.c.

13  Using Arduino / Microcontrollers / Re: SRAM & Flash on Mega on: August 09, 2013, 02:51:02 pm
Which IDE are you using that gives you those estimates?

14  Using Arduino / Microcontrollers / Re: Controlling mirror galvanometer using mega 2560 PWM on: August 07, 2013, 05:55:12 pm
Are you driving the mirrors directly off the mega2560 i/o port?  How much current do the mirrors draw?  You probably should be using some kind of driver circuit.

15  Using Arduino / Microcontrollers / Re: Using ICSP and SD Board on SPI pins on: August 07, 2013, 07:59:14 am
I've turned on verbose-on-upload but the important information seems to be at the top and when the it's finished and told me that it hasn't worked, It has cut off the bits at the top because the buffer size is too small and the log is too big. Does anyone know where it saves it externally?

If you are under Windows XP, it will be something like,
C:\Documents and Settings\User\Local Settings\Temp\console35478281018359143.tmp\stderr.txt

Pages: [1] 2 3 ... 39