{"action":"created","issue":{"url":"https://api.github.com/repos/BusPirate/Bus_Pirate/issues/7","repository_url":"https://api.github.com/repos/BusPirate/Bus_Pirate","labels_url":"https://api.github.com/repos/BusPirate/Bus_Pirate/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/BusPirate/Bus_Pirate/issues/7/comments","events_url":"https://api.github.com/repos/BusPirate/Bus_Pirate/issues/7/events","html_url":"https://github.com/BusPirate/Bus_Pirate/issues/7","id":173250347,"number":7,"title":"Test the build on a real v3 board","user":{"login":"agatti","id":235740,"avatar_url":"https://avatars.githubusercontent.com/u/235740?v=3","gravatar_id":"","url":"https://api.github.com/users/agatti","html_url":"https://github.com/agatti","followers_url":"https://api.github.com/users/agatti/followers","following_url":"https://api.github.com/users/agatti/following{/other_user}","gists_url":"https://api.github.com/users/agatti/gists{/gist_id}","starred_url":"https://api.github.com/users/agatti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agatti/subscriptions","organizations_url":"https://api.github.com/users/agatti/orgs","repos_url":"https://api.github.com/users/agatti/repos","events_url":"https://api.github.com/users/agatti/events{/privacy}","received_events_url":"https://api.github.com/users/agatti/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/BusPirate/Bus_Pirate/labels/help%20wanted","name":"help wanted","color":"128A0C"},{"url":"https://api.github.com/repos/BusPirate/Bus_Pirate/labels/v3","name":"v3","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":26,"created_at":"2016-08-25T16:29:07Z","updated_at":"2016-09-19T19:52:18Z","closed_at":null,"body":"Now that the firmware can build for v3, it would be nice to know whether it actually works or not.  Unfortunately I only have a v4 board here..."},"comment":{"url":"https://api.github.com/repos/BusPirate/Bus_Pirate/issues/comments/248103673","html_url":"https://github.com/BusPirate/Bus_Pirate/issues/7#issuecomment-248103673","issue_url":"https://api.github.com/repos/BusPirate/Bus_Pirate/issues/7","id":248103673,"user":{"login":"USBEprom","id":22304580,"avatar_url":"https://avatars.githubusercontent.com/u/22304580?v=3","gravatar_id":"","url":"https://api.github.com/users/USBEprom","html_url":"https://github.com/USBEprom","followers_url":"https://api.github.com/users/USBEprom/followers","following_url":"https://api.github.com/users/USBEprom/following{/other_user}","gists_url":"https://api.github.com/users/USBEprom/gists{/gist_id}","starred_url":"https://api.github.com/users/USBEprom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/USBEprom/subscriptions","organizations_url":"https://api.github.com/users/USBEprom/orgs","repos_url":"https://api.github.com/users/USBEprom/repos","events_url":"https://api.github.com/users/USBEprom/events{/privacy}","received_events_url":"https://api.github.com/users/USBEprom/received_events","type":"User","site_admin":false},"created_at":"2016-09-19T19:52:17Z","updated_at":"2016-09-19T19:52:17Z","body":"Hi all.\r\nHoping not to mess.\r\nI own a Bus Pirate revision 3.6 and normally I write on dangerousprototypes.com.\r\nHere are some thought about the new firmware v7.0 for the Bus Pirate.\r\nFirst I have to thanks mikebdp2, agatti, kallisti5 and all the guys involved in the project: THANKS!\r\nSo said, here you go:\r\n\r\nI had a look into this forum but honestly I understood very few things.\r\nI am just a hobbyist, not a software engineer.\r\nThe only thing I can do is perhaps help with debug, perhaps...\r\nI am sorry, no more.\r\nI tested both the new releases.\r\nHere you go.\r\n\r\nbpv3_fw7.0_opt0_18092016.hex\r\nbpv3_fw7.0_opt1_18092016.hex\r\nbpv3_fw7.0_opt2_18092016.hex\r\nbpv3_fw7.0_optS_18092016.hex\r\n\r\nFirst I have converted them into uppercase in order to use pirate-loader for the upgrade, then I upgrade my Bus Pirate 3.6 with them all.\r\nFor each of them I got the error message that I have already written:\r\n\r\nWriting page 41 row 334, a700...OK\r\nWriting page 41 row 335, a780...OK\r\nErasing page 42, a800...ERROR [50]\r\n\r\nError updating firmware :(\r\n\r\nBased on explanation of mikebdp2 and of agatti and of others, seems to not be a problem.\r\nSo okay.\r\n\r\nHiZ>i\r\nBus Pirate v3.5\r\nCommunity Firmware v7.0 - goo.gl/gCzQnW [HiZ UART I2C SPI] Bootloader v4.4\r\nDEVID:0x0447 REVID:0x3046 (24FJ64GA002 B8)\r\nhttp://dangerousprototypes.com\r\nHiZ>~\r\nDisconnect any devices\r\nConnect (Vpu to +5V) and (ADC to +3.3V)\r\nSpace to continue\r\nCtrl\r\nAUX OK\r\nMODE LED OK\r\nPULLUP H OK\r\nPULLUP L OK\r\nVREG OK\r\nADC and supply\r\n5V(4.94) OK\r\nVPU(5.03) OK\r\n3.3V(3.31) OK\r\nADC(3.34) OK\r\nBus high\r\nMOSI OK\r\nCLK OK\r\nMISO OK\r\nCS OK\r\nBus Hi-Z 0\r\nMOSI OK\r\nCLK OK\r\nMISO OK\r\nCS OK\r\nBus Hi-Z 1\r\nMOSI OK\r\nCLK OK\r\nMISO OK\r\nCS OK\r\nMODE and VREG LEDs should be on! [OKAY: VREG DOES LIGHT]\r\nAny key to exit\r\nFound 0 errors.\r\nHiZ>#\r\nRESET\r\n\r\nBus Pirate v3.5\r\nCommunity Firmware v7.0 - goo.gl/gCzQnW [HiZ UART I2C SPI] Bootloader v4.4\r\nDEVID:0x0447 REVID:0x3046 (24FJ64GA002 B8)\r\nhttp://dangerousprototypes.com\r\nHiZ>s\r\nSyntax error at char 1\r\nHiZ>$\r\nAre you sure? y\r\nBOOTLOADER\r\n\r\nThis time for them all the self test works fine and the VREG led glow.\r\nBasic still doesn't works but I have understood it is because purposely deactivated in the firmware.\r\n\r\nBased on some bugs listed here viewtopic.php?f=28&t=6097, I have digged more deeply.\r\nSo,\r\n\r\nHiZ>b\r\nSet serial port speed: (bps)\r\n1. 300\r\n2. 1200\r\n3. 2400\r\n4. 4800\r\n5. 9600\r\n6. 19200\r\n7. 38400\r\n8. 57600\r\n9. 115200\r\n10. BRG raw value\r\n\r\n(9)>10\r\nEnter raw value for BRG\r\n\r\n(34)>8\r\nAdjust your terminal\r\nSpace to continue\r\n\r\nIt works!\r\n\r\nFor what I know up to 255 characters of syntax may be entered into the Bus Pirate terminal at once.\r\nI have tried but with them all the firmwares only 127 characters seems to be accepted, the extra ones are rejected (in the terminal the rejected characters are shown like not ascii).\r\n\r\nI have not an oscilloscope so I can not say if SPI protocol is okay or still has the MOSI problems (viewtopic.php?f=4&t=6667#p58785) fixed by tayken doing correction of typo found by luftek (viewtopic.php?f=4&t=6667&start=15#p59041)\r\n\r\nI can not test if the i2c timeout problem has been fixed or not (viewtopic.php?f=4&t=8546).\r\n\r\nLast but not least, the software flashrom_v0.9.9_Win does work!\r\n\r\n----------------------\r\n\r\nbpv3_fw7.0_opt1_features.hex\r\nbpv3_fw7.0_opt2_features.hex\r\nbpv3_fw7.0_optS_features.hex\r\n\r\nFirst I have converted them into uppercase in order to use pirate-loader for the upgrade, then I upgrade my Bus Pirate 3.6 with them all.\r\nFor each of them I got the error message that I have already written:\r\n\r\nWriting page 41 row 334, a700...OK\r\nWriting page 41 row 335, a780...OK\r\nErasing page 42, a800...ERROR [50]\r\n\r\nError updating firmware :(\r\n\r\nBased on explanation of  mikebdp2 and of agatti and of others, seems to not be a problem.\r\nSo okay.\r\n\r\nHiZ>i\r\nBus Pirate v3.5\r\nCommunity Firmware v7.0 - goo.gl/gCzQnW [HiZ 1-WIRE UART I2C SPI 2WIRE 3WIRE DIO] Bootloader v4.4\r\nDEVID:0x0447 REVID:0x3046 (24FJ64GA002 B8)\r\nhttp://dangerousprototypes.com\r\nHiZ>~\r\nDisconnect any devices\r\nConnect (Vpu to +5V) and (ADC to +3.3V)\r\nSpace to continue\r\nCtrl\r\nAUX OK\r\nMODE LED OK\r\nPULLUP H OK\r\nPULLUP L OK\r\nVREG OK\r\nADC and supply\r\n5V(4.94) OK\r\nVPU(5.03) OK\r\n3.3V(3.31) OK\r\nADC(3.34) OK\r\nBus high\r\nMOSI OK\r\nCLK OK\r\nMISO OK\r\nCS OK\r\nBus Hi-Z 0\r\nMOSI OK\r\nCLK OK\r\nMISO OK\r\nCS OK\r\nBus Hi-Z 1\r\nMOSI OK\r\nCLK OK\r\nMISO OK\r\nCS OK\r\nMODE and VREG LEDs should be on! [OKAY: VREG DOES LIGHT]\r\nAny key to exit\r\nFound 0 errors.\r\nHiZ>#\r\nRESET\r\n\r\nBus Pirate v3.5\r\nCommunity Firmware v7.0 - goo.gl/gCzQnW [HiZ 1-WIRE UART I2C SPI 2WIRE 3WIRE DIO] Bootloader v4.4\r\nDEVID:0x0447 REVID:0x3046 (24FJ64GA002 B8)\r\nhttp://dangerousprototypes.com\r\nHiZ>s\r\nHiZ(BASIC)>exit (now it is active and working)\r\nReady\r\nHiZ>$\r\nAre you sure? y\r\nBOOTLOADER\r\n\r\nThis time for them all the self test works fine and the VREG led glow.\r\nBasic too now works, I have understood it is because purposely activated in the firmware.\r\n\r\nSeems that DIO does not work.\r\nBus Pirate v3.5\r\nCommunity Firmware v7.0 - goo.gl/gCzQnW [HiZ 1-WIRE UART I2C SPI 2WIRE 3WIRE DIO] Bootloader v4.4\r\nDEVID:0x0447 REVID:0x3046 (24FJ64GA002 B8)\r\nhttp://dangerousprototypes.com\r\nHiZ>m\r\n1. HiZ\r\n2. 1-WIRE\r\n3. UART\r\n4. I2C\r\n5. SPI\r\n6. 2WIRE\r\n7. 3WIRE\r\n8. DIO\r\nx. exit(without change)\r\n\r\n(1)>8\r\nERROR: command has no effect here\r\nClutch disengaged!!!\r\nTo finish setup, start up the power supplies with command 'W'\r\n\r\nReady\r\nSyntax error at char 2\r\nDIO>\r\n\r\nBut honestly I do not even understand how test it, sorry.\r\n\r\nBased on some bugs listed here viewtopic.php?f=28&t=6097, I have digged more deeply.\r\nSo,\r\n\r\nHiZ>b\r\nSet serial port speed: (bps)\r\n1. 300\r\n2. 1200\r\n3. 2400\r\n4. 4800\r\n5. 9600\r\n6. 19200\r\n7. 38400\r\n8. 57600\r\n9. 115200\r\n10. BRG raw value\r\n\r\n(9)>10\r\nEnter raw value for BRG\r\n\r\n(34)>8\r\nAdjust your terminal\r\nSpace to continue\r\n\r\nIt works!\r\n\r\nMACRO(1) and MACRO(2) in 2WIRE protocol they do not work.\r\nFor what I can understand MACRO(1) fails due a wrong order in the lsb/MSB of the emitted bytes.\r\nAlso MACRO(2) fails but I do not know why, perhaps for the same reason of MACRO(1).\r\n\r\nFor what I know up to 255 characters of syntax may be entered into the Bus Pirate terminal at once.\r\nI have tried but with them all the firmwares only 127 characters seems to be accepted, the extra ones are rejected (in the terminal that rejected characters are shown like not ascii)\r\n\r\nI have not an oscilloscope so I can not say if SPI protocol is okay or still has the MOSI problems (viewtopic.php?f=4&t=6667#p58785) fixed by tayken doing correction of typo found by luftek (viewtopic.php?f=4&t=6667&start=15#p59041)\r\n\r\nI can not test if the i2c timeout problem has been fixed or not (viewtopic.php?f=4&t=8546)\r\n\r\nLast but not least, the software flashrom_v0.9.9_Win does work!\r\n\r\nHoping those are useful.\r\nThank you friends!\r\n\r\nBe seeing you.\r\n\r\nU.Sb\r\n"}}
{"actor":{"display_login":"USBEprom"}}