Recent Posts

Pages: 1 [2] 3 4 ... 10
11
Oak Support / Re: Digistump / Oak dead ?
« Last post by dynek on January 27, 2020, 12:58:53 pm »
OK P2 -> GND apparently but then I get:

Code: [Select]
Executable segment sizes:
IROM   : 227612          - code in flash         (default or ICACHE_FLASH_ATTR)
IRAM   : 26768   / 32768 - code in IRAM          (ICACHE_RAM_ATTR, ISRs...)
DATA   : 1252  )         - initialized variables (global, static) in RAM/HEAP
RODATA : 672   ) / 81920 - constants             (global, static) in RAM/HEAP
BSS    : 24880 )         - zeroed variables      (global, static) in RAM/HEAP
Sketch uses 256304 bytes (24%) of program storage space. Maximum is 1044464 bytes.
Global variables use 26804 bytes (32%) of dynamic memory, leaving 55116 bytes for local variables. Maximum is 81920 bytes.
esptool.py v2.8
Serial port /dev/cu.usbmodem14101
Connecting....
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: 5c:cf:[..]
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Traceback (most recent call last):
[..]
esptool.FatalError: Timed out waiting for packet header
esptool.FatalError: Timed out waiting for packet header
12
Oak Support / Re: Digistump / Oak dead ?
« Last post by dynek on January 27, 2020, 12:37:30 pm »
I have the USB2Serial Adapter from Arduino: https://store.arduino.cc/arduino-usb-2-serial-micro
I'd guess this would do the trick as well?

Now, does it mean I need to put the Oak/ESP in flash mode, etc.? How do you guys do it?

Also, if I then wanted to flash the device OTA, I just need to add that capability inside of my sketch? Did I get it right? Any example?

Thank you
13
Digispark Pro Support / Re: Mac OS X Catalina: 64-bit Support for Arduino IDE
« Last post by Gecko on January 14, 2020, 10:54:03 am »
Hi Anjin

Many thanks!!!!!
Your solution did the job, awsome!

Cheers

Gecko
14
Digispark (Original) Support / Re: Issue programming Digispark
« Last post by sebi on January 11, 2020, 04:40:42 am »
It has been a while, but I'm pretty sure that it just waited for quite a while (I'd guess about one minute, but I usually just unplugged the Digispark and started over) and then timed out.
In my case it doesn't time out after 60 seconds...
15
Digispark (Original) Support / Re: Issue programming Digispark
« Last post by granzeier on January 11, 2020, 02:54:18 am »
...- Did you also get the message "Done uploading" after a second or two, even when nothing was uploaded?
- I don't get any error message even after the 60 seconds. Was it the same for you?
It has been a while, but I'm pretty sure that it just waited for quite a while (I'd guess about one minute, but I usually just unplugged the Digispark and started over) and then timed out.
16
Digispark (Original) Support / Re: Issue programming Digispark
« Last post by sebi on January 10, 2020, 07:37:35 am »
Yes indeed I am leaving the Digispark unplugged until the message about plugging it in appears.
I used a USB2 Kensington powered hub.
- Did you also get the message "Done uploading" after a second or two, even when nothing was uploaded?
- I don't get any error message even after the 60 seconds. Was it the same for you?
17
Digispark (Original) Support / Re: Issue programming Digispark
« Last post by granzeier on January 10, 2020, 03:31:23 am »
Yes, I have gotten that many times, but the fix for it has been using a cheap unpowered hub (after seeing a post from Digistump about using a hub.)
You are leaving the Digispark unplugged until the message about plugging it in, right?
18
Digispark (Original) Support / Re: Issue programming Digispark
« Last post by sebi on January 09, 2020, 10:19:13 am »
Some more description about my issue:
When clicking on Upload in the Arduino IDE, after my code is done being compiled, I get this

...switching from Uploading... to Done uploading. after a second or two, the Digispark being plugged (at the right time) or not.
19
Digispark (Original) Support / Re: Issue programming Digispark
« Last post by sebi on January 09, 2020, 03:34:17 am »
I tried but it didn't help.
What is weird is that when I run launcher -cdigispark --timeout 60 -Uflash:w:C:\test.ino.hex:i directly in the command line (which is what the Arduino IDE does), the command exits after a second or 2 without any error message, the Digispark being plugged in or not.
It is like this command doesn't work anymore.
Is there a verbose option that would give me more hints?
20
Digispark (Original) Support / Re: Issue programming Digispark
« Last post by granzeier on January 08, 2020, 06:04:32 pm »
Try using a hub - powered is supposed to be preferable, but I have had success with a non-powered one.
Pages: 1 [2] 3 4 ... 10