Upon reboot, the MMDVM must be updated
Upon reboot, the MMDVM must be updated
Hi, I have a weird problem with my Pi-Star, I assembled it with a Raspberry 4 only it doesn't see the TRX (SIMPLEX). It starts to work perfectly only after sending the command "sudo pistar-mmdvmhshatflash hs_hat" from the terminal by entering the section - Expert Editors - SSH Access, at this point it performs an update of the radio part and starts working correctly. The problem is that after turning it off, on restart it no longer finds the radio part and you have to repeat the procedure I just described. Any suggestions about it? Am I making some mistakes? Thanks in advance. Nino
- Attachments
-
- Log Hotspot errore MMDVM.png (180.76 KiB) Viewed 3055 times
-
- Hotspot.jpg (244.4 KiB) Viewed 3057 times
Re: Upon reboot, the MMDVM must be updated
Thanks for the suggestion, tonight I try to send the command "sudo pistar-mmdvmhshatreset" and I check pin 44 to see if it is connected to ground.
Sorry, but pin 44 does not exist in Rasberry 4, there are only 40 pins!
If I can't get it to work, patience I'll buy a Raspberri 3+.
Thanks 73 IW9HJD Nino
Sorry, but pin 44 does not exist in Rasberry 4, there are only 40 pins!
If I can't get it to work, patience I'll buy a Raspberri 3+.
Thanks 73 IW9HJD Nino
- Attachments
-
- IMG_20201207_125528.jpg (147.21 KiB) Viewed 2994 times
-
- IMG_20201207_125513.jpg (186.75 KiB) Viewed 2994 times
Re: Upon reboot, the MMDVM must be updated
NO R-Pi has a 44 pin header. All since the model 1B+ have 40 pin headers. However the prior poster said "PIN 44 of the STM" chip itself. You need to locate that pin on the chip, and do a circuit trace to wherever it ends up on the connector block.
--
AF6VN
Dennis L Bieber
Re: Upon reboot, the MMDVM must be updated
I will never be able to find where pin 44 is connected.
- Attachments
-
- Pin 44.jpg (92.88 KiB) Viewed 2969 times
Re: Upon reboot, the MMDVM must be updated
The NRST pin of the STM32, pin 7 is connected to C16 and R7, the other end of R7 (10k) is connected to VDD (+3.3V). C16 is connected to GPIO connector pin40 (GPIO21).IW9HJD wrote: ↑Mon Dec 07, 2020 5:06 pmI will never be able to find where pin 44 is connected.
Pin 44 of the STM32 (BOOT0) should be connected via a 10K series resistor to GPIO connector pin 38 (GPIO20). This 10K resistor (R1) is just under the right edge of the OLED display board.
These pins are in the silk screen box around the two top right GPIO pins with 20 and 21 above them.
I hope this helps you identify which signals to probe.
--
Brian G8SEZ
Brian G8SEZ
Re: Upon reboot, the MMDVM must be updated
After updating, all the modem LEDs flash three times.KE7FNS wrote: ↑Mon Dec 07, 2020 5:55 pmThe arrow is pointing at pin 48, count down as you move up the left side of pins.
You'll probably have to unsolder the OLED to find a via where the trace moves to the backside of the PCB.
Eventually the trace winds up on pin 38 of the RPi GPIO (top row, 2nd from STARTING on the RIGHT) There are normally a couple of 10k resistors one in series between GPIO 38 and the STM32 and one that connects that trace to ground.
What does the MMDVMHost log report?
What do the LED's do on power up?
Did issuing the reset cause it to start working?
Also what is the output of theseCode: Select all
gpio read 20
Code: Select all
gpio read 21
After that the red LED flashes slowly and after almost a minute the red LED flashes quickly and everything starts to work well, throughout this period of time, the green LED is always on, a few times the red LED, before starting to flash quickly, even more than two minutes passes, but not always all this time passes.
I have tried three SD cards and three different power supplies, but the problem persists.
gipio read 20 is 0
gpio read 21 is 1
Thanks cordial greetings.
IW9HJD Nino
- Attachments
-
- gpio read.png (176.66 KiB) Viewed 2941 times
Re: Upon reboot, the MMDVM must be updated
Thanks for the suggestion but I am unable to locate these components, 10K resistor, sorry.G8SEZ wrote: ↑Mon Dec 07, 2020 6:56 pmThe NRST pin of the STM32, pin 7 is connected to C16 and R7, the other end of R7 (10k) is connected to VDD (+3.3V). C16 is connected to GPIO connector pin40 (GPIO21).
Pin 44 of the STM32 (BOOT0) should be connected via a 10K series resistor to GPIO connector pin 38 (GPIO20). This 10K resistor (R1) is just under the right edge of the OLED display board.
These pins are in the silk screen box around the two top right GPIO pins with 20 and 21 above them.
I hope this helps you identify which signals to probe.
Thanks.
Re: Upon reboot, the MMDVM must be updated
Code: Select all
sudo pistar-mmdvmhshatreset
- Attachments
-
- sudo pistar-mmdvmhshatreset.png (205.95 KiB) Viewed 2470 times
Re: Upon reboot, the MMDVM must be updated
KE7FNS wrote: ↑Mon Dec 07, 2020 10:48 pmNot after updating, I mean from a complete power off. Do the LEDS on the hat flash 3 times when you power on the hotspot?
The red LED of the modem never lights up after a shutdown. It turns on steady after the update is finished. As soon as the procedure is completed, it flashes slowly, then it starts flashing quickly and everything works perfectly for days without any problems.
Thanks.
Re: Upon reboot, the MMDVM must be updated
Well that explains why the RPi 4 detection isn't resetting the modem as required.
Set the modem configuration to
and try a reboot, then run the command again.
[/quote]
Tonight I'll try and let you know.
I take this opportunity to thank everyone.
Set the modem configuration to
Code: Select all
MMDVM_HS_Hat (DB9MAT & DF2ET) for Pi (GPIO)
[/quote]
Tonight I'll try and let you know.
I take this opportunity to thank everyone.