juribeparada / MMDVM_HS

MMDVM HotSpot: firmware for ZUMspot or MMDVM_HS based boards (D-Star, DMR, YSF, P25, NXDN and POCSAG)
GNU General Public License v2.0
351 stars 140 forks source link

Failed to read firmware version after 6 attempts #36

Closed M0XZT closed 6 years ago

M0XZT commented 6 years ago

Mmdvmhost fails to read firmware version after updating mmdvm_hs_dual_hat(DF2ET) to 1.3.5

phl0 commented 6 years ago

Do the LEDs blink at startup?

M0XZT commented 6 years ago

No, just the power LED, rolled back to 1.3.3 and it's working ok

juribeparada commented 6 years ago

Uhmmm, bad thing, probably we are running out of RAM for duplex mode

juribeparada commented 6 years ago

I will fix reducing ring buffers again soon in the next release :(

juribeparada commented 6 years ago

OK, it should be fix now in v1.3.6. I deleted v1.3.5

M0XZT commented 6 years ago

Working fine now. Thanks Andy

rogerclarkmelbourne commented 6 years ago

Andy

I can probably free up a little RAM that's allocated to the UART Serial in the Arduino Core

But its not going to be much.

I think the RX buffers allocated to each hardware serial channel are 64 bytes.

I think you may be using one UART Serial for the Raspberry PI version, but the other 2 could be removed and free up 128bytes

There is probably other stuff in the core that could be taking RAM that you don't need, but someone would need to look in the map file to see what could be released

juribeparada commented 6 years ago

Thank you Roger, but that is not so much, specially for the amount that I tried first time (the same amount that works OK for G4KLX MMDVM firmware). Now it is solved, I reduced a little more, but its still an improvement compared to v1.3.3. This ring buffer increment is only to reduce some modem NAK warnings (buffer overflow) that is produced for long network delays (too many DMR silence fills for example), then it is not so critical. Anyway, this affected only duplex devices, because firmware needed more resources.

rogerclarkmelbourne commented 6 years ago

OK.

f4grl commented 6 years ago

Bonjour à tous Mmdvmhost ne parvient pas à lire la version 1.3.6 ou 1.3.7 du micrologiciel après la mise à jour mmdvm_hs_dual de EA7GIB merci

juribeparada commented 6 years ago

Hello, have you tried to compile latest source code with "make" method using a Raspberry Pi or a computer with Linux, with latest arm gcc tools?

f4grl commented 6 years ago

Hello thanks for the answer it works updated in 1.3.7 thanks