{"action":"created","issue":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/4470","labels_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/4470/labels{/name}","comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/4470/comments","events_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/4470/events","html_url":"https://github.com/RIOT-OS/RIOT/issues/4470","id":121847973,"number":4470,"title":"Hard fault triggered depending on power supply?","user":{"login":"srisler","id":12219198,"avatar_url":"https://avatars.githubusercontent.com/u/12219198?v=3","gravatar_id":"","url":"https://api.github.com/users/srisler","html_url":"https://github.com/srisler","followers_url":"https://api.github.com/users/srisler/followers","following_url":"https://api.github.com/users/srisler/following{/other_user}","gists_url":"https://api.github.com/users/srisler/gists{/gist_id}","starred_url":"https://api.github.com/users/srisler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srisler/subscriptions","organizations_url":"https://api.github.com/users/srisler/orgs","repos_url":"https://api.github.com/users/srisler/repos","events_url":"https://api.github.com/users/srisler/events{/privacy}","received_events_url":"https://api.github.com/users/srisler/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/arm","name":"arm","color":"dddddd"},{"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/RIOT-OS/RIOT/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":{"login":"DipSwitch","id":476484,"avatar_url":"https://avatars.githubusercontent.com/u/476484?v=3","gravatar_id":"","url":"https://api.github.com/users/DipSwitch","html_url":"https://github.com/DipSwitch","followers_url":"https://api.github.com/users/DipSwitch/followers","following_url":"https://api.github.com/users/DipSwitch/following{/other_user}","gists_url":"https://api.github.com/users/DipSwitch/gists{/gist_id}","starred_url":"https://api.github.com/users/DipSwitch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DipSwitch/subscriptions","organizations_url":"https://api.github.com/users/DipSwitch/orgs","repos_url":"https://api.github.com/users/DipSwitch/repos","events_url":"https://api.github.com/users/DipSwitch/events{/privacy}","received_events_url":"https://api.github.com/users/DipSwitch/received_events","type":"User","site_admin":false},"milestone":null,"comments":17,"created_at":"2015-12-12T10:40:02Z","updated_at":"2015-12-12T12:42:42Z","closed_at":null,"body":"Hi there,\r\n\r\nI run RIOT on a STM32f0 micro and the HARD FAULT is triggered every time I turn the system on, with a particular power supply. For example, if the system is powered from USB it all works fine.\r\n\r\nApparently, voltage fault is not part of the reasons of a HardFault. But it seems this problem does come from a supply problem as it is the only difference between a working and a non working case. \r\n\r\nI also removed all my applicative to change with the hello word, and the problem still occurs, see the trace attached.\r\n\r\nI checked my voltage (3,3V), for all cases the voltage is clean and flat... \r\n\r\nDo you think this problem is a supply problem? Or a soft problem?\r\n\r\nAny help will be greatly appreciated !\r\n\r\nThank you\r\n____________________________\r\n2015-12-12 11:08:08,347 - INFO # kernel_init(): This is RIOT! (Version: 14e5-XXXX)\r\n2015-12-12 11:08:08,351 - INFO # kernel_init(): jumping into first task...\r\n2015-12-12 11:08:08,353 - INFO # UART0 thread started.\r\n2015-12-12 11:08:08,355 - INFO # uart0_init() [OK]\r\n2015-12-12 11:08:08,356 - INFO # Hello World!\r\n2015-12-12 11:08:08,361 - INFO # You are running RIOT on a(n) wattwatcher1 board.\r\n2015-12-12 11:08:08,363 - INFO # This board features a(n) stm32f0 MCU.\r\n2015-12-12 11:08:08,432 - INFO # \r\n2015-12-12 11:08:08,434 - INFO # Context before hardfault:\r\n2015-12-12 11:08:08,436 - INFO #    r0: 0x00000001\r\n2015-12-12 11:08:08,437 - INFO #    r1: 0x00000001\r\n2015-12-12 11:08:08,439 - INFO #    r2: 0x00000002\r\n2015-12-12 11:08:08,440 - INFO #    r3: 0x681b2001\r\n2015-12-12 11:08:08,442 - INFO #   r12: 0x00000000\r\n2015-12-12 11:08:08,444 - INFO #    lr: 0x08000b25\r\n2015-12-12 11:08:08,445 - INFO #    pc: 0x08000b1e\r\n2015-12-12 11:08:08,447 - INFO #   psr: 0x01000000\r\n2015-12-12 11:08:08,447 - INFO # \r\n2015-12-12 11:08:08,448 - INFO # Misc\r\n2015-12-12 11:08:08,449 - INFO # EXC_RET: 0xfffffffd\r\n2015-12-12 11:08:08,453 - INFO # Attempting to reconstruct state for debugging...\r\n2015-12-12 11:08:08,454 - INFO # In GDB:\r\n2015-12-12 11:08:08,456 - INFO #   set $pc=0x8000b1e\r\n2015-12-12 11:08:08,457 - INFO #   frame 0\r\n2015-12-12 11:08:08,457 - INFO #   bt\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/comments/164146294","html_url":"https://github.com/RIOT-OS/RIOT/issues/4470#issuecomment-164146294","issue_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/4470","id":164146294,"user":{"login":"srisler","id":12219198,"avatar_url":"https://avatars.githubusercontent.com/u/12219198?v=3","gravatar_id":"","url":"https://api.github.com/users/srisler","html_url":"https://github.com/srisler","followers_url":"https://api.github.com/users/srisler/followers","following_url":"https://api.github.com/users/srisler/following{/other_user}","gists_url":"https://api.github.com/users/srisler/gists{/gist_id}","starred_url":"https://api.github.com/users/srisler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srisler/subscriptions","organizations_url":"https://api.github.com/users/srisler/orgs","repos_url":"https://api.github.com/users/srisler/repos","events_url":"https://api.github.com/users/srisler/events{/privacy}","received_events_url":"https://api.github.com/users/srisler/received_events","type":"User","site_admin":false},"created_at":"2015-12-12T12:42:42Z","updated_at":"2015-12-12T12:42:42Z","body":"In the helloworld exemple nothing is initialized.\n\nHow can I know the interupt the hardfault handler is called from?\n\nLe sam. 12 déc. 2015 13:39, Kaspar Schleiser <notifications@github.com> a\nécrit :\n\n> a hard fault cannot come from a brown out.\n>\n> But from a misbehaving interrupt caused by a brown out.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/RIOT-OS/RIOT/issues/4470#issuecomment-164146167>.\n>\n"}}