{"action":"created","issue":{"url":"https://api.github.com/repos/stawel/cheali-charger/issues/173","repository_url":"https://api.github.com/repos/stawel/cheali-charger","labels_url":"https://api.github.com/repos/stawel/cheali-charger/issues/173/labels{/name}","comments_url":"https://api.github.com/repos/stawel/cheali-charger/issues/173/comments","events_url":"https://api.github.com/repos/stawel/cheali-charger/issues/173/events","html_url":"https://github.com/stawel/cheali-charger/issues/173","id":158489830,"number":173,"title":"[Semi-OT] Get Megawin MCU into bootloader mode?","user":{"login":"nouser2013","id":6624032,"avatar_url":"https://avatars.githubusercontent.com/u/6624032?v=3","gravatar_id":"","url":"https://api.github.com/users/nouser2013","html_url":"https://github.com/nouser2013","followers_url":"https://api.github.com/users/nouser2013/followers","following_url":"https://api.github.com/users/nouser2013/following{/other_user}","gists_url":"https://api.github.com/users/nouser2013/gists{/gist_id}","starred_url":"https://api.github.com/users/nouser2013/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nouser2013/subscriptions","organizations_url":"https://api.github.com/users/nouser2013/orgs","repos_url":"https://api.github.com/users/nouser2013/repos","events_url":"https://api.github.com/users/nouser2013/events{/privacy}","received_events_url":"https://api.github.com/users/nouser2013/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/stawel/cheali-charger/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/stawel/cheali-charger/milestones/7","html_url":"https://github.com/stawel/cheali-charger/milestones/mcs-51","labels_url":"https://api.github.com/repos/stawel/cheali-charger/milestones/7/labels","id":1662958,"number":7,"title":"mcs-51","description":null,"creator":{"login":"stawel","id":199931,"avatar_url":"https://avatars.githubusercontent.com/u/199931?v=3","gravatar_id":"","url":"https://api.github.com/users/stawel","html_url":"https://github.com/stawel","followers_url":"https://api.github.com/users/stawel/followers","following_url":"https://api.github.com/users/stawel/following{/other_user}","gists_url":"https://api.github.com/users/stawel/gists{/gist_id}","starred_url":"https://api.github.com/users/stawel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stawel/subscriptions","organizations_url":"https://api.github.com/users/stawel/orgs","repos_url":"https://api.github.com/users/stawel/repos","events_url":"https://api.github.com/users/stawel/events{/privacy}","received_events_url":"https://api.github.com/users/stawel/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":0,"state":"open","created_at":"2016-03-23T23:45:24Z","updated_at":"2016-06-22T10:40:28Z","due_on":null,"closed_at":null},"comments":10,"created_at":"2016-06-04T06:01:11Z","updated_at":"2016-06-23T07:50:15Z","closed_at":null,"body":"Greetings, perhaps someone can help me here. I wanted to update an accucell 6 80W with firmware 1.2 to 1.3, but something went wrong and it froze mit update. It comes with a built-in USB interface and has the MegaWin MG84FG516 MCU.\r\n\r\nAccording to the [english datasheet](https://github.com/stawel/cheali-charger/files/298701/EN.MG84FG516_DataSheet_A1.5.pdf), there are three sections in Flash:\r\n\r\n1. AP: regular flash\r\n1. IAP: flash eeprom\r\n1. ISP: code for bootloader\r\n\r\nSince the ISP section cannot be overwritten by itself, it seems that this thing just does not enter the bootloader correctly anymore. Is there a chance to get it into bootloader mode without the use of the ISP flash tool (50 EUR, can buy 2 new chargers for that)?\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/stawel/cheali-charger/issues/comments/227975503","html_url":"https://github.com/stawel/cheali-charger/issues/173#issuecomment-227975503","issue_url":"https://api.github.com/repos/stawel/cheali-charger/issues/173","id":227975503,"user":{"login":"diggit","id":512025,"avatar_url":"https://avatars.githubusercontent.com/u/512025?v=3","gravatar_id":"","url":"https://api.github.com/users/diggit","html_url":"https://github.com/diggit","followers_url":"https://api.github.com/users/diggit/followers","following_url":"https://api.github.com/users/diggit/following{/other_user}","gists_url":"https://api.github.com/users/diggit/gists{/gist_id}","starred_url":"https://api.github.com/users/diggit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diggit/subscriptions","organizations_url":"https://api.github.com/users/diggit/orgs","repos_url":"https://api.github.com/users/diggit/repos","events_url":"https://api.github.com/users/diggit/events{/privacy}","received_events_url":"https://api.github.com/users/diggit/received_events","type":"User","site_admin":false},"created_at":"2016-06-23T07:50:15Z","updated_at":"2016-06-23T07:50:15Z","body":"1) MISO and MOSI are common names for SPI (Serial Peripherial Interface), they are not dedicated programming pins. It's just that AVR ISP programming uses SPI to communicate with programmer.\r\n2) there is not support for 8051 architecture in cheali charger -> you have to stick with stock fw, or port it by yourself. [Look here](https://github.com/stawel/cheali-charger/issues/106)"}}
{"actor":{"display_login":"diggit"}}