[Swlug] ATTiny88 on Mint 21
Rhys Sage
rhys_sage at yahoo.com
Wed Apr 5 23:28:12 UTC 2023
I followed the instructions on the page to the letter. Then I put the test program...
void setup() { pinMode(0, OUTPUT); // LED on Model B pinMode(1, OUTPUT); // LED on Model A }
void loop() { digitalWrite(0, HIGH); // Turn the LED on digitalWrite(1, HIGH); delay(1000); // Wait for a second digitalWrite(0, LOW); // Turn the LED off digitalWrite(1, LOW); delay(1000); // Wait for a second}[/code]
It seems something is still not quite right but I'm not sure how to fix this.
Sketch uses 718 bytes (11%) of program storage space. Maximum is 6012 bytes.Global variables use 9 bytes of dynamic memory.Running Digispark Uploader...Plug in device now... (will timeout in 60 seconds)Warning: device with unknown new version of Micronucleus detected.This tool doesn't know how to upload to this new device. Updates may be available.Device reports version as: 2.2
On top of this, of course, my laptop is beginning to get really slow. There're 11GB free of 60GB on an SSD. I bought some memory sticks today. When I get the energy to release them from their plastic prison I'll transfer everything from the downloads folder onto a stick and copy everything on the desktop and documents folder to a stick (plus a couple of things that mysteriously ended up in root). I should be ready for an upcoming meltdown.
I tried hard to get the software straight off the website and each time the files were different from those specified. In the end I used the Mint installer and got a good version of the IDE. I'm not sure what I was using before as this IDE looks to haveway more options. The old one was 20.0.4 or something like that but the one referenced on the website was 18~ as is the one I installed.
We have an advance anyway - Get Board Info can't find the board though.
Rhys Sage
On Wednesday, 5 April 2023 at 08:59:12 GMT-4, <swlug-request at mailman.lug.org.uk> wrote:
Send Swlug mailing list submissions to
swlug at mailman.lug.org.uk
To subscribe or unsubscribe via the World Wide Web, visit
https://mailman.lug.org.uk/mailman/listinfo/swlug
or, via email, send a message with subject or body 'help' to
swlug-request at mailman.lug.org.uk
You can reach the person managing the list at
swlug-owner at mailman.lug.org.uk
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Swlug digest..."
Today's Topics:
1. ATTiny88 on Mint 21 (Rhys Sage)
In the light of day, I remembered lsusb and this seems to be a DigiSpark device.
Bus 001 Device 011: ID 16d0:0753 MCS Digistump DigiSpark
I tried the syslog and it went on and on until I stopped it.
rhys at Apollo:~$ tail -f /var/log/syslogApr 5 08:48:30 Apollo systemd[706]: Created slice apps-org.gnome.Terminal.slice.Apr 5 08:48:30 Apollo systemd[706]: Starting GNOME Terminal Server...Apr 5 08:48:30 Apollo dbus-daemon[745]: [session uid=1000 pid=745] Successfully activated service 'org.gnome.Terminal'Apr 5 08:48:30 Apollo systemd[706]: Started GNOME Terminal Server.Apr 5 08:48:31 Apollo systemd[706]: Started VTE child process 134476 launched by gnome-terminal-server process 134469.Apr 5 08:48:35 Apollo kernel: [117768.076921] sd 0:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSEApr 5 08:48:35 Apollo kernel: [117768.076929] sd 0:0:0:0: [sda] tag#0 Sense Key : Not Ready [current] Apr 5 08:48:35 Apollo kernel: [117768.076937] sd 0:0:0:0: [sda] tag#0 <<vendor>>ASC=0xff <<vendor>>ASCQ=0xff Apr 5 08:48:35 Apollo kernel: [117768.076943] sd 0:0:0:0: [sda] tag#0 CDB: Read(10) 28 00 00 00 31 30 00 00 48 00Apr 5 08:48:35 Apollo kernel: [117768.076950] blk_update_request: I/O error, dev sda, sector 12592 op 0x0:(READ) flags 0x80700 phys_seg 6 prio class 0Apr 5 08:48:42 Apollo kernel: [117774.661864] sd 0:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSEApr 5 08:48:42 Apollo kernel: [117774.661876] sd 0:0:0:0: [sda] tag#0 Sense Key : Not Ready [current] Apr 5 08:48:42 Apollo kernel: [117774.661887] sd 0:0:0:0: [sda] tag#0 <<vendor>>ASC=0xff <<vendor>>ASCQ=0xff Apr 5 08:48:42 Apollo kernel: [117774.661895] sd 0:0:0:0: [sda] tag#0 CDB: Read(10) 28 00 00 00 31 60 00 00 08 00Apr 5 08:48:42 Apollo kernel: [117774.661904] blk_update_request: I/O error, dev sda, sector 12640 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0Apr 5 08:48:42 Apollo kernel: [117774.661919] Buffer I/O error on dev sda1, logical block 556, async page readApr 5 08:48:43 Apollo kernel: [117775.831019] sda: sda1Apr 5 08:48:51 Apollo kernel: [117783.666371] sd 0:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSEApr 5 08:48:51 Apollo kernel: [117783.666381] sd 0:0:0:0: [sda] tag#0 Sense Key : Not Ready [current] Apr 5 08:48:51 Apollo kernel: [117783.666391] sd 0:0:0:0: [sda] tag#0 <<vendor>>ASC=0xff <<vendor>>ASCQ=0xff Apr 5 08:48:51 Apollo kernel: [117783.666399] sd 0:0:0:0: [sda] tag#0 CDB: Read(10) 28 00 00 00 31 30 00 00 48 00Apr 5 08:48:51 Apollo kernel: [117783.666407] blk_update_request: I/O error, dev sda, sector 12592 op 0x0:(READ) flags 0x80700 phys_seg 9 prio class 0Apr 5 08:48:57 Apollo kernel: [117790.251791] sd 0:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSEApr 5 08:48:57 Apollo kernel: [117790.251800] sd 0:0:0:0: [sda] tag#0 Sense Key : Not Ready [current] Apr 5 08:48:57 Apollo kernel: [117790.251810] sd 0:0:0:0: [sda] tag#0 <<vendor>>ASC=0xff <<vendor>>ASCQ=0xff Apr 5 08:48:57 Apollo kernel: [117790.251818] sd 0:0:0:0: [sda] tag#0 CDB: Read(10) 28 00 00 00 31 60 00 00 08 00Apr 5 08:48:57 Apollo kernel: [117790.251825] blk_update_request: I/O error, dev sda, sector 12640 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0Apr 5 08:48:57 Apollo kernel: [117790.251839] Buffer I/O error on dev sda1, logical block 556, async page readApr 5 08:48:58 Apollo kernel: [117790.670807] sd 0:0:0:0: [sda] tag#0 device offline or changedApr 5 08:48:58 Apollo kernel: [117790.670825] blk_update_request: I/O error, dev sda, sector 8216 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0Apr 5 08:48:58 Apollo kernel: [117791.417219] sda: sda1Apr 5 08:49:06 Apollo kernel: [117799.248287] sd 0:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSEApr 5 08:49:06 Apollo kernel: [117799.248297] sd 0:0:0:0: [sda] tag#0 Sense Key : Not Ready [current] Apr 5 08:49:06 Apollo kernel: [117799.248308] sd 0:0:0:0: [sda] tag#0 <<vendor>>ASC=0xff <<vendor>>ASCQ=0xff Apr 5 08:49:06 Apollo kernel: [117799.248317] sd 0:0:0:0: [sda] tag#0 CDB: Read(10) 28 00 00 00 31 30 00 00 48 00Apr 5 08:49:06 Apollo kernel: [117799.248325] blk_update_request: I/O error, dev sda, sector 12592 op 0x0:(READ) flags 0x80700 phys_seg 9 prio class 0Apr 5 08:49:13 Apollo kernel: [117805.834659] sd 0:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSEApr 5 08:49:13 Apollo kernel: [117805.834670] sd 0:0:0:0: [sda] tag#0 Sense Key : Not Ready [current] Apr 5 08:49:13 Apollo kernel: [117805.834681] sd 0:0:0:0: [sda] tag#0 <<vendor>>ASC=0xff <<vendor>>ASCQ=0xff Apr 5 08:49:13 Apollo kernel: [117805.834689] sd 0:0:0:0: [sda] tag#0 CDB: Read(10) 28 00 00 00 31 60 00 00 08 00Apr 5 08:49:13 Apollo kernel: [117805.834698] blk_update_request: I/O error, dev sda, sector 12640 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0Apr 5 08:49:13 Apollo kernel: [117805.834714] Buffer I/O error on dev sda1, logical block 556, async page readApr 5 08:49:14 Apollo kernel: [117807.004428] sda: sda1Apr 5 08:49:22 Apollo kernel: [117814.830445] sd 0:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSEApr 5 08:49:22 Apollo kernel: [117814.830456] sd 0:0:0:0: [sda] tag#0 Sense Key : Not Ready [current] Apr 5 08:49:22 Apollo kernel: [117814.830467] sd 0:0:0:0: [sda] tag#0 <<vendor>>ASC=0xff <<vendor>>ASCQ=0xff Apr 5 08:49:22 Apollo kernel: [117814.830476] sd 0:0:0:0: [sda] tag#0 CDB: Read(10) 28 00 00 00 31 30 00 00 48 00Apr 5 08:49:22 Apollo kernel: [117814.830485] blk_update_request: I/O error, dev sda, sector 12592 op 0x0:(READ) flags 0x80700 phys_seg 2 prio class 0Apr 5 08:49:28 Apollo kernel: [117821.415321] sd 0:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSEApr 5 08:49:28 Apollo kernel: [117821.415331] sd 0:0:0:0: [sda] tag#0 Sense Key : Not Ready [current] Apr 5 08:49:28 Apollo kernel: [117821.415343] sd 0:0:0:0: [sda] tag#0 <<vendor>>ASC=0xff <<vendor>>ASCQ=0xff Apr 5 08:49:28 Apollo kernel: [117821.415351] sd 0:0:0:0: [sda] tag#0 CDB: Read(10) 28 00 00 00 31 60 00 00 08 00Apr 5 08:49:28 Apollo kernel: [117821.415360] blk_update_request: I/O error, dev sda, sector 12640 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0Apr 5 08:49:28 Apollo kernel: [117821.415375] Buffer I/O error on dev sda1, logical block 556, async page readApr 5 08:49:30 Apollo kernel: [117822.575349] sda: sda1Apr 5 08:49:37 Apollo kernel: [117830.406879] sd 0:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSEApr 5 08:49:37 Apollo kernel: [117830.406890] sd 0:0:0:0: [sda] tag#0 Sense Key : Not Ready [current] Apr 5 08:49:37 Apollo kernel: [117830.406901] sd 0:0:0:0: [sda] tag#0 <<vendor>>ASC=0xff <<vendor>>ASCQ=0xff Apr 5 08:49:37 Apollo kernel: [117830.406909] sd 0:0:0:0: [sda] tag#0 CDB: Read(10) 28 00 00 00 31 30 00 00 48 00Apr 5 08:49:37 Apollo kernel: [117830.406918] blk_update_request: I/O error, dev sda, sector 12592 op 0x0:(READ) flags 0x80700 phys_seg 2 prio class 0Apr 5 08:49:38 Apollo kernel: [117830.825784] sd 0:0:0:0: [sda] tag#0 device offline or changedApr 5 08:49:38 Apollo kernel: [117830.825805] blk_update_request: I/O error, dev sda, sector 12592 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0Apr 5 08:49:38 Apollo kernel: [117830.825817] Buffer I/O error on dev sda1, logical block 550, async page readApr 5 08:49:39 Apollo kernel: [117831.573607] sda: sda1Apr 5 08:49:46 Apollo kernel: [117839.402136] sd 0:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSEApr 5 08:49:46 Apollo kernel: [117839.402147] sd 0:0:0:0: [sda] tag#0 Sense Key : Not Ready [current] Apr 5 08:49:46 Apollo kernel: [117839.402158] sd 0:0:0:0: [sda] tag#0 <<vendor>>ASC=0xff <<vendor>>ASCQ=0xff Apr 5 08:49:46 Apollo kernel: [117839.402166] sd 0:0:0:0: [sda] tag#0 CDB: Read(10) 28 00 00 00 31 30 00 00 48 00Apr 5 08:49:46 Apollo kernel: [117839.402175] blk_update_request: I/O error, dev sda, sector 12592 op 0x0:(READ) flags 0x80700 phys_seg 5 prio class 0Apr 5 08:49:53 Apollo kernel: [117845.987805] sd 0:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSEApr 5 08:49:53 Apollo kernel: [117845.987813] sd 0:0:0:0: [sda] tag#0 Sense Key : Not Ready [current] Apr 5 08:49:53 Apollo kernel: [117845.987822] sd 0:0:0:0: [sda] tag#0 <<vendor>>ASC=0xff <<vendor>>ASCQ=0xff Apr 5 08:49:53 Apollo kernel: [117845.987828] sd 0:0:0:0: [sda] tag#0 CDB: Read(10) 28 00 00 00 31 60 00 00 08 00Apr 5 08:49:53 Apollo kernel: [117845.987835] blk_update_request: I/O error, dev sda, sector 12640 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0Apr 5 08:49:53 Apollo kernel: [117845.987847] Buffer I/O error on dev sda1, logical block 556, async page readApr 5 08:49:54 Apollo kernel: [117847.146913] sda: sda1Apr 5 08:50:02 Apollo kernel: [117854.974136] sd 0:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSEApr 5 08:50:02 Apollo kernel: [117854.974147] sd 0:0:0:0: [sda] tag#0 Sense Key : Not Ready [current] Apr 5 08:50:02 Apollo kernel: [117854.974158] sd 0:0:0:0: [sda] tag#0 <<vendor>>ASC=0xff <<vendor>>ASCQ=0xff Apr 5 08:50:02 Apollo kernel: [117854.974166] sd 0:0:0:0: [sda] tag#0 CDB: Read(10) 28 00 00 00 31 30 00 00 48 00Apr 5 08:50:02 Apollo kernel: [117854.974175] blk_update_request: I/O error, dev sda, sector 12592 op 0x0:(READ) flags 0x80700 phys_seg 9 prio class 0Apr 5 08:50:09 Apollo kernel: [117861.558441] sd 0:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSEApr 5 08:50:09 Apollo kernel: [117861.558451] sd 0:0:0:0: [sda] tag#0 Sense Key : Not Ready [current] Apr 5 08:50:09 Apollo kernel: [117861.558462] sd 0:0:0:0: [sda] tag#0 <<vendor>>ASC=0xff <<vendor>>ASCQ=0xff Apr 5 08:50:09 Apollo kernel: [117861.558470] sd 0:0:0:0: [sda] tag#0 CDB: Read(10) 28 00 00 00 31 60 00 00 08 00Apr 5 08:50:09 Apollo kernel: [117861.558479] blk_update_request: I/O error, dev sda, sector 12640 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0Apr 5 08:50:09 Apollo kernel: [117861.558494] Buffer I/O error on dev sda1, logical block 556, async page readApr 5 08:50:10 Apollo kernel: [117862.721967] sda: sda1Apr 5 08:50:18 Apollo kernel: [117870.546583] sd 0:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSEApr 5 08:50:18 Apollo kernel: [117870.546590] sd 0:0:0:0: [sda] tag#0 Sense Key : Not Ready [current] Apr 5 08:50:18 Apollo kernel: [117870.546598] sd 0:0:0:0: [sda] tag#0 <<vendor>>ASC=0xff <<vendor>>ASCQ=0xff Apr 5 08:50:18 Apollo kernel: [117870.546605] sd 0:0:0:0: [sda] tag#0 CDB: Read(10) 28 00 00 00 31 30 00 00 48 00Apr 5 08:50:18 Apollo kernel: [117870.546611] blk_update_request: I/O error, dev sda, sector 12592 op 0x0:(READ) flags 0x80700 phys_seg 9 prio class 0Apr 5 08:50:24 Apollo kernel: [117877.133260] sd 0:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSEApr 5 08:50:24 Apollo kernel: [117877.133270] sd 0:0:0:0: [sda] tag#0 Sense Key : Not Ready [current] Apr 5 08:50:24 Apollo kernel: [117877.133282] sd 0:0:0:0: [sda] tag#0 <<vendor>>ASC=0xff <<vendor>>ASCQ=0xff Apr 5 08:50:24 Apollo kernel: [117877.133290] sd 0:0:0:0: [sda] tag#0 CDB: Read(10) 28 00 00 00 31 60 00 00 08 00Apr 5 08:50:24 Apollo kernel: [117877.133298] blk_update_request: I/O error, dev sda, sector 12640 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0Apr 5 08:50:24 Apollo kernel: [117877.133312] Buffer I/O error on dev sda1, logical block 556, async page readApr 5 08:50:25 Apollo kernel: [117878.298722] sda: sda1
Rhys Sage_______________________________________________
Swlug mailing list
Swlug at mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/swlug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/swlug/attachments/20230405/cda9e773/attachment-0001.htm>
More information about the Swlug
mailing list