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
345 stars 141 forks source link

install_fw_hsdualhat.sh #151

Closed VK3ONE closed 1 year ago

VK3ONE commented 1 year ago

Selected Modem: MMDVM_HS_Dual_Hat (DB9MAT, DF2ET & DO7EN) for Pi (GPIO) V1.3 Connected Hardware: MMDVM_HS_Dual_Hat-v1.4.16 20190211 14.7456MHz dual ADF7021 FW by CA6JAU GitID #8cf46ca TCXO Value: 14.7456MHz Error? line 29: [: =: unary operator expected See below for details of firmware update attempt.

root@two-star(rw):pi-star# pistar-mmdvmhshatflash hs_dual_hat MMDVM_HS_Dual_Hat-v1.4.16 20190211 14.7456MHz dual ADF7021 FW by CA6JAU GitID #8cf46ca Press any key to write the hs_dual_hat firmware to this modem or Ctrl-C to quit... Flashing your hs_dual_hat modem to the latest version URL transformed to HTTPS due to an HSTS policy --2022-09-04 18:29:44-- https://github.com/juribeparada/MMDVM_HS/releases/download/v1.5.2/install_fw_hsdualhat.sh Resolving github.com (github.com)... 20.248.137.48 Connecting to github.com (github.com)|20.248.137.48|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/80589711/1acb3e00-21fa-11eb-883b-4e826c17310a?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20220904%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220904T082944Z&X-Amz-Expires=300&X-Amz-Signature=ea0c15fee068d316b67a04ad3a6ca04205f1e897e92dc1aae37fc377341bd9df&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=80589711&response-content-disposition=attachment%3B%20filename%3Dinstall_fw_hsdualhat.sh&response-content-type=application%2Foctet-stream [following] --2022-09-04 18:29:45-- https://objects.githubusercontent.com/github-production-release-asset-2e65be/80589711/1acb3e00-21fa-11eb-883b-4e826c17310a?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20220904%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220904T082944Z&X-Amz-Expires=300&X-Amz-Signature=ea0c15fee068d316b67a04ad3a6ca04205f1e897e92dc1aae37fc377341bd9df&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=80589711&response-content-disposition=attachment%3B%20filename%3Dinstall_fw_hsdualhat.sh&response-content-type=application%2Foctet-stream Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.108.133, 185.199.109.133, 185.199.110.133, ... Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.108.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 3092 (3.0K) [application/octet-stream] Saving to: ‘/tmp/mmdvmhshatfirmware/flash.sh’

/tmp/mmdvmhshatfirm 100%[===================>] 3.02K --.-KB/s in 0.01s

2022-09-04 18:29:45 (309 KB/s) - ‘/tmp/mmdvmhshatfirmware/flash.sh’ saved [3092/3092]

FINISHED --2022-09-04 18:29:45-- Total wall clock time: 3.8s Downloaded: 1 files, 3.0K in 0.01s (309 KB/s) ./flash.sh: line 29: [: =: unary operator expected Downloading latest firmware (stable)... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 52648 100 52648 0 0 22499 0 0:00:02 0:00:02 --:--:-- 102k Cloning into 'STM32F10X_Lib'... remote: Enumerating objects: 193, done. remote: Total 193 (delta 0), reused 0 (delta 0), pack-reused 193 Receiving objects: 100% (193/193), 3.28 MiB | 602.00 KiB/s, done. Resolving deltas: 100% (71/71), done. Raspberry Pi 3 detected stm32flash Arduino_STM32_0.9

http://github.com/rogerclarkmelbourne/arduino_stm32

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

I have two of these hats, the same result on both. I'm not a programmer, not sure where/why this is failing. Tim VK3ONE

VK3ONE commented 1 year ago

Soldered JP1 re ran update: Wrote and verified address 0x08006200 (47.65%) Got byte 0x80 instead of ACK
Unexpected reply from device on command 0x31
Failed to write memory at address 0x08006200 Failed......

Second attempt... Problem solved, Success!!

Tim VK3ONE