Skip to content
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
Closed

ESP8266 native SDK expection #245

condemil opened this issue Jun 27, 2015 · 2 comments
Assignees
Labels
Milestone

Comments

@condemil
Copy link

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
Copy link
Member

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

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

@ivankravets
Copy link
Member

@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
Labels
Projects
None yet
Development

No branches or pull requests

3 participants