Author Topic: Power light on, no response, can't put in wifi config mode  (Read 2004 times)

bhodgs01

  • Newbie
  • *
  • Posts: 15
Hello,

I successfully updated a few sketches via the arduino ide but then got an error message "Error : An error occurred while flashing the device:" It doesn't appear my oak is online and connecting pin 1 to ground during the power up (then removing after 2-6 seconds) doesn't put it into wifi config mode.  I went through the forums but don't see anyone else with a solution to this.  I get a power light but nothing else seems to work.  I have tried a few different power sources and cables and no different results.  any ideas on what I can do to troubleshoot?

PeterF

  • Hero Member
  • *****
  • Posts: 881
Re: Power light on, no response, can't put in wifi config mode
« Reply #1 on: May 23, 2016, 02:19:50 am »
Unless Erik chirps up wanting something else, since safe mode doesn't seem to be responding, I'd be thinking about re-loading the firmware, as it would seem something major has gone wrong... there are some instructions here you can try if you have a 3.3v FTDI/CH340/USB-to-serial adaptor available for doing a manual firmware update.

What libraries were you using, and what sort of code were you working on... just wondering if it is a reproducable issue, indicating there is a bug needing to be squashed... or just murphy's law in operation... :(

bhodgs01

  • Newbie
  • *
  • Posts: 15
Re: Power light on, no response, can't put in wifi config mode
« Reply #2 on: May 23, 2016, 05:56:01 pm »
Thanks for your reply PeterF.  Unfortunately, I don't have a 3.3v ftdi handy so I'll have to order one.  Everything was working great and I was able to flash a few sketches by the arduino ide.  It just stopped working and it took me awhile to figure out that it wasn't online and it couldn't be put into safe mode.  I can't give you the code because it is a commissioned project but I was using an MMA7455.h and Wire.h library.  I got a warning about the wire library but it compiled.  you can try the example here https://code.google.com/archive/p/mma-7455-arduino-library/downloads

I ordered 2 more oaks and will test those with the code or try to reset by ftdi. 

If anyone wants to try uploading the code and see if it bricks their oak, please let me know what happens.

// Example which uses the MMA_7455 library
// Moritz Kemper, IAD Physical Computing Lab
// moritz.kemper@zhdk.ch
// ZHdK, 03/04/2012
// Released under Creative Commons Licence

#include <Wire.h> //Include the Wire library
#include <MMA_7455.h> //Include the MMA_7455 library

MMA_7455 mySensor = MMA_7455(); //Make an instance of MMA_7455

char xVal, yVal, zVal; //Variables for the values from the sensor

void setup()
{
  Serial.begin(9600);
  // Set the sensitivity you want to use
  // 2 = 2g, 4 = 4g, 8 = 8g
  mySensor.initSensitivity(2);
  // Calibrate the Offset, that values corespond in
  // flat position to: xVal = -30, yVal = -20, zVal = +20
  // !!!Activate this after having the first values read out!!!
  //mySensor.calibrateOffset(0.23, -43.2, 12.43);
}

void loop()
{
  xVal = mySensor.readAxis('x'); //Read out the 'x' Axis
  yVal = mySensor.readAxis('y'); //Read out the 'y' Axis
  zVal = mySensor.readAxis('z'); //Read out the 'z' Axis
}