First off, please accept my apologies if this one has been covered already in another thread. However, I haven't been able to find anything in my searches thus far.
I purchased a AURSINC mmdvm duplex hotspot off Amazon that looks like this:
It works fine, but the board came with firmware version 1.4.7, and I have been pulling my hair out trying to get it upgraded.
Their firmware update instructions are as follows:
Basically they claim I just have to short pins 38 & 40 on the GPIO board like this:Update new FW: (pi-star / expert / ssh access / user :pi-star pass:raspberry) then run sudo pistar-mmdvmhshatflash hs_dual_hat set Jumper BOOT0=1,BOOT1=0 and solder JP1 First! After upgraded finished, disconnect JP1
Well, I tried this and I actually even did try soldering a wire between them, but I keep getting "Failed to init device." The board itself would only light the PWR LED when it is shorted. Normally, the PWR LED would be solid while the SVC LED would blink. Therefore, I am assuming the board is being placed into some other mode, presumably the bootloader mode? However, it simply refuses to 'init' the device.
I read on Phil Pemberton's website (philpem.me.uk/hamradio/mmdvm/pog) that BOOT0 should be connected directly to pin 38 and NRST should be pin 40. He goes into some details about adding a 10k resistor to the pin 2 side of the JP1 pins and wire that back to pin 38 on the GPIO header for the bigger version of this duplex board. I did some digging and it looks like the pin 1 side went to VCC (3.3v aka GPIO pin 1). So, I tried to do this as well by soldering a 10k resistor between pin 1 and pin 38. This continues to result in only the solid PWR LED.
I was able to run reset the modem and it does go back into normal operation even with this resistor installed:
Here is the find modem details if it helps:root@pi-star(rw):pi-star# pistar-mmdvmhshatreset
Resetting Modem: STM32-DVM / MMDVM_HS - Raspberry Pi Hat (GPIO)
Warning: Stopping mmdvmhost.service, but it can still be activated by:
mmdvmhost.timer
Modem reset complete
Nothing I've tried has worked thus far. Ultimately, it is trying to run this command to apply the firmware:pi-star@pi-star(rw):~$ sudo pistar-findmodem
Detected MMDVM_HS Port: /dev/ttyAMA0 (GPIO) Baud: 115200 Protocol: V1
Modem Data: MMDVM_HS_Dual_Hat-v1.4.7 20180821 14.7456MHz dual ADF7021 FW by CA6JAU GitID #b14548e
I am concerned that the firmware may be set as read only. If it is, there is no STLink pins that I can see on that board, unless you can use the OLED pins somehow?eval sudo ./STM32F10X_Lib/utils/rpi32/stm32flash -v -w mmdvm_hs_dual_hat_fw.bin -g 0x0 -R -i 20,-21,21:-20,21 /dev/ttyAMA0
Does anyone know any thing else I can try here? I am hoping that perhaps I may just need an adjustment on my initialization line for stm32flash? I do have an OLED soldered on, but I set the display to 'none' and port to 'none' already as I heard it could cause similar issues.
Thanks in advance for any help you may have here!
73,
AD7O