Hello guest, if you read this it means you are not registered. Click here to register in a few simple steps, you will enjoy all features of our Forum.
This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ISSUES in Fw Upgrade on Eachine x220 v2
#16
Yes, you should see "DFU" in Betaflight Configurator where the COM port is usually listed.

Check in Windows Device Manager what device appears when you connect the FC in boot mode.
[-] The following 1 user Likes SnowLeopardFPV's post:
  • Rosssiiii
Reply
Login to remove this ad | Register Here
#17
(11-Aug-2021, 12:42 PM)SnowLeopardFPV Wrote: Yes, you should see "DFU" in Betaflight Configurator where the COM port is usually listed.

Check in Windows Device Manager what device appears when you connect the FC in boot mode.

i see that :
https://i.imgur.com/gGWgUA5.png

but i don'k exactly know how to fix because as i said i pushed long enought the bootloader botton before and a bit more the windows noise that is been connected a new device.

what i should do ?

there are different guide on youtube, one seems to use ImpulseRC but i don't exactly understand how to do that:



when you lunch that programm "impulseRC" you have to connect the drone to pc in bootloader mode (with the button pushed down) ?


here on devices and printers in windows is showed this other thing: https://i.imgur.com/nOctsAu.png
"driver non disponibile" > "drivers not available" and below: Stato: sono necessarie operazioni > "are necessary operations"

i tried even on a second pc and when i press bootloader botton and connect to pc using usb i only see the COM4 port !
Reply
#18
Run Zadig and and install the "WinUSB (v6.1.7600.16385)" driver. The connected "STM32 BOOTLOADER" device should then appear under "Universal Serial Bus devices" (instead of under "Other devices" with a yellow exclamation mark against it). Then try flashing the Betaflight firmware again from Betaflight Configurator.

[Image: pHZbTmx.png]
[-] The following 1 user Likes SnowLeopardFPV's post:
  • Rosssiiii
Reply
#19
(07-Aug-2021, 10:53 AM)SnowLeopardFPV Wrote: You can safely upgrade from Betaflight 4.2.2 to Betaflight 4.2.9 if you want to. If you do so you will get any bug fixes and small enhancements that were made between Betaflight 4.2.2 and 4.2.9.

First run both the "dump all" and "diff all" commands in the Betaflight Configurator and save the output to files on your computer. Then flash Betaflight 4.2.9 firmware using the GEPRCF405 target ensuring that you have "Full chip erase" switched on. Then connect Betaflight Configurator to your FC and click on the "Apply Custom Defaults" button when the prompt to do so appears. Then go to the CLI tab and copy/paste everything from the "diff all" file you saved into the CLI text box and press <ENTER>. That is all Smile

(11-Aug-2021, 07:50 PM)SnowLeopardFPV Wrote: Run Zadig and and install the "WinUSB (v6.1.7600.16385)" driver. The connected "STM32 BOOTLOADER" device should then appear under "Universal Serial Bus devices" (instead of under "Other devices" with a yellow exclamation mark against it). Then try flashing the Betaflight firmware again from Betaflight Configurator.

[Image: pHZbTmx.png]

At the end yesterday evening i solved using "ImpulseRC_Driver_Fixer", i connected the drone to pc and i launched that software and then when i boot the drone in bootloader mode it immediatly was in DFU mode.

and i did the upgrade of fw.

(07-Aug-2021, 10:53 AM)SnowLeopardFPV Wrote: You can safely upgrade from Betaflight 4.2.2 to Betaflight 4.2.9 if you want to. If you do so you will get any bug fixes and small enhancements that were made between Betaflight 4.2.2 and 4.2.9.

First run both the "dump all" and "diff all" commands in the Betaflight Configurator and save the output to files on your computer. Then flash Betaflight 4.2.9 firmware using the GEPRCF405 target ensuring that you have "Full chip erase" switched on. Then connect Betaflight Configurator to your FC and click on the "Apply Custom Defaults" button when the prompt to do so appears. Then go to the CLI tab and copy/paste everything from the "diff all" file you saved into the CLI text box and press <ENTER>. That is all Smile

So now i have to copy exactly all that text:


Code:
#

# diff all
###WARNING: NO CUSTOM DEFAULTS FOUND###

