juribeparada / MMDVM_HS

MMDVM HotSpot: firmware for ZUMspot or MMDVM_HS based boards (D-Star, DMR, YSF, P25, NXDN and POCSAG)
GNU General Public License v2.0
348 stars 140 forks source link

MMDVM Dual (V1.2) Issue on update #72

Closed TheOriginalFreddoFrog closed 5 years ago

TheOriginalFreddoFrog commented 5 years ago

Andy (and Roger),

I am receiving this on a firmware upgrade on a standard "Chinese" MMDVM Dual 1.2 (on 2 arduino bases):

_http://github.com/rogerclarkmelbourne/arduino_stm32

Using Parser : Raw BINARY Interface serialposix: 57600 8E1 Failed to init device.

I have used sudo pistar-mmdvmhshatflash hs_dual_hat : HS_DUAL_HAT (14.7456MHz TCXO) and the manual script install_fw_hsdualhat.sh - both with the same outcome.

Yes the board has a 14.7456MHz TCXO.

A Version 1.0 board here (without the USB connector) upgrades perfectly. Things do not make sense !

Any suggestions???

73.

Steve I VK3VM / VK3SIR

rogerclarkmelbourne commented 5 years ago

The update firmware loading system uses the internal (serial) bootloader in the silicon of the STM32F103C8 microcontroller.

So its rare for this to fail, as long as the GPIO pin that pulls the Boot0 pin high, and the reset pin, and the serial Tx and Rx lines are connected.

The serial bootloader doesn't even need the clock crystal to be working.

I suspect perhaps there is a dry join on the soldering of the board.

BTW. It is also possible to flash the firmware using an external programmer like a ST-Link, which you can buy from eBay for a few dollars (from China). (Albeit the post from china seems to be taking literally months to get here at the moment )

TheOriginalFreddoFrog commented 5 years ago

Roger,

Good call. I went over the STM with an iron and some solder paste … the solder that the manufacturer was using appears to be appalling - it took quite some time to "clean up" and ensure that the poor chip was properly soldered in....

The STM must have been pre-programmed prior to insertion on the board...

And yes, I say poor chip....

It has now updated.

73 and thanks for the tip !!!

Steve I VK3VM / VK3SIR

rogerclarkmelbourne commented 5 years ago

Glad that fixed it. Poor soldering is a problem that is reported a lot on various forums including the one I run www.stm32duino.com