Latest VSOS Kernel (3.55) available here.

Discussion about writing software for VS1005 and the VSOS Operating System. Also posts about VS1005-related hardware design and device drivers should be posted here.
User avatar
Panu
VLSI Staff
Posts: 2586
Joined: Tue 2010-06-22 13:43

Re: Latest VSOS Kernel (0.306) available here.

Post by Panu » Mon 2014-04-14 14:42

Followup messages moved to new topic "VSOS Kernel 0.306 Troubleshooting": viewtopic.php?f=13&t=1250

VSOS 0.306 has some issues with driver loading and booting. Flash support is experimental and being fixed.
Info: Line In and Line Out, VS1000 User interface, Overlay howto, Latest VSIDE, MCU Howto, Youtube
Panu-Kristian Poiksalo, VLSI Solution Oy

User avatar
Panu
VLSI Staff
Posts: 2586
Joined: Tue 2010-06-22 13:43

Re: Latest VSOS Kernel (3.07) available here.

Post by Panu » Fri 2014-04-25 19:34

Dear Forum Followers,

We are now starting to roll out our new VSOS kernel, which should be stable to use for production. To mark this milestone, we now change the kernel numbering to reflect it. The new VSOS3 kernel now has the version number 3.07 (instead of 0.307).

By "stable" we mean that we are gradually locking down the calling conventions of kernel functions and device drivers. Version 3.07 is by no means "final", we will continue to update it but our intention is that drivers written for 3.07 should run OK with later VSOS3 kernels. There's still a lot of work to be done, so don't be surprised if you see 3.08 or 3.09 in the near future. But you can proceed with your product design with 3.07. We appreciate your feedback as always.

Today's VSIDE update includes the first stage of our series of updates. It contains the VSOS kernel 3.07 for Internal and External Flash. Next we will release the SD card kernel and also a stand-alone driver for SD card. Other examples, device drivers and tutorials are also coming. Stay also tuned for our new MP3 player application, libraries and examples about how to play music files of various formats on the VSOS/VS1005.

Note that if you program the internal flash with a kernel, it is always booted unless the flash is erased.

Here's a brief changelog for the 3.07 version:
Updates in version 3.07
* Added support for internal flash.
* Combined the drivers for internal and external flash
* Updated device driver calling, should be final now:
- init() is called when the driver is loaded to the memory
- main(char *parameters) is called for each instance (each line of S:CONFIG.TXT)
- fini() is called if the device driver is dropped from memory
* Added proper support for stderr, vo_stderr
- At boot stdout and stderr point to UART serial port (115200 bps).
- if lcd console driver is loaded, stdout will go to lcd screen,
  but writes to stderr will continue to go to the UART.
* Added support for soft serial port console (if UART is needed for other purpose)
* Increased stack size for main task (now 512 doublewords)
* Fixed an interrupt bug in scheduler
* Fixed flash boot issue
* Fixed power button reset issue
* Fixed generic interrupt support
* Added support for SIMPLE_FILE and SIMPLE_DEVICE drivers
* Fixed a re-entrancy issue in fopen, fclose.
* Started to add some long file name support, now mainly for f->Identify()
* Experimenting with support for one "*" wildcard inside file name for FAT fopen,
  it will match the first file or skip n files if experimental mode "rb#n" is used.
* Increased the number of available file handles
* File buffer allocation now uses malloc instead of fixed buffers
* Improved USB support for the internal and external flash
* Added a safety trap for null device writes
* Changed kernel version numbering
Install the new VSIDE, instantiate the kernel by selecting File->New Solution->Based on Template->VS1005 Solution->VSOS Kernel 3.07 and see the readme.txt file for details

Sincerely,
Panu
Attachments
vside_win32_v227b.exe
VSIDE version 2.27b, includes VSOS kernel version 3.07 for flash.
(11.78 MiB) Downloaded 435 times
Info: Line In and Line Out, VS1000 User interface, Overlay howto, Latest VSIDE, MCU Howto, Youtube
Panu-Kristian Poiksalo, VLSI Solution Oy

thomasgds
Senior User
Posts: 57
Joined: Tue 2014-04-15 8:56

Re: Latest VSOS Kernel (3.07) available here.

Post by thomasgds » Sun 2014-04-27 11:29

Great work!

User avatar
Panu
VLSI Staff
Posts: 2586
Joined: Tue 2010-06-22 13:43

VSOS Kernel 3.08

Post by Panu » Fri 2014-05-02 11:10

Dear Forum members,

Here is an update of VSIDE with VSOS kernel 3.08 for internal/external flash and again also for the SD card. Additionally a small bug in VSIDE (calling external tools) was fixed. VS1005G headers updated.