# version
# Betaflight / STM32F405 (S405) 4.2.2 Aug 16 2020 / 01:46:41 (e833ac612) MSP API: 1.43
###ERROR: diff: NO CONFIG FOUND###
# start the command batch
batch start

# reset configuration to default settings
defaults nosave

board_name GEPRCF405
manufacturer_id GEPR
mcu_id 003100283539470236333332
signature

# resources
resource BEEPER 1 C13
resource MOTOR 1 A08
resource MOTOR 2 A09
resource MOTOR 3 A10
resource MOTOR 4 C08
resource MOTOR 5 C09
resource MOTOR 6 B00
resource MOTOR 7 B01
resource PPM 1 C07
resource LED_STRIP 1 B01
resource SERIAL_TX 1 B06
resource SERIAL_TX 2 A02
resource SERIAL_TX 3 C10
resource SERIAL_TX 4 A00
resource SERIAL_TX 5 C12
resource SERIAL_TX 6 C06
resource SERIAL_TX 11 B02
resource SERIAL_RX 1 B07
resource SERIAL_RX 2 A03
resource SERIAL_RX 3 C11
resource SERIAL_RX 4 A01
resource SERIAL_RX 5 D02
resource SERIAL_RX 6 C07
resource SERIAL_RX 11 C05
resource I2C_SCL 1 B08
resource I2C_SCL 2 B10
resource I2C_SDA 1 B09
resource I2C_SDA 2 B11
resource LED 1 C14
resource LED 2 C15
resource SPI_SCK 1 A05
resource SPI_SCK 2 B13
resource SPI_SCK 3 B03
resource SPI_MISO 1 A06
resource SPI_MISO 2 B14
resource SPI_MISO 3 B04
resource SPI_MOSI 1 A07
resource SPI_MOSI 2 B15
resource SPI_MOSI 3 B05
resource ADC_BATT 1 C01
resource ADC_RSSI 1 C02
resource ADC_CURR 1 C00
resource PINIO 1 A13
resource PINIO 2 A14
resource FLASH_CS 1 B12
resource OSD_CS 1 A04
resource GYRO_EXTI 1 C03
resource GYRO_CS 1 A15
resource USB_DETECT 1 C04

# timer
timer C07 AF3
# pin C07: TIM8 CH2 (AF3)
timer A08 AF1
# pin A08: TIM1 CH1 (AF1)
timer A09 AF1
# pin A09: TIM1 CH2 (AF1)
timer A10 AF1
# pin A10: TIM1 CH3 (AF1)
timer C08 AF3
# pin C08: TIM8 CH3 (AF3)
timer C09 AF3
# pin C09: TIM8 CH4 (AF3)
timer B00 AF2
# pin B00: TIM3 CH3 (AF2)
timer B01 AF2
# pin B01: TIM3 CH4 (AF2)

# dma
dma ADC 1 0
# ADC 1: DMA2 Stream 0 Channel 0
dma pin C07 0
# pin C07: DMA2 Stream 2 Channel 0
dma pin A08 1
# pin A08: DMA2 Stream 1 Channel 6
dma pin A09 1
# pin A09: DMA2 Stream 2 Channel 6
dma pin A10 1
# pin A10: DMA2 Stream 6 Channel 6
dma pin C08 1
# pin C08: DMA2 Stream 4 Channel 7
dma pin C09 0
# pin C09: DMA2 Stream 7 Channel 7
dma pin B00 0
# pin B00: DMA1 Stream 7 Channel 5
dma pin B01 0
# pin B01: DMA1 Stream 2 Channel 5

# feature
feature -RX_PARALLEL_PWM
feature RX_SERIAL
feature LED_STRIP
feature OSD

# serial
serial 1 2048 115200 57600 0 115200
serial 4 1 115200 57600 0 115200
serial 5 64 115200 57600 0 115200

# led
led 0 0,15::ATI:0
led 1 1,15::ATI:0
led 2 2,15::ATI:0
led 3 3,15::ATI:0
led 4 4,15::ATI:0
led 5 5,15::ATI:0
led 6 6,15::ATI:0

# aux
aux 0 0 1 1700 2100 0 0
aux 1 1 0 900 1300 0 0

