Open StefanSchwan opened 1 year ago
I'm having a similar issue. I posted here: https://github.com/phl0/MMDVM_HS_Dual_Hat/issues/10
Have you been able to resolve?
Thanks!
-Nick
Update: I was able to get the Bootloader written to the MMDVM Board. The issue seemed to be related to a possibly cloned chip that was not recognized in the older versions of st-flash. I downloaded the latest stlink tools and compiled. I additionally uninstalled the old stlink-tools package which was an older version. Re-running st-flash still resulted in the same unknown coreid issue. The uninstall did not unlink the libstlink.so.1 and was still pointing to the older version. I re-linked to the new version of libstlink and the bootloader install finally worked. However, I'm still not able to communicate with the board over USB. I've tried both with JP1 soldered and not soldered. I have not done anything with the BOOT 0 or BOOT 1 pins. The device will report as Maple 003 in Windows but no matter which driver I've attempted to assign(libusb, WinUSB, devser) via zadig BlueDV cannot communicate with the board. I've tried flashing precompiled firmware that indicates they have USB support(https://github.com/juribeparada/MMDVM_HS/releases/download/v1.5.2/generic_duplex_usb_fw.bin) as well as compiling my own mmdvm_f1bl.bin and flashing that. I've also attemtped to flash these with the STM32Programmer with the same results.
Anyone else have ideas on this?
Thanks!
-Nick
I have a dual hat device with USB (Aursinc Brand from Amazon).
pistar-findmodem identifies it as
Modem Data: MMDVM_HS_Dual_Hat-v1.5.2 20201108 14.7456MHz dual ADF7021 FW by CA6JAU GitID #89daa2000480067340000084E533443
it is working without any problems over GPIO on a PI4. I would like to enable the bootloader and use it on as a USB device on Ubuntu 22.10.
I have soldered
JP1
and start to device jumpered toBOOT
when flashing and remove the jumper before connecting it to USB. (I have also tried flashing withoutJP1
soldered)On my Ubuntu box, I use a generic ST-LINK device and I am trying to compile and flash a firmware from current master.
I run
(output see blow, claims to be
jolly good
)The device is not recognoized when I attach it via USB (dmesg silent). I have tried it on a PI and a Macbook Pro also.
When I compile using
#define STM32_USART1_HOST
, I canpistar-findmodem
the modem with the right commit hash for current master on my PI - but it does not receive anything.I have only got it work again using
pistar-mmdvmhshatflash hs_dual_hat
. This will revert it tov1.5.2
I have tried compiling and flashing
v1.5.2
myself, this fails with an errorOn master, I have
ST_FLASH_ON_PATH
withHow can I get this to work?