I have uploaded the instructions to Google Docs. I think I captured everything here, if I missed something let me know and I will edit the file and make the corrections.
Thanks! Iāll take a look and include your instructions into the docs.
I appreciate your comment on the manufacturing. I passed it on to the rest of the team.
@sextondw
Hi, I am working through your guide (only difference is I am on Mac, not Linux, and I had to add PATH with usr/local/bin/ before build would work). I am to the part of configuring the external tool in Eclipse, and I canāt find firmware/build/target/main/platform-6 on my system. I can go as far as firmware/build/target. There is no main directory. Any idea why it isnāt there?
Also, Looking at the logs, Eclipse is use the make that comes with Xcode, not the one I installed at /usr/bin. Do you know how to change Eclipse to use that make?
Okay, it turned out to be a permission problem. I thought the build command worked, but it couldnāt make a directory and quit. Changed that and now the main folder is there.
Sounds like you are making progress. I included a link to the setup to compile and load using a MAC, make sure that works first before moving on the making the debugger work.
Thanks. I think I am getting closer to getting it working. I am now getting an error with the dfu-util⦠dfu-util: Last page at 0x08105b6b is not writeable
dfu-util: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
Deducing device DFU version from functional descriptor length
Opening DFU capable USB device...
ID 2b04:d006
Run-time device DFU version 011a
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuMANIFEST-WAIT-RESET, status = 0
DFU mode device DFU version 011a
Device returned transfer size 4096
DfuSe interface name: "Internal Flash "
Downloading to address = 0x080a0000, size = 416620
dfu-util: Last page at 0x08105b6b is not writeable
I had the DFU-Util working earlier in the guide, when we make and then program-dfu from the command line. The weird thing is, I got this error, and then took a break for dinner, and came back and the photon is breathing cyan, like it did get flashed.
Question: In setting up OpenOCD in Eclipse, How do you get firmware/build/target/main/platform-6/main.elf to show up. I can have firmware/build/target/ There is no main directory.
Thanks
Okay, Once again permission issue crept up.
Glad you found it