Pi-Star Cannot Read Modem's Firmware Version

MMDVM_HS Hat hardware
Post Reply
KG4OPX
Posts: 5
Joined: Fri Jan 03, 2020 11:24 pm

Pi-Star Cannot Read Modem's Firmware Version

Post by KG4OPX » Fri Jan 10, 2020 9:10 pm

I am running 4.19.75-v7+ on a Pi 3 Model B+ (1GB) - Sony, UK.

I am using STM32-DVM / MMDVM_HS - Raspberry Pi Hat (GPIO) form the modem as suggested. The problem is that the when Pi-Starts it cannot read the modem firmware.

E: 2020-01-10 19:52:23.572 Unable to read the firmware version after six attempts
: 2020-01-10 19:52:10.752 This software is for use on amateur radio networks only,
I: 2020-01-10 19:52:10.752 it is to be used for educational purposes only. Its use on
I: 2020-01-10 19:52:10.752 commercial networks is strictly prohibited.
I: 2020-01-10 19:52:10.752 Copyright(C) 2015-2018 by Jonathan Naylor, G4KLX and others
M: 2020-01-10 19:52:10.752 MMDVMHost-20191122_Pi-Star-v4 is starting
M: 2020-01-10 19:52:10.752 Built 11:05:01 Nov 22 2019 (GitID #ed7f593)
I: 2020-01-10 19:52:10.752 General Parameters
I: 2020-01-10 19:52:10.752 Callsign: KG4OPX
I: 2020-01-10 19:52:10.752 Id: 3137342
I: 2020-01-10 19:52:10.752 Duplex: no
I: 2020-01-10 19:52:10.752 Timeout: 240s
I: 2020-01-10 19:52:10.752 D-Star: disabled
I: 2020-01-10 19:52:10.752 DMR: enabled
I: 2020-01-10 19:52:10.752 YSF: disabled
I: 2020-01-10 19:52:10.752 P25: disabled
I: 2020-01-10 19:52:10.752 NXDN: disabled
I: 2020-01-10 19:52:10.752 POCSAG: disabled
I: 2020-01-10 19:52:10.752 Modem Parameters
I: 2020-01-10 19:52:10.752 Port: /dev/ttyAMA0
I: 2020-01-10 19:52:10.752 Protocol: uart
I: 2020-01-10 19:52:10.752 RX Invert: no
I: 2020-01-10 19:52:10.752 TX Invert: yes
I: 2020-01-10 19:52:10.752 PTT Invert: no
I: 2020-01-10 19:52:10.752 TX Delay: 100ms
I: 2020-01-10 19:52:10.752 RX Offset: 0Hz
I: 2020-01-10 19:52:10.752 TX Offset: 0Hz
I: 2020-01-10 19:52:10.752 RX DC Offset: 0
I: 2020-01-10 19:52:10.752 TX DC Offset: 0
I: 2020-01-10 19:52:10.752 RF Level: 100.0%
I: 2020-01-10 19:52:10.752 DMR Delay: 0 (0.0ms)
I: 2020-01-10 19:52:10.752 RX Level: 50.0%
I: 2020-01-10 19:52:10.752 CW Id TX Level: 50.0%
I: 2020-01-10 19:52:10.752 D-Star TX Level: 50.0%
I: 2020-01-10 19:52:10.752 DMR TX Level: 50.0%
I: 2020-01-10 19:52:10.752 YSF TX Level: 50.0%
I: 2020-01-10 19:52:10.752 P25 TX Level: 50.0%
I: 2020-01-10 19:52:10.752 NXDN TX Level: 50.0%
I: 2020-01-10 19:52:10.752 POCSAG TX Level: 50.0%
I: 2020-01-10 19:52:10.752 RX Frequency: 441000000Hz (441000000Hz)
I: 2020-01-10 19:52:10.752 TX Frequency: 441000000Hz (441000000Hz)
M: 2020-01-10 19:52:10.753 Opening the MMDVM
E: 2020-01-10 19:52:23.572 Unable to read the firmware version after six attempts

G8SEZ
Posts: 193
Joined: Fri Apr 13, 2018 8:26 pm

Re: Pi-Star Cannot Read Modem's Firmware Version

Post by G8SEZ » Sat Jan 11, 2020 7:56 pm

Suggest you try again with:

MMDVM_HS_HAT (DB9MAT&DF2ET) for Pi (GPIO)

selected for the Radio/Modem type.
--

Brian G8SEZ

KG4OPX
Posts: 5
Joined: Fri Jan 03, 2020 11:24 pm

Re: Pi-Star Cannot Read Modem's Firmware Version

Post by KG4OPX » Sun Jan 12, 2020 12:52 am

Hi Brian,

Tried it and have the same results. There must be some type of hardware conflict. I tried to upgrade the firmware but the modem cannot be initialized. I have no idea why Arduino shows up.


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.


Rob - KG4OPX

G8SEZ
Posts: 193
Joined: Fri Apr 13, 2018 8:26 pm

Re: Pi-Star Cannot Read Modem's Firmware Version

Post by G8SEZ » Sun Jan 12, 2020 4:13 pm

Can you post some pics of the radio/modem, might help to identify what it is.
--

Brian G8SEZ

n9mxq
Posts: 207
Joined: Sun Apr 29, 2018 12:12 pm

Re: Pi-Star Cannot Read Modem's Firmware Version

Post by n9mxq » Mon Jan 13, 2020 12:07 pm

Are pins 38 and 40 connected between the MMDVM and the PI? Failed to Init usually means they're not.
Gene in Belvidere IL
Please don't email me with questions.
That's what these forums are for.
There's much more brainpower collected here
than I have alone.

KG4OPX
Posts: 5
Joined: Fri Jan 03, 2020 11:24 pm

Re: Pi-Star Cannot Read Modem's Firmware Version

Post by KG4OPX » Wed Jan 15, 2020 2:06 am

A picture is attached.

Rob
Attachments
Untitled.jpg
Untitled.jpg (217.83 KiB) Viewed 1358 times

KN2TOD
Posts: 77
Joined: Sun Nov 11, 2018 6:36 pm

Re: Pi-Star Cannot Read Modem's Firmware Version

Post by KN2TOD » Wed Jan 15, 2020 11:32 am

Try building out your system with a fresh image.

(Had a similar situation where connection to the firmware/hat seemed to have been lost and feared the firmware might have been fried. On a lark, and as a last restore, started from scratch with a new image and viola! Apparently, some file or other got corrupted or deleted during one of the various updates and a refresh is the only way out.)

G8SEZ
Posts: 193
Joined: Fri Apr 13, 2018 8:26 pm

Re: Pi-Star Cannot Read Modem's Firmware Version

Post by G8SEZ » Wed Jan 15, 2020 3:18 pm

The latest schematic is shown at the link below:

https://github.com/mathisschmieder/MMDV ... hs-hat.pdf

You can see that pins 38 and 40 of the GPIO connector are connected to the STM32 CPU. Worth checking that they are actually connected.

One other thing I can suggest is that if the ADF7021 clock is not present, often due to the TCXO soldering being poor, then the radio doesn't respond. I would check that there is a waveform on the ADF7021 clock input, but that is under the OLED display so not that easy to reach.
--

Brian G8SEZ

KG4OPX
Posts: 5
Joined: Fri Jan 03, 2020 11:24 pm

Re: Pi-Star Cannot Read Modem's Firmware Version

Post by KG4OPX » Mon Jan 20, 2020 10:53 pm

I returned the modem to Amazon for a full refund. I guess I will buy a complete setup.

Rob

Post Reply