New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP8266 native SDK expection #245

Closed
condemil opened this Issue Jun 27, 2015 · 2 comments

Comments

Projects
None yet
3 participants
@condemil

condemil commented Jun 27, 2015

ESP8266 package with native SDK gives the following exception:

Fatal exception (0): epc1=0x40240655, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x00000000

With arduino framework ESP8266 is working fine, I can see such behaviour only with native SDK

How to reproduce

  • Create native SDK project with your upload_port in platformio.ini

*. Create empty user_config.h under the src folder

  • Create user_main.c under the src folder with the following content:
#include "ets_sys.h"
#include "osapi.h"

void user_init(void)
{
    os_printf("SDK version:%s\n", system_get_sdk_version());
}
  • Execute platformio run
  • Connect to ESP8266 UART with 74880 baudrate, I am using miniterm from pyserial for that purpose
miniterm.py /dev/<YOUR_DEV> -b 74880

Edited: Requested from http://esp8266.ru.

@ivankravets ivankravets added this to the 2.2.0 milestone Jun 27, 2015

@ivankravets

This comment has been minimized.

Member

ivankravets commented Jun 27, 2015

miniterm.py /dev/<YOUR_DEV> -b 74880

Don't forget that you can use platformio serialports monitor command. It also uses miniterm.

@valeros valeros closed this in c80fb5f Jun 30, 2015

@ivankravets

This comment has been minimized.

Member

ivankravets commented Jun 30, 2015

@condemil please upgrade PlatformIO to the latest release 2.2.0.

Has it helped you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment