Error compiling for board ATtiny13

amkoshesh: But still the same error

Did you select the MicroCore board from the Tools > Board menu? MicroCore definitely does have recipe.preproc.macros defined.

amkoshesh: The virus PC is the cause of error?

Definitely not. The problem is most likely that you installed a very old hardware package that is not compatible with the version of the Arduino IDE you're using. I can't say for sure because you didn't say which package you installed originally or where you got it from.

pert: Did you select the MicroCore board from the Tools > Board menu? MicroCore definitely does have recipe.preproc.macros defined. Definitely not. The problem is most likely that you installed a very old hardware package that is not compatible with the version of the Arduino IDE you're using. I can't say for sure because you didn't say which package you installed originally or where you got it from.

yes

Please see the Picture

http://forum.arduino.ir/4/12/3348.html#post16540

Please post the picture here. I don't want to visit some random website.

pert: Please post the picture here. I don't want to visit some random website.

excuse me can you see in the picture? Since I put up my picture

picture is ide Windows

for better understanding

Where is upload ? for you

You posted a link to some website named arduino.ir that I've never heard of. I don't know or trust that website so I'm not going to visit it. You can embed the image with the picture icon on the toolbar or you can attach the photo by clicking "Reply" and then "Attachments and other options". Better yet, attach and embed the picture by following the instructions at: http://forum.arduino.cc/index.php?topic=364156.0

When you post links please use the chain links icon to make them clickable.

amkoshesh:
Please see the Picture

http://forum.arduino.ir/4/12/3348.html#post16540

I get this when I click on untitled.jpg. I think the forum requires me to sign in before I can see it.

Screen Shot 2017-02-05 at 03.01.35.png

Finally I could send my picture

You're still using the old ATtiny13 package that you originally installed, that's why you're still getting the same error. If the MicroCore board isn't showing in the Tools > Board menu then the old package may be interfering with MicroCore, please uninstall the old package and then restart the Arduino IDE.

pert: You're still using the old ATtiny13 package that you originally installed, that's why you're still getting the same error. If the MicroCore board isn't showing in the Tools > Board menu then the old package may be interfering with MicroCore, please uninstall the old package and then restart the Arduino IDE.

Good news Great great great Very good Thank you How I appreciate you Hardware folders of old files got deleted and new files placed on your attiny13 I'm questions Files related to the attiny45, attiny85, .... atmega8, atmega16, atmega128, pic ic , se ic Link the most? Where is?

Very grateful Very grateful

How disable the divide clock by 8؟ Because the disorder Runtime

Hex code has already been made. In this way it is possible to transfer?

STMicroelectronics IC core for Arduino. There is?

amkoshesh: Files related to the attiny45, attiny85

https://github.com/SpenceKonde/ATTinyCore

amkoshesh: atmega8

https://github.com/MCUdude/MiniCore

amkoshesh: atmega16

https://github.com/MCUdude/MightyCore

amkoshesh: atmega128

https://github.com/MCUdude/MegaCore

amkoshesh: pic ic

Not sure, maybe someone else knows of a good PIC package for Arduino

amkoshesh: se ic

What's that? Intel Quark SE?

amkoshesh: STMicroelectronics IC core for Arduino. There is?

https://github.com/rogerclarkmelbourne/Arduino_STM32 (for STM32)

amkoshesh: How disable the divide clock by 8

If I'm reading the fuse settings in MicroCore it should do that by default. Here they are for the Tools > Clock > 9.6 MHz internal osc., Tools > B.O.D. > 2.7v board setting: http://eleccelerator.com/fusecalc/fusecalc.php?chip=attiny13&LOW=3A&HIGH=FB&LOCKBIT=3E The chip comes from the factory with the fuses set to divide the clock by 8. Did you do Tools > Burn Boorloader? This is required to set the fuses according to your selections in the Tools menus, even though there is no bootloader in MicroCore. Sketch > Upload Using Programmer does not set the fuses

