-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MMDVM HS DUAL HAT " failed to init device "with white low cost chinese board issue solved! #159
Comments
I guess we're talking about those little aliexpress hotspots with rpi zero w? hs_dual_hat target failed for me, mentioning my modem is locked and i need to contact supplier. It came with following:
After building custom fw i used sudo pistar-mmdvmhshatflashcustom firmware.bin, and viola:
Here is my config for those models, just in case: #if !defined(CONFIG_H)
#define CONFIG_H
#define NANO_HOTSPOT
#define ENABLE_ADF7021
#define DUPLEX
#define ADF7021_14_7456
#define AD7021_GAIN_AUTO
#define STM32_USART1_HOST
#define ENABLE_SCAN_MODE
#define SEND_RSSI_DATA
#define SERIAL_REPEATER
#define SERIAL_REPEATER_BAUD 115200
#endif (apparently there is 1.6.1 somewhere? But building from master gave me 1.6.0) Tbh, won't be surprised if those boards come in different versions, locked and unlocked, and other stuff. But just adding that here in case someone might google it, |
That's correct - my colleague,
This is false. *WPSD has no firmware version dependency. I just wanted to clarify this misinformation. We have plenty of users running v1.5.2, and even v1.4.17. The use of the esoteric M17 protocol/mode, does, however, require MMDVM firmware of at least 1.6.0. How do I know all this? I'm the author of WPSD and an M17 team & board member. |
Interesting. After completely reflashing my dated hotspot with new image i started to get
and MMDVMHost crashed. Which went away after flashing 1.6 And thanks for your pistar fork! |
Did you happen to have M17 (or FM or AX.25) mode(s) enabled? If so, that error would make sense, since the MMDVMHost shipped with WPSD is aware/supports those modes, but
My pleasure, and thanks for using WPSD! 💯 |
nope, only DMR and POCSAG. Maybe firmware that came from shop wasn't straight from that repo and had some quirks inside? Sadly, i hasn't dumped it before flashing new one. |
Could the OP possibly provide more detail as to which pin gets connected where on the ST-Link from those two test points on the board? I see you soldered it to a header, but what wires on the ST-Link are you connecting to each pin of the header? |
Confirmed, the fix of connecting the boot pin (pin 20) to ground fixes these boards... If anyone is interested, I found a guy who can do the fix for just $10 (I don't have a steady enough hand to do it myself, so I sought out someone to do it for me.).. now running FW 1.6.1 on this board, and it takes firmware updates as it should through the normal pi-star or wpsd firmware update process. |
Connecting the boot pin 20 to ground fixes the programming issues. Thank you. |
Hello, here is my solutions for upgrading the low cost white mmdvm dual hat pcb with failed to init device message:
Both of them need litle solders!
1st solution with a stlink usb adapter:
Using the st link to flash the bin file , here is a picture for wiring:
You can then use 3v3, gnd, clk and i/o for the stm32 clone by using a stlink usb adapter to flash with the bin file available here.
2nd solution, for using pi-star ssh : sudo pistar-mmdvmhshatflas hs_dual_hat
On the stm32 pin 20 (PB2) is the BOOT1 and should be to the ground, but the white chinese pcb does not have this connection,, without BOOT1(pin20) to ground , you will have the "failed to connect device " always when trying to flash the board (for me it was from 1.4.7 and to 1.5.2 and never could flash the pcb) so you have to do it yourself like this:
Then the issue "Failed to init device" should be an old story...
Hope this help.
The text was updated successfully, but these errors were encountered: