DSluijk
February 16, 2020, 10:57pm
#41
That sounds like something is broken in software. Have you tried to follow my tutorial already? Don’t worry, as long as it is a software fault it’s not a total loss :).
Hi trying to do the trick but unable to find where do i connect rst pin on the focbox ? anyone could help me ?
Hi, did you take a look at this table?
so dumb i am , i read first draw reverse, thx
Can you confirm which one is the correct Unity pin out?
or:
I decided to use this image:
But I’m getting this error:
It seems I need to hard reset using the pin nr. 7 on the MCU
@eBoosted
You should have connected according to your first picture. The way you decided upon is wrong. Luckily the ground is on pin 3 in both your pictures so hopefully nothing broke.
DSluijk:
+-+-+-+-+-+-+-+
|1|2|3|4|5|x|x|
+-+-+-+-+-+-+-+
|x|x|x|x|x|x|x|
+-+-+-+-+-+-+-+
1: 3.3v
2: SWCLK
3: GND
4: SWDIO
5: RST
You don’t need to plug your unity into your battery. It is powered by the ST-LINK. You could leave out the 3.3v (not the ground!), and plug in the battery, but this makes it more complicated. I don’t have a picture of this connection, and my unity is buried somewhere inside of my board. Sorry about that.
Connect the ST-LINK to your computer.
Open the ST-LINK utility.
Click connect on the top row (Looks like a mains plug with a lightning bolt). This should connect to the unity. It should look somewhat similar to this:
Click on Open file
and select the bootloader binary.
Click on Program & Verify
on the top row. This should show something like this:
Check the start address. (Unlike the photo) it should show 0x08000000
.
Click start!
After this is done, disconnect the ST-LINK inside of the Utility. This is the Mains plug with the red cross on it.
Disconnect the ST-LINK from the computer.
Unplug the Jumpers from the Unity.
Put the Bluetooth module back in its position.
Put the orange cover back.
Connect the phase wires, remote and battery back into the Unity as normal.
Try it out!
This just fixed both of my unities. Many thanks!!