I’m trying to get started with HiFive1 revB using Freedom Studio. I am stuck trying to load Hello World into the HiFive1 and am in need of advice about how to troubleshoot the problem.
copying (using the Files application to drag and drop or cp in Terminal) a .hex file into the HiFive storage device fails and a document called FAIL.TXT is created instead. FAIL.TXT only contains “Error while connecting to CPU”.
I am using a clean install of Ubuntu Desktop 18.04.2 in VMware Fusion on a MacOS 10.13 (High Sierra) host. I have successfully gotten serial output from the HiFive using the Terminal and screen. I have also gotten the same output in Freedom Studio terminal window. So I think I have basic connectivity working. You can replicate what I have by following this quick start guide.
I am unsure about my Freedom Studio configuration because the author of the Freedom Studio guide seems to have misplaced most of the Configuring Your New Project section (I’ll post a separate topic asking for this to be fixed). I have used the default settings to complete setting up my project. I can successfully create debug and release versions of my project.
btw. Is there somewhere I can download HiFive1 revB .hex files for the example code so I can be sure the code is correctly compiled?
I can’t debug or run my project from Freedom Studio because it tells me it can’t launch the project. I can’t successfully drag and drop (or cp) either the debug or release .hex files into the HiFive storage device. I don’t seem to have any information to troubleshoot the problem since the FAIL.TXT file only contains “Error while connecting to CPU”.
Any help is greatly appreciated.