Category Archives: Software development

#oggstreamer – Release of OggStreamerSDK-RC1

here is the release of the OggStreamerSDK-RC1 – for the first time we are able to have a whole integrated SDK which supplies all the Files / Applications needed for the complete OggStreamer Firmware.

If you want to experiment yourself I put together the info on the Wiki:

OggStremaer SDK RC1

Note it is RC1 and still has a number of flaws, please have a look at our ticketsystem:

RC1 Flaws Tickets

happy OggStreamer – hacking 😉

Advertisements

#oggstreamer – BETA 1 Released

Hi out there here is the Release of BETA 1 Software:

BETA 1 Introduces the following enhancements:

  • WebGUI for Configuration
  • autoreconnect for IceCast2
  • Integration in the OggStreamer SDK
  • Title, Description and Genre Options for IceCast2
  • stm8flash (update the STM8 Firmware directly)
  • In Setup-Mode Password is now defaulted to “PASS”
  • optional Two Stage Mode (STOP/STREAM) instead of (STOP/MONITOR/STREAM)

The Java-Player is not installed anymore.

I put update instructions on the wiki if you want to update your OggStreamer to BETA 1. I only recommend this for persons with solid linux skills.

#oggstreamer – Linux SDK

I just finished the Integration of the OggStremear specific libaries and applications to the Lantronix XPortPro Linux SDK. Follow the instruction on the wiki if you want to install the SDK yourself.

Note that future updates of the SDK will most likely happen directly in the coresponding git repositories. The wiki also describes how to integrate the oggstreamer git repos to the build process.

#oggstreamer – WebGUIs first steps

A friend of mine together with is brother coded the WebGUI. It is a C-Programm running as a CGI on top of a webbrowser. It works with boa but this server lacks Authentification and SSL in its unpatched version – although there are patches for auth, SSL would require a sperate programm to tunnel the HTTPS requests. So I searched for alternative Webbrowsers – mongoose and hiawatha  seemed to be the most promising alternatives – unfortunately integrating this servers into the Lantronix XportPRO SDK is a bit of work. Then I found out that the axhttpd from the axTSL package ships already in the SDK. I tried this but i had to notice that the version shipped with the SDK has broken .htpasswd support. So this issue is not resolved yet but I think I will update the SDK to a newer axTSL Version …. tomorrow – This work of choosing and getting a Webserver running on this Platform is quite a pain –  ¡qué rollo! – I wish Lantronix had integrated a working solution for this kind of problem in their SDK …

So for now lets stick with a screen shot how the WebGUI looks like:

WebGUI-Screenshot

#oggstreamer – STM8 Firmware compiles with SDCC

Yesterday sdcc (version #8699) produced a first useable Firmware for the STM8 uC used in the OggStreamer – it still needs some testing but it is feaseable that we can use sdcc as OpenSource compiler for the stm8.

#oggstreamer – OpenSource Compiler for STM8 called SDCC

I happily follow the progress of SDCC starting to support the STM8 Family of microcontrollers. SDCC is a compiler targeting smaller uCs like 8051, Z80, HC08, PIC and recently there was progress porting the compiler to STM8. It is currently only available in the snapshots. I tried compiling the OggStreamer’s STM8-Firmware with SDCC and after some fiddling around the code it compiled – but it doesn’t work at the moment. So I decided to do something less complex and I took portions of the original sources and modified them to run a simple LED Test, which nevertheless already uses a Timer Interrupt and does some lowlevel initialization.

As we now have an OpenSource alternative for the STM8-Compiler I will be able to create one complete OggStreamer SDK.

The impressive result are some blinking LEDs: (SDCC Version #8680)

#oggstreamer – STM8 UART Flasher for Linux

I just completed a rough Version 0.3 of stm8flash – a handy little tool that allows you to programm a STM8 over a serial uart interface (using the STM8 internal bootloader)

The software is based upon stm32flash written by Geoffrey McRae – many thanks to you that way. STM is using a similar Bootloader-Protocol for the STM32s and STM8s which made porting the flashertool not so difficult.

The stm8flash can be downloaded via sourceforge. It works as desired for my 32K STM8S105 device. But it is only designed to work with 32K devices so far. Also it is currently using the so-called “Reply” Mode, which is available on STM8A-128K, STM8S-32K, STM8S-128K and STM8L-64K. If you want to use this tool in non reply mode, then take a look at stm8.c and search for “REPLY” – it should be fairly easy to adapted to the other devices as well.

stm8flash also introduces a new flag “-d”, which stands for using the DTR-Line to trigger a device reset. (Arduino-Style 😉 )

Maybe in future somebody could try to merge stm32flash and stm8flash as the share a lot of common code.
What was really helpful for debugging the code and get the thing running, was a SALEAE Logic-Analyzer (with Software RS-232 decode functionality). It is definitely a powerful tool for such tasks.

Further this step just marks the first Milestone for the ongoing NetIdee-Project. 🙂