Thanks for the help but there is still no movement. Here is what I have done so far.
Installed mesaflash from
github.com/LinuxCNC/mesaflash
Downloaded 7c81_g540x2d.bit file from
www.mesanet.com/software/parallel/7c81.zip
sudo mesaflash --device 7c81 --addr /dev/spidev0.0 --spi readhmid
sudo mesaflash --device 7c81 --addr /dev/spidev0.0 --write 7c81_g540x2d.bit
sudo mesaflash --device 7c81 --addr /dev/spidev0.0 --spi reload
Everything went fine but when I did the HALRUN, it gave errors that I couldn't understand. hm2_rpspi is probably not working and show pin is not showing anything
halrun
halcmd: loadrt hostmot2
Note: Using POSIX non-realtime
hm2: loading Mesa Hostmot2 driver version 0.15
halcmd: loadrt hm2_rpspi
rmmod: ERROR: ../libkmod/libkmod-module.c: 793 kmod_module_remove_module() could not remove 'spi_bcm2835': Operation not permitted
rmmod: ERROR: could not remove module 'spi_bcm2835': Operation not permitted
hm2_rpspi: ERROR: Failed to execute '/bin/rmmod spi_bcm2835'
hm2_rpspi: can't open /dev/mem
hm2_rpspi: cannot map peripheral memory
hm2_rpspi: rtapi_app_main: Permission denied (-13)
<stdin>:2: waitpid failed /home/pi/linuxcnc-dev/bin/rtapi_app hm2_rpspi
<stdin>:2: /home/pi/linuxcnc-dev/bin/rtapi_app exited without becoming ready
<stdin>:2: insmod for hm2_rpspi failed, returned -1
halcmd: show pin
Component Pins:
Owner Type Dir Value Name
I've connected the 5-axis breakout board with P1 of Mesa 7c81 and my jumper positions are also default on the mesa board. Also when I launch my configuration, there is a pop-up at the bottom right corner which says:
hm2/hm2_7c81.0: Watchdog has bit! (set the .has-bit pin to False to resume)
Kindly help in these regards