Page 2 of 2

Re: Jumbospot - can't update/downgrade firmware

Posted: Wed Sep 30, 2020 9:58 am
by PA3FAT
ordered st-link v2 via webshop nearby.
Delivered this morning.
Connected, started the software, disabled the read protection.
Restarted the pi-star and flashed the hat again.

All ok now !

Nigel, thanks for your support !

Ron

Re: Jumbospot - can't update/downgrade firmware

Posted: Wed Sep 30, 2020 8:26 pm
by G4ZAL
Hi Ron,

Glad you got it sorted and happy to have helped ;-)

Nigel
G4ZAL

Re: Jumbospot - can't update/downgrade firmware

Posted: Thu Oct 01, 2020 3:56 am
by VK7HSE
Looks like I too have a duplex board that has been locked. A little bit sneaky of them (might not be intentional) but not a big problem to rectify. Image

Sent from my Pixel 4 XL using Tapatalk


Re: Jumbospot - can't update/downgrade firmware

Posted: Sat Oct 03, 2020 9:43 pm
by VK7HSE
Oh how embarrassing! I didn't even look at the JP1 status! But I think that you are right! Silly me

Sent from my Pixel 4 XL using Tapatalk


Re: Jumbospot - can't update/downgrade firmware

Posted: Fri Jan 29, 2021 9:44 am
by MW0MWZ
Sorry to drag this back up - but the tools to unlock them are also on Pi-Star's image :)

Code: Select all

pi-star@pi-star(ro):~$ sudo stm32flash --help
stm32flash 0.5

http://stm32flash.sourceforge.net/

stm32flash: invalid option -- '-'
Usage: stm32flash [-bvngfhc] [-[rw] filename] [tty_device | i2c_device]
	-a bus_address	Bus address (e.g. for I2C port)
	-b rate		Baud rate (default 57600)
	-m mode		Serial port mode (default 8e1)
	-r filename	Read flash to file (or - stdout)
	-w filename	Write flash from file (or - stdout)
	-C		Compute CRC of flash content
	-u		Disable the flash write-protection
	-j		Enable the flash read-protection
	-k		Disable the flash read-protection
Note: I have *not* had the need to use this myself, so I wont say that I know it works, but the options are already there, you should not need to use a soldering iron, fight with software or get any kind of programmer :)

If anyone finds out that I am wrong about this, please tell me :)

Re: Jumbospot - can't update/downgrade firmware

Posted: Mon Jun 14, 2021 1:44 pm
by PD4MM
Hello,

I have the same problem and can not update the firmware 1.4.6 to 1.5.2, bud what is the reasons for this .........

PD4MM Marcel

Re: Jumbospot - can't update/downgrade firmware

Posted: Mon Jun 21, 2021 9:25 pm
by G4ZAL
Hi Marcel,
You have the same problem as in my first few posts?
What error message(s) do you get?

I only know how to do what I manged in the posts I made in this thread, otherwise I can't help much !

73
Nigel G4ZAL

Re: Jumbospot - can't update/downgrade firmware

Posted: Sat Dec 04, 2021 1:59 pm
by KY4DAG
Sorry to drag this back up further, but I had the same issue with my mmdvm-hs-hat clone
edgetriggered from the m17 discord directed me to try stm32flash -u
I was able to use the stm32flash software on the pi-star through the browser ssh to get it going
I used the commands from install_fw_hshat.sh
At first I couldn't get -u to work. It always returned NACK. Then I tried -k and completed then I tried the -u after that and it worked.

These are the commands I ended up using This may not be correct for everyone, this is just what I used.

Code: Select all

sudo killall MMDVMHost >/dev/null 2>&1
sudo stm32flash -k -i 20,-21,21:-20,21 /dev/ttyAMA0
sudo stm32flash -u -i 20,-21,21:-20,21 /dev/ttyAMA0
sudo pistar-mmdvmhshatflash hs_hat