Attiny10 is not scheduled

Go To Last Post
15 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi everyone, I hope in your precious help, I wanted to program an attiny10 with a soft. that I found on the net, I use atmel studio, and an AVRISP mkII programmer, but I can't do it I get an error, give me an eye and tell me what to do thanks

I have attached the error and also the firmware

Attachment(s): 

This topic has a solution.
Last Edited: Mon. Mar 23, 2020 - 03:52 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Please see Tip #1 in my signature for how to post images - and how to get a proper screenshot.

 

My signature appears at the bottom of my post - you may have to be on a computer to see it (it may not be visible on mobile)

 

Please also provide full details of your setup, how it is all connected, and the precise steps you took prior to getting that error.

 

Some good, clear, in-focus photographs of your setup would also help.

 

 

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

ok I think I have inserted it well now the image, however I tried to insert also another firmware but always ninte same error

 

AVRISP mkII Target ATTINY10
connector pin name pin number
 
1 MISO TPIDATA 1
2 VCC VCC 5
3 SCK TPICLK 3
4 MOSI
5 RESET RESET 6
6 GND GND 2

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Slow down your ISP programming speed setting to the lowest possible...does that help?

When in the dark remember-the future looks brighter than ever.   I look forward to being able to predict the future!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have searched but I have not found any point where you can reduce the speed, explain to me what to do

This reply has been marked as the solution. 
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1


Minimum programming voltage for the ATtiny10 is 5V.  You're running at 3.2V:

 

"Experience is what enables you to recognise a mistake the second time you make it."

"Good judgement comes from experience.  Experience comes from bad judgement."

"Wisdom is always wont to arrive late, and to be a little approximate on first possession."

"When you hear hoofbeats, think horses, not unicorns."

"Fast.  Cheap.  Good.  Pick two."

"We see a lot of arses on handlebars around here." - [J Ekdahl]

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

many many thanks, now it works

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

someone can give me an eye to the firmware that I posted because it does not work as it should, I do not understand anything, thanks

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Minimum programming voltage for the ATtiny10 is 5V. 

That sounds rather odd...is this something for any of their other chips as well? Might surprise someone who has 3.3V max allowable components connected to the avr (sort of like the HV programming warnings of yesteryear)

When in the dark remember-the future looks brighter than ever.   I look forward to being able to predict the future!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0


 

avrcandies wrote:
That sounds rather odd
Right there in the datasheet, page 1.  Twice:

 

 

Also mentioned 5 or 6 other times elsewhere in the datasheet.

 

avrcandies wrote:
is this something for any of their other chips as well?
Two families that I know of:

  • ATtiny4/5/9/10
  • ATtiny20/40

 

 

avrcandies wrote:
Might surprise someone who has 3.3V max allowable components connected to the avr (sort of like the HV programming warnings of yesteryear)
Again, in the datasheet:

 

"Experience is what enables you to recognise a mistake the second time you make it."

"Good judgement comes from experience.  Experience comes from bad judgement."

"Wisdom is always wont to arrive late, and to be a little approximate on first possession."

"When you hear hoofbeats, think horses, not unicorns."

"Fast.  Cheap.  Good.  Pick two."

"We see a lot of arses on handlebars around here." - [J Ekdahl]

 

Last Edited: Sat. Mar 21, 2020 - 09:33 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I managed to program attiny10 with the code I put on my first post, but I need your help,
this code is for a flashlight and ATTiny10. This implements a simple 3-level plus off light using a momentary switch and includes voltage monitoring, which I don't understand because I'm not expert,
how do I vary the minimum voltage monitoring,
how do I put a delay on the button presses to remove accidental starts,
how do I if possible have a pwm at 40kHz

can you help me thanks

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

hi, no programming expert to help modify this firmware, please
thank you

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

tiny102 is a follow-on to tiny10

AN_42676 AT13053: Differences between ATtiny4/5/9/10 and ATtiny102/104

[PDF page 4]

...

Flash Self-programming is supported for the full supply voltage range (1.8 – 5.5V).

...

via ATtiny102 - 8-bit AVR Microcontrollers 

 

"Dare to be naïve." - Buckminster Fuller

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

For me thanks to you I solved this problem, I could not program, the solution is that Attiny10 must be programmed at 5v

Percciò declare this problem solved

Thank you

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Sorry I opened another more specific thread we continue the discussion there, thank you so far who will help me

 

https://www.avrfreaks.net/forum/help-code-changes-attiny10