I have a project with an attiny88. I createdan entry in boards.txt and corresponding entry in variants.
All worked, but I could use only 256 bytes of sram. After some searching I found, that the file iotn88.h
contains the line#define RAMEND 0x1FF.
The standard installation of avr-gcc containst the correct value 0x2FF.
I edited this, but the stakck was still located at 0x1ff.
On a linux system, I replaced the avr/bin directory of the arduino installation by a symbolic link
to the avr-gcc location. Everything works fine.
My conclusion ist that some startup file was created using the wrong value.
I have a solution for Linux. Waht should I do for Windows?
Johann_Joss:
I have a project with an attiny88. I createdan entry in boards.txt and corresponding entry in variants.
All worked, but I could use only 256 bytes of sram. After some searching I found, that the file iotn88.h
contains the line
#define RAMEND 0x1FF
.
The standard installation of avr-gcc containst the correct value 0x2FF.
I edited this, but the stakck was still located at 0x1ff.
<...>
Perhaps attaching the boards.txt would be useful. I looked in my Attiny85 board definition and this is a pertinent line: attiny85at16p**.upload.maximum_size=8192** Double check your entry for your tiny88.
Does someone can help me to fix it?
How does the hex-code work? What does the single lines indicate?
thx
allo
When the tiny library installation instructions state to place the library in the user sketch path hardware directory what that means is something like on my system:
\Documents\Arduino\hardware
You DO NOT place the tiny files and core in the program directory.
that file toggles ALL the bits on ALL the ports on ALL avr chips. this includes t13, t85, t88, up to m328, m128, m1284, m2560 etc. it is a binary file that can be downloaded directly with avrdude and has nothing to do with arduino ide or your errors. good for testing your programmer and t88 (or any other avr) circuit though.
mrburnette:
When the tiny library installation instructions state to place the library in the user sketch path hardware directory what that means is something like on my system:
\Documents\Arduino\hardware
You DO NOT place the tiny files and core in the program directory.
Ray
nope, i get the same message with the tiny-folder in C:\Users\xyz\Documents\Arduino\hardware
an other idea?
Maybe that could help:
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Arduino: 1.0.6 (Windows 7), Board: "attiny88 @ 8 MHz (internal oscillator; BOD enabled)"
avrdude: can't open input file C:\Users\xyz\Documents\Arduino\hardware\tiny\bootloaders: No such file or directory
avrdude: read from file 'C:\Users\xyz\Documents\Arduino\hardware\tiny\bootloaders' failed
nope, i get the same message with the tiny-folder in C:\Users\xyz\Documents\Arduino\hardware
an other idea?
Maybe that could help:
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Arduino: 1.0.6 (Windows 7), Board: "attiny88 @ 8 MHz (internal oscillator; BOD enabled)"
avrdude: can't open input file C:\Users\xyz\Documents\Arduino\hardware\tiny\bootloaders: No such file or directory
avrdude: read from file 'C:\Users\xyz\Documents\Arduino\hardware\tiny\bootloaders' failed
thx
allo
Yes...
Now that we have that figured out, the error messages are telling you your "structure" is not correct.
There is a semi-rigid format for how files MUST be associated with directory names.
C:\DOCUMENTS\ARDUINO\HARDWARE\AT_TINY
├───bootloaders
│ ├───empty
│ └───optiboot
└───cores
├───empty
└───tiny
The reason that I know this is correct is IT WORKS WHEN DONE CORRECTLY.
After some searching I found, that the file iotn88.h
It looks like this is just wrong in the version of avr-gcc that ships with arduino (which is quite old.)
Which copy did you edit? It's possible that there are several hiding in various places with arduino and gcc and tiny installed...