Show Posts
Pages: 1 2 [3] 4 5 ... 7
31  Using Arduino / Microcontrollers / Re: Avrdude Verifcation failure when using -q switch on: March 13, 2013, 02:11:18 pm
Literally just tried it - still the same problem

Also burnt the fuses for 8 / 8 and 8 / 1 MHz - still fails at both settings smiley-sad

32  Using Arduino / Microcontrollers / Re: Avrdude Verifcation failure when using -q switch on: March 13, 2013, 04:04:56 am
I tried the 5.11.1 patch last night but no luck - problem still exists. I have just realised that this is still a 'virginal' Tiny85 - the fuses have not yet been set (due to a possible issue with VisualMicro) so that may have a bearing. it's supposed to be on 8Mhz internal clock but is currently on 1Mhz I think. I'll set teh fuses separately tonigth and see if that changes anything...
33  Using Arduino / Microcontrollers / Re: Avrdude Verifcation failure when using -q switch on: March 12, 2013, 07:48:15 am
A bit more investigation shows that it fails with avrdude v5.11 but succeeds with v5.10

I was wondering if it could be a timing issue, since outputting the ### progress markers on the console might be slowing things down enough to affect timings somewhere...
34  Using Arduino / Microcontrollers / Avrdude Verifcation failure when using -q switch on: March 11, 2013, 08:22:02 am
This isn't Arduino per se, but just wondering if anyone's come across this before - I was initially using the VisualMicro IDE to upload to a Tiny85 using a TinyISP programmer, but have now removed the IDE from from the suspects list and can reproduce with just avrdude and my compiled .hex

Basically this works:
avrdude -c usbtiny -p attiny85 -U flash:w:Tiny85Test.hex

but adding the -q switch like this fails
avrdude -c usbtiny -p attiny85 -q -U flash:w:Tiny85Test.hex

with the following error
avrdude: verification error, first mismatch at byte 0x00c0
         0xb0 != 0x68
avrdude: verification error; content mismatch

I'm using the Arduino 1.0.3 fileset and the Avrdude that that contains...
Unfortunately VisualMicro adds the -q when it builds teh Avrdude command line, so the upload always fails.

35  Using Arduino / General Electronics / Re: Cheap Uk Supplier for 2.54mm Header Pin Connectors ? on: February 06, 2013, 08:30:27 am
Rapid are good pricewise but like most of the larger UK suppliers have a hobbyist-killing shipping policy: £5 +VAT on all orders under £35 + VAT, so if you just want a few odds & sods you have to go elsewhere....

There are a few good smaller suppliers if you google around - Earthshine comes to mind.
36  Using Arduino / General Electronics / Re: uuuggghhhh ebay and common RGB leds on: January 11, 2013, 08:01:24 am
Remember you're not buying from eBay, eBay is just a conduit that connects you with any number of potential suppliers.

Those suppliers you eventually buy from may be highly reputable selling A1 grade stuff, or they may be cowboys selling junk. It's up to you as a buyer to do the due dilligence....
37  Using Arduino / General Electronics / Re: Cheap PCB fab? on: December 07, 2012, 08:07:35 am
The boards were typically made in three working days, and postage took about 8-10 days.

I've done 2-3 orders this autumn and have seen more like 3 weeks for delivery to the UK
38  Using Arduino / Microcontrollers / Re: Which ATmega328 (blank) from DigiKey? on: July 31, 2012, 07:02:15 am

The chip's that I ordered from sparkfun are 328P-PU with a #1107 on them. They work fine with no fuss but I have to chose one of the older boards in the menu. The chip that came in my UNO has a # 1123 on it.

Those extra numbers are manufacture dates in the form 7th (or 23rd) week of 2011 - this is a common stardard on most components.
39  Using Arduino / Programming Questions / Re: modifying SoftPWM for attiny on: May 10, 2012, 02:17:34 pm
I managed to get it working on the 2313, and also managed to fix some bugs that prevented output 0 being used as PWM (these have now been fixed in the latest Arduino 1.0 version of SoftPWM I noticed the other day)

Can't remember what I did now - I'll have to re-familiarise myself with teh code again....

I did find that the structures consume a huge amount of RAM - I could only get 8 outputs PWMing and more and really strange things start happening....
40  Development / Other Hardware Development / Re: Big holes in Eagle...? on: March 28, 2012, 02:01:44 am
Doh! I knew there's be a simple option smiley

41  Development / Other Hardware Development / Big holes in Eagle...? on: March 27, 2012, 12:49:26 pm
I'm trying to put a 3mm hole in my board for a locating peg, but I can't seem to get just a hole. if I use MOUNT-HOLE3.0 it also places a huge pad and keepout around the hole. I just want the hole. Is there some other library part that is just the hole with no outside pad, or do I have to create one myself?

Cheers in advance!
42  Using Arduino / Programming Questions / Re: modifying SoftPWM for attiny on: February 21, 2012, 03:17:37 pm
I'm using the Aurduino-Tiny 2313 core.

Made a bit of progress... First realised it was still running at 1Mhz. Burnt the 8MHz bootloader to set the fuses and verified correct speed with the standard blink.

Went back to the SoftPWM blink and it was flickering fast now rather than random blinking. I've since discovered that setting a very long delay between the on and off provides correct functionality i.e.

void loop()
  SoftPWMSet(5, 255);
  SoftPWMSet(5, 0);
From this I'm concluding that the timer the SoftPWM is now using is also the one the delay() function uses and that has now been changed such that the delay() function no longer provides a delay in ms. I can live with that and just make adjustments in my code. Are there any other side effects I should be aware of?
43  Using Arduino / Programming Questions / Re: modifying SoftPWM for attiny on: February 21, 2012, 01:27:17 pm
I'm looking to use this on the ATTINY2313 to PWM all the outputs. I created a new "TinySoftPWM.c/h" library and changed the failing references in blind hope thus

  TIFR = (1 << TOV0);          // clear interrupt flag
  TIMSK = (1 << OCIE0A);       // enable timer0 output compare match interrupt
  TCCR0B = (1 << CS01);         // start timer (ck/8 prescalar)
  TCCR0A = (1 << WGM01);        // CTC mode

And also changed ISR(TIMER2_COMPA_vect) to ISR(TIMER0_COMPA_vect).

The code now compiles, but behaves oddly once uploaded (TinyISP). I'm running using the internal 8MHz osc so would expect it to be a bit slower, but I seem to be getting some rather random blinking running the SoftPWM blink sketch.
No idea what to try next....
44  Forum 2005-2010 (read only) / Troubleshooting / Re: Load last project on startup on: March 31, 2010, 09:04:52 am
Thanks for the clarification  smiley
45  Forum 2005-2010 (read only) / Troubleshooting / Load last project on startup on: March 31, 2010, 05:24:27 am
I just updateded from v14 to v18 of the IDE - is there any way to get the last project to load automatically at startup?

New behaviour seems to be always create a new project. When loading the old one, you then get a new window. Annoying.

I couldn't see anything in the preferences to set this, but my last project is listed under last.sketch0.path

Also, is it possible to use tabs as tabs (not spaces)? Setting editor.tabs.expand=false generates nothing at all for the tab key  :-?

Pages: 1 2 [3] 4 5 ... 7