Author Topic: Oak panics one out of ten downloads  (Read 3272 times)

Last_Mile

  • Newbie
  • *
  • Posts: 15
Oak panics one out of ten downloads
« on: May 21, 2017, 09:36:18 am »
After about 10 unsuccessful uploads, I either get a successful upload, or I get:

Code: [Select]
Panic C:\Users\Erik\AppData\Roaming\Arduino15\packages\digistump\hardware\oak\0.9.3\cores\oak\core_esp8266_main.cpp:118 loop_task

ctx: sys
sp: 3ffffdd0 end: 3fffffb0 offset: 01b0

>>>stack>>>
3fffff80:  40228c79 3fff06a8 00000000 3fff2ec0 
3ffff

I'm not Erik obviously.

I usually put the oak back into safe mode again and try again.  Sometimes, it takes 20 uploads to get one to take and not wdt or error out like this.

Any ideas what is going on?

PeterF

  • Hero Member
  • *****
  • Posts: 881
Re: Oak panics one out of ten downloads
« Reply #1 on: May 22, 2017, 12:24:41 am »
Your Oaks really don't like you, do they?!  ;D  ;D Maybe it's karma for taking Erik's computer off him! :-P

More seriously though... have you tried doing a serial firmware update on these little suckers just in case there's something stuck in the firmware?

Actually, that's a thought... maybe the firmware version on that Oak is old... it mentions 0.9.3 in that file path line... and the current version is 1.0.6 IIRC.

Last_Mile

  • Newbie
  • *
  • Posts: 15
Re: Oak panics one out of ten downloads
« Reply #2 on: May 22, 2017, 11:40:54 am »
I'm confused.  The Arduino IDE board manager says 1.0.6.  When the oak boots or the WDT expires, the serial output says 1.0.6.

Is doing a serial firmware update resetting back to factory defaults and reloading using the esptool.py script?

PeterF

  • Hero Member
  • *****
  • Posts: 881
Re: Oak panics one out of ten downloads
« Reply #3 on: May 22, 2017, 06:20:35 pm »
Safe mode firmware isn't touched by a serial upload... they are separate blocks in the ESP8266 memory partitioning. Hence you'll need to do a serial update in order to reset safe mode. And if you're still running a 0.9.3 safe mode firmware image... that could explain a lot of the problems you've been having.

In other words, have a look at the Easy Serial Update and uploading the first update over serial stuff.
« Last Edit: May 22, 2017, 06:22:07 pm by PeterF »