# vtxtable
vtxtable bands 6
vtxtable channels 8
vtxtable band 1 BOSCAM_A A FACTORY 5865 5845 5825 5805 5785 5765 5745 5725
vtxtable band 2 BOSCAM_B B FACTORY 5733 5752 5771 5790 5809 5828 5847 5866
vtxtable band 3 BOSCAM_E E FACTORY 5705 5685 5665    0 5885 5905    0    0
vtxtable band 4 FATSHARK F FACTORY 5740 5760 5780 5800 5820 5840 5860 5880
vtxtable band 5 RACEBAND R FACTORY 5658 5695 5732 5769 5806 5843 5880 5917
vtxtable band 6 IMD6     I CUSTOM  5732 5765 5828 5840 5866 5740    0    0
vtxtable powerlevels 4
vtxtable powervalues 0 1 2 3
vtxtable powerlabels 25 200 400 600

# master
set acc_calibration = 32,138,-180,1
set mag_bustype = I2C
set mag_i2c_device = 1
set baro_bustype = I2C
set baro_i2c_device = 2
set serialrx_provider = SBUS
set blackbox_device = SPIFLASH
set motor_pwm_protocol = DSHOT600
set current_meter = ADC
set battery_meter = ADC
set ibata_scale = 179
set beeper_inversion = ON
set beeper_od = OFF
set osd_vbat_pos = 2337
set osd_flymode_pos = 2370
set system_hse_mhz = 8
set max7456_spi_bus = 1
set flash_spi_bus = 2
set gyro_1_bustype = SPI
set gyro_1_spibus = 3
set gyro_1_sensor_align = CW270
set gyro_1_align_yaw = 2700

profile 0

profile 1

profile 2

# restore original profile selection
profile 0

rateprofile 0

rateprofile 1

rateprofile 2

rateprofile 3

rateprofile 4

rateprofile 5

# restore original rateprofile selection
rateprofile 0

# save configuration
save
#

even the first parth "Betaflight / STM32F405 (S405) 4.2.2"

in the CLI ?

or i could do "carica da file" >> "upload from file" ?

https://i.imgur.com/pGTkSvK.png
Reply
#20
(12-Aug-2021, 11:50 AM)Rosssiiii Wrote: So now i have to copy exactly all that text:

even the first parth "Betaflight / STM32F405 (S405) 4.2.2"

in the CLI ?

or i could do "carica da file" >> "upload from file" ?

https://i.imgur.com/pGTkSvK.png

You can use either method. Copy/Paste or load from file. Both will do the same.

Any lines with a "#" at the beginning just gets ignored. They are "comment" lines.
Reply
#21
(12-Aug-2021, 12:01 PM)SnowLeopardFPV Wrote: You can use either method. Copy/Paste or load from file. Both will do the same.

Any lines with a "#" at the beginning just gets ignored. They are "comment" lines.

1) But in my case, where probabily Custom Defaults are stock of betaflight, and i personaly didn't make any changes, is however required to restore the "diff all" file ?

2) is there a fast way, to see if settings with which I received my drone and which I had backed up are the basic settings of betaflight?
Reply
#22
(12-Aug-2021, 12:09 PM)Rosssiiii Wrote: 1) But in my case, where probabily Custom Defaults are stock of betaflight, and i personaly didn't make any changes, is however required to restore the "diff all" file ?

2) is there a fast way, to see if settings with which I received my drone and which I had backed up are the basic settings of betaflight?

1) It doesn't matter. As long as you clicked the "Apply Custom Defaults" button after flashing new firmware then Betaflight is clever enough to figure out which settings you apply are actually different from the custom defaults. If you end up re-applying the same value to a setting then it just remains the same. Betaflight has a record of the default values stored in memory from when you flashed the firmware.

2) Only by comparing the settings in your "diff all" backup file with the settings of a "dump all" from the FC straight after you flashed new firmware to it and applied the custom default settings.
Reply
#23
I would just leave it on 4.2.2 myself. I don't think of any new features have been added between .2 and .9. Unless there was a problem on 4.2.2 I don't see a reason to change it.
Reply
#24
(12-Aug-2021, 12:15 PM)SnowLeopardFPV Wrote: 1) It doesn't matter. As long as you clicked the "Apply Custom Defaults" button after flashing new firmware then Betaflight is clever enough to figure out which settings you apply are actually different from the custom defaults. If you end up re-applying the same value to a setting then it just remains the same. Betaflight has a record of the default values stored in memory from when you flashed the firmware.

