Because the contents would be different, I would make a new topic.
I have somehow built the sample project after struggling. And then, I tried to run the project, but I could not launch it. The dialogue window showed the message "‘Launching demo_gpio.elf’ has encountered a problem. Error starting process."
Deleails: Error starting process. Cannot run program “D:\FreedomStudio-Win_x86_64-20170616\FreedomStudio\SiFive\Examples\HiFive1\demo_gpio\Debug\demo_gpio.elf”: Launching failed Cannot run program “D:\FreedomStudio-Win_x86_64-20170616\FreedomStudio\SiFive\Examples\HiFive1\demo_gpio\Debug\demo_gpio.elf”: Launching failed Cannot run program “D:\FreedomStudio-Win_x86_64-20170616\FreedomStudio\SiFive\Examples\HiFive1\demo_gpio\Debug\demo_gpio.elf”: Launching failed
I cannot find what was happened. There is the elf file at the location which the messame pointed.Could anyone tell me what should I do?
Make sure you are using the correct debug configuration. This sounds like you are using the default one which is not correct. Make sure you are doing the following:
To launch a Debug session, click Run –> Debug Configurations and then GDB OpenOCD followed by the desired program (demo_gpio).
What board are you using? This looks like you are developing a project for HiFive1 board. Did you plug in your HiFive1 board? Did you follow the instructions for your OS to properly install the drivers? You can find these instructions in the Freedom Studio Manual https://www.sifive.com/documentation/tools/freedom-studio-manual/
Hello Megan and Steiner, thank you for your support.
I was stupid and now everything would go nice.
I had forgotten to install the HiFive1 drivers as Megan had pointed out.
Best regards,
Yasuhiko Koumoto.