{"action":"created","issue":{"url":"https://api.github.com/repos/texane/stlink/issues/269","labels_url":"https://api.github.com/repos/texane/stlink/issues/269/labels{/name}","comments_url":"https://api.github.com/repos/texane/stlink/issues/269/comments","events_url":"https://api.github.com/repos/texane/stlink/issues/269/events","html_url":"https://github.com/texane/stlink/issues/269","id":44662434,"number":269,"title":"STM32L0 loader run error","user":{"login":"alexeyk13","id":1487677,"avatar_url":"https://avatars.githubusercontent.com/u/1487677?v=3","gravatar_id":"","url":"https://api.github.com/users/alexeyk13","html_url":"https://github.com/alexeyk13","followers_url":"https://api.github.com/users/alexeyk13/followers","following_url":"https://api.github.com/users/alexeyk13/following{/other_user}","gists_url":"https://api.github.com/users/alexeyk13/gists{/gist_id}","starred_url":"https://api.github.com/users/alexeyk13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexeyk13/subscriptions","organizations_url":"https://api.github.com/users/alexeyk13/orgs","repos_url":"https://api.github.com/users/alexeyk13/repos","events_url":"https://api.github.com/users/alexeyk13/events{/privacy}","received_events_url":"https://api.github.com/users/alexeyk13/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-10-02T08:35:43Z","updated_at":"2015-04-06T11:44:46Z","closed_at":"2015-04-06T11:40:06Z","body":"I'm using STM32L0538-DISCOVERY board. First flashing of st-flash is working correctly, but ERROR message is shown:\r\n\r\n2014-10-02T12:30:28 ERROR src/stlink-common.c: flash loader run error\r\n2014-10-02T12:30:28 WARN src/stlink-common.c: l1_run_flash_loader(0x8000000) failed! == -1\r\n2014-10-02T12:30:28 WARN src/stlink-common.c: \r\nwrite_half_pages failed == -1\r\n\r\nSecondary run fails on verification:\r\n\r\n2014-10-02T12:30:02 INFO src/stlink-common.c: Starting Half page flash write for STM32L core id\r\n2014-10-02T12:30:02 INFO src/stlink-common.c: Successfully loaded flash loader in sram\r\n  4/4 halfpages written\r\n2014-10-02T12:30:02 INFO src/stlink-common.c: Starting verification of write complete\r\n2014-10-02T12:30:02 ERROR src/stlink-common.c: Verification of flash failed at offset: 0\r\nstlink_fwrite_flash() == -1\r\n\r\nNote, that number of pages here are doubled, on first run there was only 2 pages. Unpluggins ST-LINK power, or running with --reset option solves the problem.\r\n\r\nST-LINK fw version (by win original tool): V2.J21.M5 STM32 Debug+Mass storage"},"comment":{"url":"https://api.github.com/repos/texane/stlink/issues/comments/90026707","html_url":"https://github.com/texane/stlink/issues/269#issuecomment-90026707","issue_url":"https://api.github.com/repos/texane/stlink/issues/269","id":90026707,"user":{"login":"jaromir-sukuba","id":6984904,"avatar_url":"https://avatars.githubusercontent.com/u/6984904?v=3","gravatar_id":"","url":"https://api.github.com/users/jaromir-sukuba","html_url":"https://github.com/jaromir-sukuba","followers_url":"https://api.github.com/users/jaromir-sukuba/followers","following_url":"https://api.github.com/users/jaromir-sukuba/following{/other_user}","gists_url":"https://api.github.com/users/jaromir-sukuba/gists{/gist_id}","starred_url":"https://api.github.com/users/jaromir-sukuba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaromir-sukuba/subscriptions","organizations_url":"https://api.github.com/users/jaromir-sukuba/orgs","repos_url":"https://api.github.com/users/jaromir-sukuba/repos","events_url":"https://api.github.com/users/jaromir-sukuba/events{/privacy}","received_events_url":"https://api.github.com/users/jaromir-sukuba/received_events","type":"User","site_admin":false},"created_at":"2015-04-06T11:44:46Z","updated_at":"2015-04-06T11:44:46Z","body":"Meh... good for you, but this is not solution of the reported issue."}}