{"action":"created","issue":{"url":"https://api.github.com/repos/jamesbowman/swapforth/issues/45","repository_url":"https://api.github.com/repos/jamesbowman/swapforth","labels_url":"https://api.github.com/repos/jamesbowman/swapforth/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/jamesbowman/swapforth/issues/45/comments","events_url":"https://api.github.com/repos/jamesbowman/swapforth/issues/45/events","html_url":"https://github.com/jamesbowman/swapforth/issues/45","id":185809276,"number":45,"title":"serial data corruption at 460800","user":{"login":"bmentink","id":10123911,"avatar_url":"https://avatars.githubusercontent.com/u/10123911?v=3","gravatar_id":"","url":"https://api.github.com/users/bmentink","html_url":"https://github.com/bmentink","followers_url":"https://api.github.com/users/bmentink/followers","following_url":"https://api.github.com/users/bmentink/following{/other_user}","gists_url":"https://api.github.com/users/bmentink/gists{/gist_id}","starred_url":"https://api.github.com/users/bmentink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmentink/subscriptions","organizations_url":"https://api.github.com/users/bmentink/orgs","repos_url":"https://api.github.com/users/bmentink/repos","events_url":"https://api.github.com/users/bmentink/events{/privacy}","received_events_url":"https://api.github.com/users/bmentink/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-10-27T23:59:43Z","updated_at":"2016-11-05T19:04:02Z","closed_at":null,"body":"I am sending the following sequence from Forth:\n\n`$9a emit 36 emit $80 emit`\n\nin a loop, and I am seeing:\n\n```\n0000000 c000 0000 0000 0000 00c0 0000 0000 c000\n0000010 0000 0000 0000 00c0 0000 0000 c000 0000\n0000020 0000 0000 00c0 0000 0000 c000 0000 0000\n0000030 0000 00c0 0000 0000 c000 0000 0000 0000\n0000040 00c0 0000 0000 c000 0000 0000 0000 00c0\n```\n\ndirectly out of port /dev/ttyUSB1, either by cat'ing to a file and dumping it, or some terminal program ..\nHowever, sometimes it is ok ... and I get the right data.\n\nIs there some problem with the timing at 460800 baud? It only seems a problem after sending an 8-bit value ..\n"},"comment":{"url":"https://api.github.com/repos/jamesbowman/swapforth/issues/comments/258633696","html_url":"https://github.com/jamesbowman/swapforth/issues/45#issuecomment-258633696","issue_url":"https://api.github.com/repos/jamesbowman/swapforth/issues/45","id":258633696,"user":{"login":"bmentink","id":10123911,"avatar_url":"https://avatars.githubusercontent.com/u/10123911?v=3","gravatar_id":"","url":"https://api.github.com/users/bmentink","html_url":"https://github.com/bmentink","followers_url":"https://api.github.com/users/bmentink/followers","following_url":"https://api.github.com/users/bmentink/following{/other_user}","gists_url":"https://api.github.com/users/bmentink/gists{/gist_id}","starred_url":"https://api.github.com/users/bmentink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmentink/subscriptions","organizations_url":"https://api.github.com/users/bmentink/orgs","repos_url":"https://api.github.com/users/bmentink/repos","events_url":"https://api.github.com/users/bmentink/events{/privacy}","received_events_url":"https://api.github.com/users/bmentink/received_events","type":"User","site_admin":false},"created_at":"2016-11-05T19:04:02Z","updated_at":"2016-11-05T19:04:02Z","body":"Remy, you are missing the point. Sure changing the constants in top of uart.v need to be changed for different baud rates, not entirely without a brain cell.\r\n\r\nThe point is that there is a timing error in uart.v and/or an initializing error. The opencore uart.v works correctly, the one in swapforth does not ..... end of story.\r\n\r\nEither the uart.v in swapforth needs to be debugged and fixed, or the \"better\" uart.v from opencore included in it's place, as I have successfully done.\r\n\r\nAs I have stated, I have modified the opencore uart for swapforth so it is a direct replacement without having to change the top level... you seem to be not even interested in trying it to see if your errors go away ... which is surprising ...."}}
{"actor":{"display_login":"bmentink"}}