snipe3687 wrote on 2024-05-18, 13:32:Absolutely! […]
Show full quote
ahmadexp wrote on 2024-05-18, 02:01:Any chance you can provide more info to how you got the lower and higher fuse value set.
If you can add your hex file that woul […]
Show full quote
snipe3687 wrote on 2024-05-08, 12:23:That's my thought as well! My gut was telling me that I needed to flash something on it but I'm a noob at this stuff still, so I […]
Show full quote
That's my thought as well! My gut was telling me that I needed to flash something on it but I'm a noob at this stuff still, so I thought there was a chance I missed something and maybe the BIOS flash also covered the ATTINY.
I found a firmware he posted for someone to test a while back for the ATTINY but when I tried it the only thing that happened was now the red LED is blinking non-stop. still can't enable the LED or clicker in the BIOS.
Eivind: if you read this, could you PLEASE post the firmware for the ATTINY and the RP2040 somewhere? I really appreciate what you do!
On a side note:
I've built 2 tinyLlamas so far and am hoping to have similar success with this project as well!
Any chance you can provide more info to how you got the lower and higher fuse value set.
If you can add your hex file that would be fantastic. I am getting the rapid fast red blink on mine based on compiling the main.c file and with the platformio.ini.
Thank you
Absolutely!
I'm going to assume you have a TL866II programmer since that's what I have but after you select your attiny84a chip go to the config tab and remove the check from CKDIV8=0 and add a check to RSTDISBL=0. you will see in the lower right hand that the values for fuse high and fuse low change to the appropriate values. I'm also attaching the hex file I used but it sounds like you got the same thing I did without setting the high and low fuse values so it's likely you did it right aside from that.
Let me know if that works!
Thank you so much. That's right, I used the TL866II and was able to get it up and running when I put the right fuse settings.
Initially I tried to program it via an Arduino Uno as an ISP programmer using the PlatformIO. Well, at the end I figure that one out too.
Basically, you have to add the correct hfuse and lfuse as well as the COM port (where is says SERIAL_PORT_HERE) for the Arduino. Then when you are done flashing (upload), you should go to the Project tasks under the PlatformIO icon and click on "Set Fuses" (show in the attached picture) as simple upload does not include the fuses.
If you wonder how to get the Arduino Uno to become and ISP programmer, well it is really simple. You go to the Arduino IDE and load (compile and upload) the Arduino ISP example. Then you use the wiring https://content.instructables.com/FO4/WIJ7/JC … adfb9e665aa43a3
For more details, you can use the following Instructable article https://www.instructables.com/Arduino-Uno-to- … -Arduino-V-185/
To make it easy for anything in the future looking into this, add the following to the platformIO.ini file that is provided by Eivind on the Github
PS: I put a pull request to the Tinyllama ITX github with the following addition to the PlatformIO.ini. I also attached the modified ini file here.
board_fuses.hfuse = 0x5F
board_fuses.lfuse = 0xE2
board_fuses.efuse = 0xFF
upload_protocol = stk500v1
; each flag in a new line
upload_flags =
-P$UPLOAD_PORT
-b$UPLOAD_SPEED
; edit these lines
upload_port = SERIAL_PORT_HERE
upload_speed = 19200