Sincerely,
Panu

PS.
thomasgds wrote:Great work!
Thank you for the thumbs up!
Attachments
vside_win32_v227b3.exe
Update of VSIDE 2.27. Includes VSOS kernel 3.08 for SD card and for internal or external flash.
(11.91 MiB) Downloaded 517 times
Info: Line In and Line Out, VS1000 User interface, Overlay howto, Latest VSIDE, MCU Howto, Youtube
Panu-Kristian Poiksalo, VLSI Solution Oy

User avatar
Panu
VLSI Staff
Posts: 2586
Joined: Tue 2010-06-22 13:43

Main Menu update

Post by Panu » Sun 2014-05-04 12:07

Hi!

Here's an updated version of the main menu which works with kernel versions VSOS 3.07 and above.

-Panu
Attachments
init.zip
Source code for the main menu
(150.91 KiB) Downloaded 400 times
init.ap3
Main Menu for VSOS 3.07++
(33.85 KiB) Downloaded 290 times
Info: Line In and Line Out, VS1000 User interface, Overlay howto, Latest VSIDE, MCU Howto, Youtube
Panu-Kristian Poiksalo, VLSI Solution Oy

User avatar
Panu
VLSI Staff
Posts: 2586
Joined: Tue 2010-06-22 13:43

Kernel update 3.09

Post by Panu » Wed 2014-05-07 9:00

Dear Members,

Here is version 3.09 of the kernel. We've fixed a few annoyances and added a few new features such as volume control interface, full long file name path support for opening files and improved directory listing interface. Also reloading a new kernel over a running kernel, using the VSIDE UART interface, is stable again.
Updates in version 3.09
* Added long file name support for opening files and directories
* Updated the interface for file searching
* Fixed interrupt vectors when reloading a running kernel
* Added SystemUiMessage interface for sending global UI messages
* Added master volume control handler to SystemUiMessage
-Panu

Bug found:The voplinkg linker in this version creates a file loadable.ap3 instead of loadable.app. Your old projects will probably continue to copy the old loadable.app into ap3 or dl3 file, causing an old version of your software to run instead of the one you've just built. I am really sorry about this, we didn't think it through. We'll fix it one way or the other in the next release, but right now either use voplinkg.exe from a previous VSIDE version or edit your project's post-build step to use loadable.ap3 instead of loadable.app.

-Panu
Attachments
vside_win32_v228a.exe
VSIDE 2.28 with VSOS kernel 3.09
(12.15 MiB) Downloaded 321 times
Info: Line In and Line Out, VS1000 User interface, Overlay howto, Latest VSIDE, MCU Howto, Youtube
Panu-Kristian Poiksalo, VLSI Solution Oy

User avatar
Panu
VLSI Staff
Posts: 2586
Joined: Tue 2010-06-22 13:43

VSOS Kernel 3.10

Post by Panu » Tue 2014-05-27 17:02

Hi!

Here is a new kernel, version 3.10. We have fixed a couple of minor bugs and added a couple of interesting features, the most important of which is runtime external relocations, e.g. if one DL3 library exports some function Func(), then another piece of software can import and call that function Func(). And the calling is done automatically without need to manually keep track of any library pointers. That's actually a huge convenience, plus it allows us to export some C library functions directly from ROM, making executables, libraries and most notably codecs smaller.

You'll be also interested to know that we've ported a set of new codecs for the OS. We can now play MP3, WAV, WMA, OGG, AAC and FLAC files. Henrik will soon release the set of new DL3 libraries to allow playing the new formats.

This time I'll just release the new kernel as stand-alone VSOS solutions for you to test. We will also continue testing and make a proper VSIDE release that includes these in a couple of weeks. Again, sorry for changing the linker output file name in the last version - we'll also fix this (for voplinkg change it back and rename the new linker) at the next release. For now, just be careful that the DL3 or AP3 file which gets loaded to the card is indeed the file which was just built. Check the AP3/DL3 file's date and time.

-Panu
Attachments
voplinkg.exe
For the most enthusiastic developers, a version of the linker that supports the new DLLIMPORT directive. FIXED VERSION to replace the one posted earlier.
(679.5 KiB) Downloaded 286 times
arch-RC1-2014-05-27-17-09-VSOS310-Flash.zip
VSOS 3.10 kernel for Flash. VSIDE solution with source code.
(593.92 KiB) Downloaded 296 times
arch-RC1-2014-05-27-17-09-VSOS310_SD.zip
VSOS 3.10 kernel for SD card. VSIDE solution with source code.
(534.69 KiB) Downloaded 316 times
libvs1005g_vsos3.zip
Header file update for VSOS 3.10
(476.13 KiB) Downloaded 312 times
Info: Line In and Line Out, VS1000 User interface, Overlay howto, Latest VSIDE, MCU Howto, Youtube
Panu-Kristian Poiksalo, VLSI Solution Oy

