emuflight / EmuFlight

EmuFlight is flight controller software (firmware) used to fly multi-rotor craft.
GNU General Public License v3.0
456 stars 115 forks source link

Semi-bricks APEXF7 FC when ProShot1000 selected #809

Open CaptainVietnam6 opened 2 years ago

CaptainVietnam6 commented 2 years ago

Describe the bug When ProShot1000 is selected in the configuration tab and then Save and Reboot is clicked, the FC is unable to boot up properly again and will not connect to the configurator unless the boot button is held down. FC requires reflash to get working again. Problem on APEX F7 FC.

To Reproduce

  1. Use APEXF7 FC
  2. Enter configuration tab
  3. select ProShot1000
  4. Select Save and Reboot

Expected behavior FC reboots properly and is able to connect to the configurator again.

Flight controller configuration

# diff all

# version
# EmuFlight / APEXF7 (APF7) 0.4.0 Aug 23 2021 / 20:40:26 (69caf5a05) MSP API: 1.51

board_name 
manufacturer_id 
mcu_id 001700383756500a20383558
signature 

# reset configuration to default settings
defaults nosave

# name
name Orpheus

# resources

# mixer

# servo

# servo mix

# feature
feature GPS
feature OSD

# beeper
beeper -GYRO_CALIBRATED
beeper -DISARMING
beeper -ARMING_GPS_FIX
beeper -GPS_STATUS
beeper -ACC_CALIBRATION
beeper -ACC_CALIBRATION_FAIL
beeper -READY_BEEP
beeper -DISARM_REPEAT
beeper -SYSTEM_INIT
beeper -ON_USB
beeper -BLACKBOX_ERASE
beeper -CRASH FLIP
beeper -CAM_CONNECTION_OPEN
beeper -CAM_CONNECTION_CLOSED
beeper -RC_SMOOTHING_INIT_FAIL

# beacon
beacon RX_LOST
beacon RX_SET

# map
map TAER1234

# serial
serial 0 2048 115200 57600 0 115200
serial 2 2 115200 115200 0 115200
serial 3 1 115200 57600 0 115200
serial 5 64 115200 57600 0 115200

# led

# color

# mode_color

# aux
aux 0 0 0 1825 2100 0 0
aux 1 1 5 900 1100 0 0
aux 2 2 5 1400 1600 0 0
aux 3 46 2 1900 2100 0 0
aux 4 13 4 1300 1700 0 0
aux 5 19 7 1300 1700 0 0
aux 6 35 4 1900 2100 0 0
aux 7 36 3 1900 2100 0 0
aux 8 39 7 1900 2100 0 0

# adjrange

# rxrange

# vtx

# rxfail

# master
set dynamic_gyro_notch_max_hz = 400
set acc_calibration = 171,-18,-146
set mag_hardware = NONE
set fpv_mix_degrees = 30
set serialrx_provider = CRSF
set blackbox_p_ratio = 64
set min_throttle = 1070
set dshot_idle_value = 750
set use_unsynced_pwm = OFF
set motor_pwm_protocol = DSHOT1200
set motor_pwm_rate = 480
set vbat_scale = 112
set ibata_scale = 136
set yaw_motors_reversed = ON
set gps_provider = UBLOX
set gps_auto_config = OFF
set gps_auto_baud = ON
set gps_rescue_sanity_checks = RESCUE_SANITY_FS_ONLY
set gps_rescue_min_sats = 0
set osd_warn_arming_disable = ON
set osd_warn_batt_not_full = OFF
set osd_warn_batt_warning = ON
set osd_warn_batt_critical = ON
set osd_warn_visual_beeper = ON
set osd_warn_crash_flip = ON
set osd_warn_esc_fail = ON
set osd_warn_core_temp = OFF
set osd_warn_rc_smoothing = ON
set osd_warn_dji = OFF
set osd_rssi_alarm = 30
set osd_cap_alarm = 5200
set osd_alt_alarm = 120
set osd_vbat_pos = 2433
set osd_rssi_pos = 2448
set osd_crsf_snr_pos = 363
set osd_crsf_rssi_pos = 2440
set osd_tim_2_pos = 2518
set osd_flymode_pos = 65
set osd_g_force_pos = 2512
set osd_throttle_pos = 97
set osd_vtx_channel_pos = 53
set osd_crosshairs_pos = 237
set osd_ah_sbar_pos = 238
set osd_ah_pos = 110
set osd_current_pos = 2465
set osd_mah_drawn_pos = 2498
set osd_craft_name_pos = 203
set osd_gps_speed_pos = 2473
set osd_gps_lon_pos = 2145
set osd_gps_lat_pos = 2113
set osd_gps_sats_pos = 2480
set osd_home_dir_pos = 2127
set osd_home_dist_pos = 2454
set osd_compass_bar_pos = 2090
set osd_altitude_pos = 2505
set osd_power_pos = 0
set osd_warnings_pos = 2408
set osd_avg_cell_voltage_pos = 353
set osd_nheading_pos = 106
set osd_esc_rpm_pos = 161
set osd_stat_max_dist = ON
set osd_stat_min_rssi = OFF
set osd_stat_max_alt = ON
set osd_stat_bbox = OFF
set osd_stat_bb_no = OFF
set vtx_band = 1
set vtx_freq = 5865

# profile
profile 0

set dterm_lowpass_type = BIQUAD
set p_pitch = 50
set i_pitch = 10
set d_pitch = 45
set p_roll = 40
set i_roll = 10
set d_roll = 45
set p_yaw = 32
set i_yaw = 15

# profile
profile 1

# profile
profile 2

# restore original profile selection
profile 0

# rateprofile
rateprofile 0

# rateprofile
rateprofile 1

# rateprofile
rateprofile 2

# rateprofile
rateprofile 3

# rateprofile
rateprofile 4

# rateprofile
rateprofile 5

# restore original rateprofile selection
rateprofile 0

# save configuration
save

Setup / Versions

nerdCopter commented 2 years ago

What ESC? not all ESC support ProShot, in fact, i'm not 100% certain proshot is working. i've read mixed results. I have an APEXF7, i can try this weekend, but i beleive NONE of my ESC's even support ProShot, i've tried in the past and gave up. (never had my FC freeze that i recall) I have Apex ESC v1 as well.

if you have Apex ESC, then i recommend dshot1200 or 2400, it'll be fine. (i run dshot2400 on mine)