Cleric-K / FlySkyRxFirmwareRssiMod

Patched firmwares for the various FlySky receivers to inject RSSI in IBUS channel 14
110 stars 16 forks source link

X14s bricekd after the update #14

Open Meltedgyro opened 4 years ago

Meltedgyro commented 4 years ago

Hello, I flashed my receiver today with an stlink v2. After the flash it seems bricked. Doesnt power on at all. No led no heat of of it. It was brand new out of package. I powerd it with 3.3v gnd and connected clock and data interface so my stling. Dumb me created no backup. Is there any chance of saving the thing or is it 100% gone. When i connect it to the stlink again there is 0 signs of life. It doesnt even connect to the stlink.

Cleric-K commented 4 years ago

Hi. It should be possible to connect the stlink using the so called "Connect Under Reset". For this to work you have to locate the reset pad: image

Connect everything else as normal. You'll need some way to provide low level (GND) to the reset (R) pad. One way is to use a jumper wire - one end at GND, the other holding manually touched at the R pad.

While GND is provided at R the microcontroller is kept at reset state.

At STLink you'll have to make this change: image (in my experience the ST-Link sometimes stops working. That's why when in doubt, I always re-plug the St-link in the USB port to make sure I'm starting "clean")

Then the procedure is:

  1. Hold GND connected at the R pad.
  2. Click Connect at ST link util. Initially nothing will happen.
  3. Release GND from the R pad - the connection should be established.

Then you can flash as usual.

Meltedgyro commented 4 years ago

hello. i have connected successfully but my firmware still doesn't work. coule you maybe send me the original firmware binary or whatever I need for flashing this.

thanks

best regards Darije caic fpv pilot

On Tue, Aug 18, 2020 at 9:29 AM Cleric-K notifications@github.com wrote:

Hi. It should be possible to connect the stlink using the so called "Connect Under Reset". For this to work you have to locate the reset pad: [image: image] https://user-images.githubusercontent.com/9365881/90480643-36fa9a00-e139-11ea-82c0-25f9e3ee238d.png

Connect everything else as normal. You'll need some way to provide low level (GND) to the reset (R) pad. One way is to use a jumper wire - one end at GND, the other holding manually touched at the R pad.

While GND is provided at R the microcontroller is kept at reset state.

At STLink you'll have to make this change: [image: image] https://user-images.githubusercontent.com/9365881/90480564-16324480-e139-11ea-8262-a1952ae4a77d.png (in my experience the ST-Link sometimes stops working. That's why when in doubt, I always re-plug the St-link in the USB port to make sure I'm starting "clean")

Then the procedure is:

  1. Hold GND connected at the R pad.
  2. Click Connect at ST link util. Initially nothing will happen.
  3. Release GND from the R pad - the connection should be established.

Then you can flash as usual.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Cleric-K/FlySkyRxFirmwareRssiMod/issues/14#issuecomment-675308244, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQKDWE5TPUUGFJT7MYTW4HLSBIUUPANCNFSM4QCIAP4A .

Cleric-K commented 4 years ago

You can get the original fw at https://github.com/Cleric-K/FlySkyRxFirmwareRssiMod/blob/master/src/X14S/X14S_orig.bin Download button on the right.

I hope it works. Maybe if your receiver is some new version with different hardware that could be the problem...

Meltedgyro commented 4 years ago

sadly still doesn't work. the LEDs don't light up and there aren't any signs of life. I had to connect with a reset every time even after re-downloading your firmware. I gave up on the receiver. thanks for your help and the great flysky receiver support. I think I might have messed up somewhere in the physical processes sadly.

Cleric-K commented 4 years ago

That's strange. If flashing works it means that the MCU is OK. So the flashing reports success?

Can you take a look at the Option Bytes in st link util? (once you connect the mcu). It should look something like: image

If WDG_SW is checked, maybe you can try clear it and Apply. If possible send me a screenshot of that window.

Meltedgyro commented 4 years ago

image

Cleric-K commented 4 years ago

Ok, well you can try unchecking the WDG_SW and Apply. We are shooting in the dark, just trying random things. I don't know at this point what else we can try.

Meltedgyro commented 4 years ago

now it connects without resetting it. still no led. what is the next step? currently have original firmware flashed on it

Meltedgyro commented 4 years ago

I flashed your firmware now and it connects without the need for a reset.

Meltedgyro commented 4 years ago

reciever leds are up and working.

Meltedgyro commented 4 years ago

i will test now and see what is the result with your rssi firmware. if it works I will be soo thankfull

xctmaf commented 4 years ago

Can you take a look at the Option Bytes in st link util? (once you connect the mcu).

Will this option be same for all another receivers? IA6B/IA10B/X6B/IA6C/X8B/IA8X/A8S/8A/X14S/Flit10/RX2A Pro/Pro V1

Cleric-K commented 4 years ago

I think all have the option byte but I don't know if anyone else had similar problem and had to switch the watchdog (SW_WDG) off