pert:
GitHub - SpenceKonde/ATTinyCore: Arduino core for ATtiny 1634, 828, x313, x4, x41, x5, x61, x7 and x8
GitHub - MCUdude/MiniCore: Arduino hardware package for ATmega8, ATmega48, ATmega88, ATmega168, ATmega328 and ATmega328PB
GitHub - MCUdude/MightyCore: Arduino hardware package for ATmega1284, ATmega644, ATmega324, ATmega324PB, ATmega164, ATmega32, ATmega16 and ATmega8535
GitHub - MCUdude/MegaCore: Arduino hardware package for ATmega64, ATmega128, ATmega640, ATmega1280, ATmega1281, ATmega2560, ATmega2561, AT90CAN32, AT90CAN64 and AT90CAN128
Not sure, maybe someone else knows of a good PIC package for Arduino
What’s that? Intel Quark SE?
https://github.com/rogerclarkmelbourne/Arduino_STM32 (for STM32)
If I’m reading the fuse settings in MicroCore it should do that by default. Here they are for the Tools > Clock > 9.6 MHz internal osc., Tools > B.O.D. > 2.7v board setting:
AVR Fuse Calculator for ATtiny13
The chip comes from the factory with the fuses set to divide the clock by 8. Did you do Tools > Burn Boorloader? This is required to set the fuses according to your selections in the Tools menus, even though there is no bootloader in MicroCore. Sketch > Upload Using Programmer does not set the fuses

that was perfect
Thankful

one question
Hex code has been made in the past. In this way it is possible to transfer? Using Arduino as isp

amkoshesh: that was perfect Thankful

Glad I was able to help! Please take the time to update your post on arduino.ir with what you learned so that others can benefit from this information.

amkoshesh: Hex code has been made in the past. In this way it is possible to transfer? Using Arduino as isp

Yes, if the hex file was compiled for the hardware you're using, but you can't do it using the Arduino IDE. You will need to use AVRDUDE from the command line. AVRDUDE is included with the Arduino IDE, it's the tool used for Upload, Upload Using Programmer, and Burn Bootloader on all AVR microcontrollers.

To make it super easy you can use the Arduino IDE to generate the command you need to run from the command line by uploading a blank sketch to the microcontroller:

  • Plug the Arduino as ISP into your computer.
  • File > New
  • File > Preferences > Show verbose output during: > upload(check) > OK
  • Tools > Board > ATtiny13
  • Tools > Programmer > Arduino as ISP
  • Tools > Port > select the port of the Arduino as ISP
  • Sketch > Upload Using Programmer
  • After the upload completes scroll up the black console window in the bottom of the Arduino IDE window until you see the AVRDUDE command at the start of the uploading process. It will look something like:
E:\ArduinoIDE\arduino-1.8.1\hardware\tools\avr/bin/avrdude -CE:\ArduinoIDE\arduino-1.8.1\hardware\tools\avr/etc/avrdude.conf -v -pattiny13 -cstk500v1 -PCOM21 -b19200 -Uflash:w:C:\Users\per\AppData\Local\Temp\arduino_build_882863/sketch_feb05a.ino.hex:i
  • Highlight that command in the console and copy it to the clipboard.
  • Open the command line on your computer.
  • Paste the command to the command line but change the filename (C:\Users\per\AppData\Local\Temp\arduino_build_882863/sketch_feb05a.ino.hex in my example) to the hex file you want to upload.

pert:
! Please take the time to update your post on arduino.ir with what you learned so that others can benefit from this information.
[/li]
[/list]

How?

This is the correct choice?

55ed.jpg

amkoshesh: How?

I'm assuming the post you linked above (http://forum.arduino.ir/4/12/3348.html#post16540) is regarding your question about ATtiny13. Add a summary of the solution you found to the problem you had on that thread so that if someone else has the same problem and finds your post on that forum they will be helped. This is the great thing about forums. I helped you solve your problem but many other people may find this thread in search results over the years and also be helped without me having to make any extra effort.

yes I shared everywhere

Hi ...did you find a solution to your problem,,? as I have the same problem,, I have just ordered a cheap ISP from ebay actually just yesterday .. ( http://www.ebay.co.uk/itm/282259458751?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT ) .. I was thinking like pert saying probably the only thing that can be done, i think just like me u have allreday flashed your bord and need to reset the IC´s, but i was thinking about you might have found a better solution ..

good luck out there everyone..

just to clear out,,

Iam useing a Rambo 1.2 bord*