2) Only by comparing the settings in your "diff all" backup file with the settings of a "dump all" from the FC straight after you flashed new firmware to it and applied the custom default settings.
Hello Smile
with "It doesn't matter" you mean that is not necessary restore previously backup that i made considering that was with lot probability a stock betaflight backup because as i listened on youtube eachine didn't changed anything.
i say that because i'm not sure to have interpreted well the first expression...so better a more conferm then crash because i didn't understand that thing  ROFL

then i continued to work on the base configuration and i generated that "diff all" to ask you some advice if there is something else easy important to do that maybe i missed :
Actual diff all: https://drive.google.com/file/d/11Kx0Ans...sp=sharing

backup diff all: https://drive.google.com/file/d/1_2KPiJa...sp=sharing
Reply
#25
I don't have a factory CLI dump for the Eachine Wizard X220 V2 so I can't do any comparisons, but if you flash new firmware, then click "Apply Custom Defaults", then run in the original factory CLI diff all, then run a new "diff all", that last "diff all" will then contain all of the real differences that Eachine made to the default firmware settings that you can then use going forward.
Reply
#26
(15-Aug-2021, 11:27 PM)SnowLeopardFPV Wrote: I don't have a factory CLI dump for the Eachine Wizard X220 V2 so I can't do any comparisons, but if you flash new firmware, then click "Apply Custom Defaults", then run in the original factory CLI diff all, then run a new "diff all", that last "diff all" will then contain all of the real differences that Eachine made to the default firmware settings that you can then use going forward.

Hello Smile

that was original dump all file: https://drive.google.com/file/d/1IuB4vUJ...sp=sharing

Diff all indicates only chages that i made from Custom Defaults and for it are indicated only these things that i changed so far:

Code:
# diff all

# version
# Betaflight / STM32F405 (S405) 4.2.9 Apr 27 2021 / 19:33:01 (e097f4ab7) MSP API: 1.43
# config: manufacturer_id: GEPR, board_name: GEPRCF405, version: a65f8f9f, date: 2020-05-19T14:02:38Z

# start the command batch
batch start

# reset configuration to default settings
defaults nosave

board_name GEPRCF405
manufacturer_id GEPR
mcu_id 003100283539470236333332
signature

# name: Wizard

# beacon
beacon RX_SET

# master
set acc_calibration = 9,87,-96,1
set beeper_dshot_beacon_tone = 5
set small_angle = 180
set osd_vbat_pos = 2497
set osd_rssi_pos = 2106
set osd_tim_1_pos = 438
set osd_tim_2_pos = 2520
set osd_flymode_pos = 2490
set osd_throttle_pos = 2477
set osd_vtx_channel_pos = 2548
set osd_mah_drawn_pos = 2433
set osd_craft_name_pos = 2539
set osd_warnings_pos = 14793
set osd_avg_cell_voltage_pos = 2465
set name = Wizard

profile 0

profile 1

profile 2

# restore original profile selection
profile 0

rateprofile 0

rateprofile 1

rateprofile 2

rateprofile 3

rateprofile 4

rateprofile 5

# restore original rateprofile selection
rateprofile 0

# save configuration
save
#

that is current dump all: https://drive.google.com/file/d/1_bw7lFo...sp=sharing

here are showed all settings ,please let me if i set something important wrong !
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Drone accelerometer issues Mohawk219 4 519 13-Jun-2024, 08:22 PM
Last Post: [email protected]
Sad VTX and Rx not working concurrently and other issues Mojopin78 3 274 02-Jun-2024, 05:03 PM
Last Post: mstc
  CrossFire Connection Issues-Radio Master Zorro- No Betaflight input Apex FPV 3 246 06-May-2024, 02:35 PM
Last Post: SnowLeopardFPV
  Issues Installing ELRS Reciever NyxOTNC 14 1,816 04-Apr-2024, 08:07 PM
Last Post: tr8d3r8
  BetaFlight Connection Issues..... Coleon 17 892 02-Apr-2024, 12:26 PM
Last Post: iFly4rotors


Login to remove this ad | Register Here