{"action":"created","issue":{"url":"https://api.github.com/repos/esp8266/Arduino/issues/1162","labels_url":"https://api.github.com/repos/esp8266/Arduino/issues/1162/labels{/name}","comments_url":"https://api.github.com/repos/esp8266/Arduino/issues/1162/comments","events_url":"https://api.github.com/repos/esp8266/Arduino/issues/1162/events","html_url":"https://github.com/esp8266/Arduino/issues/1162","id":120650152,"number":1162,"title":"UDP Receive: Exception (29) after a few hundred packets... ???","user":{"login":"vogtitec","id":4894940,"avatar_url":"https://avatars.githubusercontent.com/u/4894940?v=3","gravatar_id":"","url":"https://api.github.com/users/vogtitec","html_url":"https://github.com/vogtitec","followers_url":"https://api.github.com/users/vogtitec/followers","following_url":"https://api.github.com/users/vogtitec/following{/other_user}","gists_url":"https://api.github.com/users/vogtitec/gists{/gist_id}","starred_url":"https://api.github.com/users/vogtitec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vogtitec/subscriptions","organizations_url":"https://api.github.com/users/vogtitec/orgs","repos_url":"https://api.github.com/users/vogtitec/repos","events_url":"https://api.github.com/users/vogtitec/events{/privacy}","received_events_url":"https://api.github.com/users/vogtitec/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/esp8266/Arduino/labels/troubleshooting","name":"troubleshooting","color":"bfdadc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-06T18:27:23Z","updated_at":"2015-12-08T16:27:14Z","closed_at":null,"body":"After a short time of successfully receiving Artnet packets, the ESP throws a fatal Error:\r\nException (29):\r\nepc1=0x4022b00f epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000004 depc=0x00000000\r\n\r\nctx: sys \r\nsp: 3ffffd90 end: 3fffffb0 offset: 01a0\r\n\r\n>>>stack>>>\r\n3fffff30:  00000008 3fff24c8 3ffedc98 4022b004  \r\n3fffff40:  3ffedc98 4022e957 3ffedc98 3ffeb6c4  \r\n3fffff50:  3ffeb6c4 00000265 00000000 0000002b  \r\n3fffff60:  00000002 0000001a 4021e7d1 3ffedc98  \r\n3fffff70:  3ffeb6b8 000000f5 3ffea248 3ffea248  \r\n3fffff80:  00000080 3ffedc98 00000000 3fff09f0  \r\n3fffff90:  4021e17c 3fffdab0 00000000 3fffdcc0  \r\n3fffffa0:  3ffea248 40000f49 3fffdab0 40000f49  \r\n<<<stack<<<\r\n\r\nCan anyone help me in interpreting or fixing the error, which seems to be in the ESP-System, not in the sketch area of the code. Many thanks for all suggestions!"},"comment":{"url":"https://api.github.com/repos/esp8266/Arduino/issues/comments/162935808","html_url":"https://github.com/esp8266/Arduino/issues/1162#issuecomment-162935808","issue_url":"https://api.github.com/repos/esp8266/Arduino/issues/1162","id":162935808,"user":{"login":"vogtitec","id":4894940,"avatar_url":"https://avatars.githubusercontent.com/u/4894940?v=3","gravatar_id":"","url":"https://api.github.com/users/vogtitec","html_url":"https://github.com/vogtitec","followers_url":"https://api.github.com/users/vogtitec/followers","following_url":"https://api.github.com/users/vogtitec/following{/other_user}","gists_url":"https://api.github.com/users/vogtitec/gists{/gist_id}","starred_url":"https://api.github.com/users/vogtitec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vogtitec/subscriptions","organizations_url":"https://api.github.com/users/vogtitec/orgs","repos_url":"https://api.github.com/users/vogtitec/repos","events_url":"https://api.github.com/users/vogtitec/events{/privacy}","received_events_url":"https://api.github.com/users/vogtitec/received_events","type":"User","site_admin":false},"created_at":"2015-12-08T16:27:14Z","updated_at":"2015-12-08T16:27:14Z","body":"Further testing revealed, that it seems to be an issue with the ESP serial library - or the code which I use to transmit dmx data. The code for transmitting is following, it is called regularly from void loop(), which also contains a delay(10) to give time for ESP tasks:\r\nvoid xmit() {\r\n  Serial1.end();\r\n  Serial1.begin(83333, SERIAL_8N1);\r\n  Serial1.write(0);\r\n  Serial1.flush();\r\n  Serial1.end();\r\n  Serial1.begin(250000, SERIAL_8N2);\r\n  Serial1.write(dmxbuffer, sizeof(dmxbuffer));\r\n  Serial1.flush();\r\n}\r\nThe exception only occurs in conjunction with other WiFi related tasks, e.g. UDP receive or server handling. Does anyone have any suggestions?"}}