Firmware Programming - Documentation

175 views
Skip to first unread message

Simon Brown

unread,
Aug 3, 2023, 6:37:43 AM8/3/23
to Hermes-Lite
So,

Now have time to use my own HL2. One thing I'm missing is the API to load new firmware - can anyone point me at this please?

Christian Veith

unread,
Aug 3, 2023, 7:29:23 AM8/3/23
to Hermes-Lite
Hi Simon,

There's a python script for the Hermes Lite, which is also able to update the firmware.


The update ist contained in the update_gateware function.

Maybe there's also a wiki page describing it, but I'm not sure.

Best Regards


Chris, DL5CV

--
You received this message because you are subscribed to the Google Groups "Hermes-Lite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hermes-lite...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hermes-lite/LNXP123MB2505EC05FC2406EB5E1A2364FA08A%40LNXP123MB2505.GBRP123.PROD.OUTLOOK.COM.

Simon Brown

unread,
Aug 3, 2023, 8:04:39 AM8/3/23
to Hermes-Lite, Christian Veith
Chris,

Thanks - This is the info I'm after.

From: 'Christian Veith' via Hermes-Lite <herme...@googlegroups.com>
Sent: 03 August 2023 12:29
To: Hermes-Lite <herme...@googlegroups.com>
Subject: Re: Firmware Programming - Documentation
 

"Christoph v. Wüllen"

unread,
Aug 3, 2023, 11:35:37 AM8/3/23
to Simon Brown, herme...@googlegroups.com
I guess this is easiest done with Quisk (I have done so in the past),
but other programs might be capable as well.

"Christoph v. Wüllen"

unread,
Aug 4, 2023, 8:14:44 AM8/4/23
to Simon Brown, herme...@googlegroups.com
As far as I know the API is the standard HPSDR API, you send ERASE and PROGRAM packets.

-a 64-byte block starting with 0xEF 0xFE 0x03 0x02 is an ERASE packet
(send it and wait for the response)

-a 264 byte block starting with EF FE 03 01 is a PROGRAM packet, the next
four bytes are the number of (256 byte) blocks. Send as many blocks
you need, wait for a response after each of them




> Am 04.08.2023 um 08:01 schrieb Simon Brown <si...@sdr-radio.com>:
>
> Hi,
>
> I should have been clearer - I was looking for the API so I can add this support in my own code.

Simon Brown

unread,
Aug 5, 2023, 1:39:57 AM8/5/23
to Hermes-Lite
All,

Thanks for the help - I can now load gateware using SDR Console. Much easier than I thought.

From: herme...@googlegroups.com <herme...@googlegroups.com> on behalf of Simon Brown <Si...@sdr-radio.com>
Sent: 03 August 2023 11:37
To: Hermes-Lite <herme...@googlegroups.com>
Subject: Firmware Programming - Documentation
 
Reply all
Reply to author
Forward
0 new messages