I'm trying to use PICpgm to program a Microchip connected via GPIO. I'm running Raspbian Buster on a Pi 4B. Running as root, this command returns with no error but it doesn't print anything useful. If I run the same command through strace then it works correctly. What can explain this? strace adds a huge CPU overhead so I would like to find a way to fix this.
# picpgm -r
==================================================================
PICPgm 2.9.3.1
PIC Development Programmer, http://picpgm.picprojects.net
Copyright 2002-2018 Christian Stadler (picpgm@picprojects.net)
built on Jun 17 2018, 09:26:06
==================================================================
Autodetecting Programmer ...
GPIO: access via /sys/class/gpio
Programmer: GPIO Programmer (Raspberry Pi)
at GPIO
Autodetecting PIC ...
finished in 2.0 seconds!
# strace -o /dev/null picpgm -r
==================================================================
PICPgm 2.9.3.1
PIC Development Programmer, http://picpgm.picprojects.net
Copyright 2002-2018 Christian Stadler (picpgm@picprojects.net)
built on Jun 17 2018, 09:26:06
==================================================================
Autodetecting Programmer ...
GPIO: access via /sys/class/gpio
Programmer: GPIO Programmer (Raspberry Pi)
at GPIO
Autodetecting PIC ...
PIC name: PIC18F67J60
Device ID: 0x1F23
Flash: 128 kByte
EEPROM: 0 Byte
finished in 3.0 seconds!