# Arduino programing lost after reset/powercycle

**URL:** <https://forums.sifive.com/t/arduino-programing-lost-after-reset-powercycle/1536>\
**Category:** HiFive1 Rev B\
**Created:** [August 23, 2018, 5:46pm UTC](https://forums.sifive.com/t/arduino-programing-lost-after-reset-powercycle/1536 "2018-08-23T17:46:40Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![touch](https://avatars.discourse-cdn.com/v4/letter/t/51bf81/32.png) [@touch](https://forums.sifive.com/u/touch)\
**Post date:** [August 23, 2018, 9:55pm UTC](https://forums.sifive.com/t/arduino-programing-lost-after-reset-powercycle/1536/3 "2018-08-23T21:55:41Z")

</div>

> [@bruce](#):
>
> cd freedom-e-sdk  
> curl [https://static.dev.sifive.com/dev-tools/flash\_bootloader.sh](https://static.dev.sifive.com/dev-tools/flash_bootloader.sh) | sh

Just to confirm, I run this script inside the following directory?  
/Users/touch/Library/Arduino15/packages/sifive/hardware/riscv/1.0.2/ ??

And where is this flash.lds file if not already in the directory indicated in the shell script? (it isn’t)

---

_[View the full topic](https://forums.sifive.com/t/arduino-programing-lost-after-reset-powercycle/1536)._
