hi while running `python3 caravel_hkdebug.py` we a...
# mpw-6plus-silicon
s
hi while running
python3 caravel_hkdebug.py
we are getting error like this. can anyone suggest how to rectify this
c
Could simply be a permission issue. You could try to run with sudo.
s
it worked with sudo
python3 caravel_hkdebug.py
But while running while running this command "make clean flash" we got an error as attached below .How can we rectify this error.?
t
Try running
sudo make flash
. The
make
process will have created the hex file but failed to flash due to permissions. But the hex file exists and is valid, so you can do the flashing again afterward. You can also create a
udev
rule to ensure that the board (specifically the FTDI) can be read and written with user permissions.
m
I think the best way is to create a udev configuration file for the ftdi device: https://eblot.github.io/pyftdi/installation.html
👍 1
s
sudo make flash
command worked. Thanks for the support.