Programming the FE310

Someone has the same problem ??

/chipwhisperer/openocd$ bash -p /home/nader/chipwhisperer/hardware/victims/firmware/simpleserial-glitch/simpleserial-glitch-CW308_FE310.elf husky jtag – -f “fe310.cfg” line 2: $’\r’: command not found line 6: $’\r’: command not found line 11: syntax error near unexpected token $'{\r'' ' line 11: print_help () {


I think you might have \r\n as your line ending (Windows) instead of \n (Linux). I’m not too sure how this happened, since the one on Github should be \n. Try installing dos2unix and running it on that file.