inav icon indicating copy to clipboard operation
inav copied to clipboard

macOS - SITL - Fails to Start When a Serial Port is Selected

Open RobertoD91 opened this issue 8 months ago • 1 comments

Current Behavior

If I start SITL on macOS with --serialport it hangs:

temp$ rm eeprom.bin 
temp$ /Applications/INAV\ Configurator.app/Contents/Resources/app/resources/sitl/macos/inav_SITL --serialuart=3 --serialport=/dev/tty.usbmodem2051359037561 --fcproxy
INAV 8.0.1 SITL (171d00bb)
[SYSTEM] Init...
[SIM] No interface specified. Configurator only.

If I disconnect the serial port, it proceeds...

[SERIALPROXY] ERROR: Can not connect to serial port /dev/tty.usbmodem2051359037561
[EEPROM] Created 'eeprom.bin', size = 32768
[EEPROM] Unable to load eeprom.bin
[EEPROM] Program word  0x10bdf0ea0 = f9000e7e
[EEPROM] Program word  0x10bdf0ea4 = 00000003
[EEPROM] Program word  0x10bdf0ea8 = 00000000
[EEPROM] Program word  0x10bdf0eac = 0a000000
...
[EEPROM] Program word  0x10bdf4358 = 00002102
[EEPROM] Program word  0x10bdf435c = 93470000
[EEPROM] Saved 'eeprom.bin'
[GIMBAL]: serial Detect...
[GIMBAL]: gimbalPort: 0x0
  • FC Board name and vendor: SITL MacOS Intel
  • INAV version string: INAV/SITL 8.0.1 Feb 25 2025 / 10:28:51 (171d00bb)

RobertoD91 avatar Apr 03 '25 18:04 RobertoD91

Same issue with INAV 9.0.0 SITL (1fa4ac29) on MacOS Intel

Linux and Windows version are ok. Example on kali vm:

$ /usr/lib/inav-configurator/resources/app/resources/sitl/linux/inav_SITL --serialport=/dev/ttyACM0 --serialuart=3 --fcproxy

RobertoD91 avatar Apr 03 '25 18:04 RobertoD91