{"action":"created","issue":{"url":"https://api.github.com/repos/rvalles/brntool/issues/8","repository_url":"https://api.github.com/repos/rvalles/brntool","labels_url":"https://api.github.com/repos/rvalles/brntool/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/rvalles/brntool/issues/8/comments","events_url":"https://api.github.com/repos/rvalles/brntool/issues/8/events","html_url":"https://github.com/rvalles/brntool/issues/8","id":178539920,"number":8,"title":"brntool.py crash - Arcadyan VGV7510KW22 / o2 Box 6431","user":{"login":"ds2k5","id":11292286,"avatar_url":"https://avatars.githubusercontent.com/u/11292286?v=3","gravatar_id":"","url":"https://api.github.com/users/ds2k5","html_url":"https://github.com/ds2k5","followers_url":"https://api.github.com/users/ds2k5/followers","following_url":"https://api.github.com/users/ds2k5/following{/other_user}","gists_url":"https://api.github.com/users/ds2k5/gists{/gist_id}","starred_url":"https://api.github.com/users/ds2k5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ds2k5/subscriptions","organizations_url":"https://api.github.com/users/ds2k5/orgs","repos_url":"https://api.github.com/users/ds2k5/repos","events_url":"https://api.github.com/users/ds2k5/events{/privacy}","received_events_url":"https://api.github.com/users/ds2k5/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-22T07:22:03Z","updated_at":"2016-09-22T09:31:50Z","closed_at":null,"body":"Hi,\r\nunsing Manjaro Linux\r\n\r\npython: 3.5.2\r\npython-pyserial: 3.1.1-1\r\nbrntool.py from 08/13/2016\r\n\r\nconnect the Serial Console with minicom\r\n\r\n`sudo minicom -b 115200 -D /dev/ttyUSB1`\r\n\r\nPower ON the O2 Box 6431 / Arcadyan VGV7510KW22\r\npress multible SPACE\r\n\r\nsee the Menu:\r\n\r\n```\r\nROM VER: 1.1.4\r\nCFG 01\r\nTuning DDR begin\r\nDDR Access auto data-eye tuning Rev 0.3a\r\nDDR size from 0xa0000000 - 0xa3ffffff\r\nDDR check ok... start booting...\r\n=======================================================================\r\nWireless VDSL Gateway VR9 Loader V1.08.02 build Mar 12 2014 14:36:08\r\n                    Arcadyan Technology Corporation\r\n=======================================================================\r\nBSP_RCU_RST_STAT : 70240000\r\nGlobal GPHY0 GPHY1 reset ...\r\nMXIC MX29GL128EL top boot 16-bit mode found\r\n\r\nCopying boot params.....DONE\r\n\r\nPress Space Bar 3 times to enter command mode ...123\r\nYes, Enter command mode ...\r\n[VR9 Boot]:\r\n```\r\n\r\nthen exit minicom with CNRTL+A Z q\r\n\r\nrun brntool.py\r\n\r\n`sudo ./brntool.py --serial=/dev/ttyUSB1 --read=boot.brntool_dump --addr=0xB0000000 --verbose --size=0x40000`\r\n\r\ngot this:\r\n\r\nWaiting for a prompt...\r\nOk.\r\nTraceback (most recent call last):\r\n  File \"./brntool.py\", line 94, in <module>\r\n    main()\r\n  File \"./brntool.py\", line 91, in main\r\n    memread(ser,options.read,int(options.addr,0),int(options.size,0),options.verbose)\r\n  File \"./brntool.py\", line 68, in memread\r\n    memreadblock2file(ser,fd,addr,bs)\r\n  File \"./brntool.py\", line 52, in memreadblock2file\r\n    buf=memreadblock(ser,addr,size)\r\n  File \"./brntool.py\", line 45, in memreadblock\r\n    buf+=bytes(m.group(1)[1:].split(' '))\r\nTypeError: 'str' object cannot be interpreted as an integer\r\n\r\n**What did i wrong ?**\r\nThanks"},"comment":{"url":"https://api.github.com/repos/rvalles/brntool/issues/comments/248854001","html_url":"https://github.com/rvalles/brntool/issues/8#issuecomment-248854001","issue_url":"https://api.github.com/repos/rvalles/brntool/issues/8","id":248854001,"user":{"login":"ds2k5","id":11292286,"avatar_url":"https://avatars.githubusercontent.com/u/11292286?v=3","gravatar_id":"","url":"https://api.github.com/users/ds2k5","html_url":"https://github.com/ds2k5","followers_url":"https://api.github.com/users/ds2k5/followers","following_url":"https://api.github.com/users/ds2k5/following{/other_user}","gists_url":"https://api.github.com/users/ds2k5/gists{/gist_id}","starred_url":"https://api.github.com/users/ds2k5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ds2k5/subscriptions","organizations_url":"https://api.github.com/users/ds2k5/orgs","repos_url":"https://api.github.com/users/ds2k5/repos","events_url":"https://api.github.com/users/ds2k5/events{/privacy}","received_events_url":"https://api.github.com/users/ds2k5/received_events","type":"User","site_admin":false},"created_at":"2016-09-22T09:31:50Z","updated_at":"2016-09-22T09:31:50Z","body":">Also, you should try Python2 if you can do that easily.\r\n\r\nwow thats it:\r\n`sudo python2 brntool.py --serial=/dev/ttyUSB1 --read=boot.brntool_dump --addr=0xB0000000 --verbose --size=0x40000`\r\n\r\nAddr: 0xb0002710\r\nSize: 252144\r\nAddr: 0xb0004e20\r\nSize: 242144\r\n....\r\n\r\n**Thanks a lot!**"}}
{"actor":{"display_login":"ds2k5"}}