Stuck on "1 - Connecting to Hardware" - FileNotFoundError

Hi, I’m new to ChipWhisperer and the Husky and just getting started with the Jupyter notebooks. I’m stuck on “1 - Connecting to Hardware” where I’m unable to flash the hex to the SAM4S target.

What should be the correct path to put in for the hex file to use with cw.program_target?

Thanks!

An additional screenshot showing the path to the generated hex file

So you have simpleserial-base-CWHUSKY.hex and it’s just a matter of locating the file in Jupyter.

I’m not sure whether “~/” works in Jupyter on on macOS. Have you tried simply providing the absolute path to the file (e.g. “/Users/…”). You should be able to use tab-completion of the path as you’re typing it, to prevent typos.

1 Like

thank you @jpthibault ! I thought I tried “/Users/…” and thought it didn’t work, but upon trying it again, it worked. I was not aware of the tab-completion in Jupyter and that really helped make sure the path is entered correctly.