ATtiny88 Wont Run my Program

Just purchased my first ATtiny88 Board. It says "Tiny" on the PCB, NOT MH-Tiny.
Product description on eBay was ATtiny88 Microdevelopment Board 16Mhz - Digispark.

I am running Arduino IDE 1.8.13 and Manually uploaded the Digistump drivers under my Arduino folder in programs, also uploaded "Spence Konde's" ATTinyCore in the Board manager. I finally got the sketch to upload to the board where the status window (under the sketch) says... "Device is found!" "Connecting 22%, 33% etc etc. " Then Parsing, then Erasing: Memory 10, 22% etc. complete" then writing % complete..."Starting User App", "Running", Micronucleus Done Thank You"

And nothing works. I can't even get this to bink one LED I wired to digital output 5 for example. On the board I have a steady green LED and a flickering orange led.

Under tools I have these settings... (but since I see it saying it is uploading, not sure if any problems lie here below):
BOARD: ATtiny88 (Micronucleus MH-ET t88 w/ 16Mhz clock
CLOCK: 16 Mhz (external 16 Mhz USB)
PIN MAPPING: MH-Tiny
LTO: Enabled
PROGRAMMER: Micronucleus

The board LEDs seem to be blinking correct during upload, not at all clear on why a simple LED blink program wont run.
HELP PLEASE !


I cannot get a simple LED wired to digital output 5 to blink. See screenshots...

Welcome to the forum!

To get started properly, please read and follow the directions in the How to use the forum post.

Post the code, using code tags, links to the modules, a hand drawn wiring diagram, and avoid posting screen shots. Cut and paste text instead.

I can't even get this to bink one LED I wired to digital output 5 for example

Without the above information, it is impossible for forum members to know whether the code properly configures and addresses "digital output 5".

I ppsted a screen shot of the drop down menu in arduino side for a simple reason.... one cannot copy and paste the drop down menu... it disappears if you try that. This is the only way to easily show the reader what I am specifically referring to avoid being misunderstood.

The description details in my post are very clear about the simple blink code not running at all, so I'm unclear what exactly you are looking for.

Please advise.

I suggest your try the example Blink without delay. This is what I do on any new board type. You need no connections except for the IDE. That's assuming you Tiny has an on board LED.

Not sure if it has a LED onboard. So I tried a directly wired LED - Program doesn't work.

Please re-read reply #1 and follow the instructions. They are very clear.

The point of using the example is you don't have to and shouldn't wire any external LED or anything. It should run on a bare board.

The quick look I made showed a ATtiny88 Board with two LED's

Again, I posted a screenshot because first of all your posting software allows for it, so I am using this tool to be very clear on the IDE to the board settings. As I said, The drop down menu disappears as soon as one attempts to copy and paste it... so a "print screen" is the only way I can show it clearly for ALL the settings under "Tools".

Secondly, I didn't post the code using tags (I do know how to do this) because again, as I said, I used the simple Blink program, that doesn't work, so I just modified THAT BLINK program to try blinking digital output 5 as I am unsure if a ATtiny88 has an onboard LED for testing. I already said it won't run any program but if you insist on seeing the Blink program with tags fine... here it is... (thie program is not the problem).


// the setup function runs once when you press reset or power the board
void setup() {
  // initialize digital pin LED_BUILTIN as an output.
  pinMode(5, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
  digitalWrite(5, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);                       // wait for a second
  digitalWrite(5, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);                       // wait for a second
}

John - I tried uploading the Blink program as written shown below... It says it uploads and is running, but no blinking on the board. Hence thinking a LED is not on board, I changed it to digital output 5 wired a LED to output 5 with a 220 ohm resister and nothing.
Original Blink wont run....



// the setup function runs once when you press reset or power the board
void setup() {
  // initialize digital pin LED_BUILTIN as an output.
  pinMode(LED_BUILTIN, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
  digitalWrite(LED_BUILTIN, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);                       // wait for a second
  digitalWrite(LED_BUILTIN, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);                       // wait for a second
}

Perhaps you could post an eBay link to the board you purchased. Somebody may recognize any peculiarities of that board.

And a photo of the board you are using. Everything I see for a ATTiny88 shows two different color LEDs.

Hmm... interesting. That definitely should be working.

What I'm really wondering is whether the user sketch is ever running, or if it's dying as it attempts to leave the bootloader. Can you show us a picture of the board? All the ones I have say either MH Tiny or HW Tiny on them, so you may have a different flavor of the board with different version of bootloader pre-loaded on it. During the upload process, at the start it will tell you how much space the bootloader has available for the user code, can you tell us what that number is? That's useful in identifying whether it has the same version of the bootloader as the MH-Tiny ones come with. or something else.

It's worth noting that there is no such thing as a tiny88 digispark - the digispark name only ever referred to devices based on the t85 and t167 (digispark pro), and no official digisparks have been made for years (for good reason - once everyone cloned them, there ceased to be any money in it...).

Here is what I purchased, however, the picture of the product in the link is not exactly what I received. I am in contact with the vendor and they are sending me another board to see if maybe my board is faulty. My board says "Tiny" on it not "MH Tiny."
link... here.

Thanks for the reply... latest update. See the screenshot of your question. plenty of space (it was one thing i checked right away). However... I just went to try again to trouble shoot it and now the board won't power up at all. Now I am figuring it is a bad board. Vendor is sending me a new one as soon as he gets them back in stock.
See the link in my other reply what I bought. Vendor described in in my packing slip as a digispark, and the only difference from the picture on the website and mine is just the word "Tiny" appears on my board. Alas, now I have to wait for another board.... See screenshot however...

P.S. I never did have to upload a bootloader, it came ready to go as soon as I uploaded the drivers manually and added ATTinyCore to my Board Manager.