RD5R SMS SPI dumps

Discussions related to the firmware code development
Post Reply
SQ6SFO
Posts: 2
Joined: Sat May 09, 2020 1:54 pm

RD5R SMS SPI dumps

Post by SQ6SFO » Thu May 14, 2020 10:56 am

Hi,

soldering SMD part is much easier than soldering to SMD parts.

After a half of night shoring MK22 pins I've managed to gather communication with C6000 when sending and receiving text messages (original 2.1.6 FW).

I've only collected SPI0 data, as there was no communication via SPI1. Also when I've tried to sniff interrupts I failed, as the parasite capacity induced by probe wires was too large for radio to work reliably.

Image

I'm attaching two dumps:
  • SMS_TXOK_RXOK.sr:
    SMS from SQ6SFO(2606178) to APRS(262993) with content "ECHO".
    After few second answer comes with standard "Hi Jakub, SMS was received(...)"
  • SMS_TXOK_RXOK.sr:
    Same message, but as the hotspot was not receiving there were no confirmation SMS was sent succesfully.
http://sq6sfo.pl/opengd77/messages.zip
Files can be opened by https://sigrok.org/wiki/PulseView

I'll try to decode the communication to easier readable text form.
Also I hope to write some POC code for SMS sending during the weekend :)

User avatar
F1RMB
Posts: 2517
Joined: Sat Nov 16, 2019 5:42 am
Location: Grenoble, France

Re: RD5R SMS SPI dumps

Post by F1RMB » Thu May 14, 2020 12:16 pm

Hi,
ECHO.png
ECHO.png (27.23 KiB) Viewed 2536 times

SQ6SFO
Posts: 2
Joined: Sat May 09, 2020 1:54 pm

Re: RD5R SMS SPI dumps

Post by SQ6SFO » Thu May 14, 2020 1:26 pm

I'm attaching also decoded SPI commands, there seems to be some bits toggled due to (again) parasitic capacity of the probes (especially when lot of data is sent out from MCU)

ECHO string is also visible here :)

Code: Select all

231945293-231949073 MOSI:  03 00 0A 00 45 00 43 00 48 00 4F 00 00 00 80 00 00 00 00 00 80 00 00 00 00 00
231945293-231949073 MISO:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Would it be possible to increase the attachment size on this forum to 100KB? :)
Attachments
SMS_TXOK_RXOK.zip
(27.01 KiB) Downloaded 156 times
SMS_TXFAIL.zip
(5.65 KiB) Downloaded 159 times

Post Reply