{"action":"created","issue":{"url":"https://api.github.com/repos/platformio/platformio/issues/396","labels_url":"https://api.github.com/repos/platformio/platformio/issues/396/labels{/name}","comments_url":"https://api.github.com/repos/platformio/platformio/issues/396/comments","events_url":"https://api.github.com/repos/platformio/platformio/issues/396/events","html_url":"https://github.com/platformio/platformio/issues/396","id":123307158,"number":396,"title":"\"system param error\" on latest platformio when flashing 8266","user":{"login":"celsworth","id":2658891,"avatar_url":"https://avatars.githubusercontent.com/u/2658891?v=3","gravatar_id":"","url":"https://api.github.com/users/celsworth","html_url":"https://github.com/celsworth","followers_url":"https://api.github.com/users/celsworth/followers","following_url":"https://api.github.com/users/celsworth/following{/other_user}","gists_url":"https://api.github.com/users/celsworth/gists{/gist_id}","starred_url":"https://api.github.com/users/celsworth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/celsworth/subscriptions","organizations_url":"https://api.github.com/users/celsworth/orgs","repos_url":"https://api.github.com/users/celsworth/repos","events_url":"https://api.github.com/users/celsworth/events{/privacy}","received_events_url":"https://api.github.com/users/celsworth/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-21T16:10:14Z","updated_at":"2015-12-21T16:13:43Z","closed_at":null,"body":"I noticed this on platformio 2.6.1 and 2.6.2 does the same thing:\r\n\r\nplatformio.ini:\r\n\r\n```\r\n[env:esp12]\r\nplatform = espressif\r\nframework = arduino\r\nboard = esp12e\r\nupload_speed = 230400\r\n```\r\n\r\nsrc/empty_sketch.cpp:\r\n\r\n```\r\n#include <ESP8266WiFi.h>\r\n\r\n#include <WiFiClient.h>\r\n#include <ESP8266mDNS.h>\r\n#include <ArduinoOTA.h>\r\n\r\nvoid setup()\r\n{\r\n    Serial.begin(115200);\r\n\r\n    Serial.println(\"booting..\");\r\n\r\n    WiFi.persistent(false);\r\n    WiFi.begin(\"xx\", \"xx\");\r\n    WiFi.mode(WIFI_STA);\r\n\r\n    ArduinoOTA.begin();\r\n}\r\n\r\nunsigned long foo = 0;\r\nvoid loop()\r\n{\r\n    ArduinoOTA.handle();\r\n\r\n    if (millis() - foo > 10000)\r\n    {\r\n        Serial.println(\"I'm still alive :)\\n\");\r\n\r\n        foo = millis();\r\n    }\r\n}\r\n```\r\n\r\nAnd I just get a reboot loop:\r\n\r\n```\r\nbooting..\r\n\r\nException (29):\r\nepc1=0x4000e1c3 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000018 depc=0x00000000\r\n\r\nctx: cont\r\nsp: 3ffefd10 end: 3fff0100 offset: 01a0\r\n\r\n>>>stack>>>\r\n3ffefeb0:  3fff13b8 00000001 00000001 ffffff80\r\n3ffefec0:  40216d6e 402247c8 00000018 3fff0db0\r\n3ffefed0:  00000001 3fff1350 3fff1350 40216f58\r\n3ffefee0:  3fff1350 3fff0db0 3ffe8481 00000000\r\n3ffefef0:  3ffe8f80 3ffe8d94 fffc009a 3ffe8481\r\n3ffeff00:  4022f858 00000064 f334fe1a fffeffff\r\n3ffeff10:  00000018 0000ffff 00000000 00000001\r\n3ffeff20:  3ffeff38 402134d4 3ffe8d10 3fff0db0\r\n3ffeff30:  f334fe1a 3fff3634 00000000 00000000\r\n3ffeff40:  00000000 00000000 00000000 00000000\r\n3ffeff50:  00000000 00000000 00000000 00000000\r\n3ffeff60:  00000000 00000000 402141df 3fff0db0\r\n3ffeff70:  3fff01f4 3fff0db0 3fff0db0 40214227\r\n3ffeff80:  00000000 3ffe8d94 3ffe8b2c 00000000\r\n3ffeff90:  40206c91 00000003 00000003 3ffe8481\r\n3ffeffa0:  40206dad 00000003 00000003 00000000\r\n3ffeffb0:  00000000 40206e1a 00000003 3ffe8481\r\n3ffeffc0:  40202a2a 00000000 00000000 00000000\r\n3ffeffd0:  00000000 3ffe8489 3fff01f4 40202afd\r\n3ffeffe0:  00000000 00000000 00000000 00000000\r\n3ffefff0:  00000000 00000000 00000000 00000000\r\n3fff0000:  00000000 00000000 00000000 00000000\r\n3fff0010:  00000000 00000000 00000000 00000000\r\n3fff0020:  00000000 00000000 00000000 00000000\r\n3fff0030:  00000000 00000000 00000000 00000000\r\n3fff0040:  00000000 00000000 00000000 00000000\r\n3fff0050:  00000000 00000000 00000000 00000000\r\n3fff0060:  00000000 00000000 00000000 00000000\r\n3fff0070:  3ffef098 00000001 3ffe85e5 40223184\r\n3fff0080:  3ffef098 00000008 3ffe847f 3ffef0cc\r\n3fff0090:  3fffdc20 00000009 3ffef098 4020173d\r\n3fff00a0:  3ffe85e4 00000000 3ffef098 4020173d\r\n3fff00b0:  00000000 3fff08c0 3ffef098 40223258\r\n3fff00c0:  0001c200 00000000 3ffef098 3ffef0cc\r\n3fff00d0:  3fffdc20 00000000 3fff01f4 40205310\r\n3fff00e0:  00000000 00000000 3ffef0c5 402018ba\r\n3fff00f0:  00000000 00000000 3ffef0e0 40202948\r\n<<<stack<<<\r\n\r\n ets Jan  8 2013,rst cause:2, boot mode:(3,6)\r\n\r\nload 0x4010f000, len 1264, room 16\r\ntail 0\r\nchksum 0x42\r\ncsum 0x42\r\n~ld\r\n   system param error\r\nc9 ff 00 00 78 e5 fe 3f 61 6a f1 51 15 fa c0 20 00 42 25 96 60 44 20 c0 20 00 31\r\n fa ff 42 65 96\r\n22 63 7f 0d f0 00 00 00 12 c1 f0 29 11 09 01 01 4d ed c0 00 00 08 11 61 0a fa c0 20 00 22 26 93\r\nc0 20 00 52 26 92 c0 20 00 72 26 93 77 12 07 2d 07 c0 20 00 52 26 92 5a 00 07 35 01 1b 22 c0 20\r\n00 02 66 b3 c0 20 00 22 66 b4 21 51 f1 c0 20 00 02 26 b2 20 00 20 c0 20 00 02 66 b2 01 23 ee c0\r\n00 00 08 01 12 c1 10 0d f0 00 00 00 70 e7 fe 3f 12 c1 f0 09 01 01 fd ff 00 02 a0 28 00 8c 12 c0\r\n[snip, there is a lot more of this, let me know if it woudl be useful]\r\n\r\n<repeat>\r\n```\r\n\r\nThe same code works on 2.5.0 and earlier, its just an empty sketch that doesn't do much after all. Any ideas? Has the ldscript changed significantly? I can give you a compiled binary if it will help.\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/29306793-system-param-error-on-latest-platformio-when-flashing-8266?utm_campaign=plugin&utm_content=tracker%2F2014790&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F2014790&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/platformio/platformio/issues/comments/166345614","html_url":"https://github.com/platformio/platformio/issues/396#issuecomment-166345614","issue_url":"https://api.github.com/repos/platformio/platformio/issues/396","id":166345614,"user":{"login":"celsworth","id":2658891,"avatar_url":"https://avatars.githubusercontent.com/u/2658891?v=3","gravatar_id":"","url":"https://api.github.com/users/celsworth","html_url":"https://github.com/celsworth","followers_url":"https://api.github.com/users/celsworth/followers","following_url":"https://api.github.com/users/celsworth/following{/other_user}","gists_url":"https://api.github.com/users/celsworth/gists{/gist_id}","starred_url":"https://api.github.com/users/celsworth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/celsworth/subscriptions","organizations_url":"https://api.github.com/users/celsworth/orgs","repos_url":"https://api.github.com/users/celsworth/repos","events_url":"https://api.github.com/users/celsworth/events{/privacy}","received_events_url":"https://api.github.com/users/celsworth/received_events","type":"User","site_admin":false},"created_at":"2015-12-21T16:13:43Z","updated_at":"2015-12-21T16:13:43Z","body":"This is 2.6.2, there is nothing to update?"}}