User avatar
Henrik
VLSI Staff
Posts: 1107
Joined: Tue 2010-06-22 14:10

Re: VSOS Kernel 3.10

Post by Henrik » Fri 2014-06-06 13:58

Panu wrote:You'll be also interested to know that we've ported a set of new codecs for the OS. We can now play MP3, WAV, WMA, OGG, AAC and FLAC files. Henrik will soon release the set of new DL3 libraries to allow playing the new formats.
As promised by Panu last week, here is a set of drivers for VSOS 3.10, with all-new audio decoders included. Although not tested, these drivers should also work under VSOS 3.09.

Included is also an example config.txt, Which you can edit at your will, as well as the startup menu program init.ap3.

Have fun!

Kind regards,
- Henrik

PS. Here's a short list with one line explanation of each driver in the package. -Panu

Code: Select all

audio.dl3	   Two-way audio driver (input and output)
audiodec.dl3	Audio Decoder. Plays MP3 and calls other DL3 decoders as needed.
decaac.dl3	  AAC audio decoder driver. Called by AUDIODEC
decvorb.dl3	 Ogg Vorbis audio decoder driver. Called by AUDIODEC
decwav.dl3	  WAV audio decoder driver. Called by AUDIODEC
decwma.dl3	  WMA audio decoder driver.  Called by AUDIODEC
devHello.dl3	Example device driver for a device which always returns mp3 hello
devsdi.dl3	  Device driver for playing external SPI audio streams
lcd288.dl3  	LCD driver for 2.88" LCD ili9341, horizontal
lcd288v.dl3	 LCD driver for 2.88" LCD ili9341, Vertical
lcdcon.dl3	  LCD console
mojibake.dl3	Extended character set support (China/Korea/Japan) for ID3 tags
mp3model.dl3	MP3 player functionality. Example coming.
mp3style.dl3	Visual Style for MP3 player
PlayFile.dl3	Example library to play music from CONFIG.TXT or RunLibraryFunction()
plfat.dl3	   FAT directory playlist handler for MP3 player. Example coming.
plm3u.dl3	   M3U text file playlist handler. Example coming.
sdsd.dl3	    SD card driver
stdbbtn.dl3	 Alternative standard buttons using devboard keys S1, S2, S3 (no touch)
stdbtch.dl3	 Standard buttons using the touchscreen (requires a touch driver)
stdwdgt.dl3	 New Graphics library "Standard Widgets". Example coming.
touch288dl3	 Touch driver for 2.88" LCD ili9341
PS2 (140619). Added a new versio of the drivers, called drivers_vsos0310a.zip. The new package has an updated SD card driver. - Henrik
Attachments
drivers_vsos0310a.zip
The drivers, but with an updated version of SD card driver SDSD.DL3 which doesn't require an SD card to be present when starting.
(805.09 KiB) Downloaded 312 times
drivers_vsos0310.zip
The drivers.
(804.96 KiB) Downloaded 285 times
Good signatures never die. They just fade away.

User avatar
Panu
VLSI Staff
Posts: 2586
Joined: Tue 2010-06-22 13:43

Re: Latest VSOS Kernel (3.10) available here.

Post by Panu » Fri 2014-06-27 15:10

Dear Forum Members,

Here is an updated VSIDE package which contains the VSOS 3.10 kernel and fixes the link problems introduced in the previous version.

-Panu
Info: Line In and Line Out, VS1000 User interface, Overlay howto, Latest VSIDE, MCU Howto, Youtube
Panu-Kristian Poiksalo, VLSI Solution Oy

User avatar
Panu
VLSI Staff
Posts: 2586
Joined: Tue 2010-06-22 13:43

VSOS version 3.11

Post by Panu » Fri 2014-06-27 17:42

One final retouch, Here's a new version with VSOS 3.11

* Model-View-Controller: Added interface for controlling playback from different processes.

-Panu
Attachments
vside_win32_v229.exe
VSIDE version 2.29 with VSOS kernel version 3.11. Windows 32-bit executable
(12.06 MiB) Downloaded 375 times
Info: Line In and Line Out, VS1000 User interface, Overlay howto, Latest VSIDE, MCU Howto, Youtube
Panu-Kristian Poiksalo, VLSI Solution Oy

Locked