VS1005 Hi-Res Player (March 2017 Demo) source code

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.
technic
Senior User
Posts: 47
Joined: Mon 2017-11-20 10:23

Re: VS1005 Hi-Res Player (March 2017 Demo) source code

Post by technic » Thu 2018-03-08 13:45

Hannu, Panu - thank you very much for explanation,
I increasingly like this architecture :)

technic
Senior User
Posts: 47
Joined: Mon 2017-11-20 10:23

Re: VS1005 Hi-Res Player (March 2017 Demo) source code

Post by technic » Fri 2018-03-09 11:45

Oops, during my experiments with VSIDE I've "successfully update" VSOS in HiRes player (New VS1005 Solution > VSOS3 Kernel 3.50 for VS1005G External SPI Flash > build > Prommer > VS1005G external SPI flash prommer via UART on COM3).
After resetting device does not show anything on display. I have a brick (as usually for newbies)

As I understand, only way for me now - compile all HiRes apps from sources and write it to device...

User avatar
Panu
VLSI Staff. Currently on holiday.
Posts: 2698
Joined: Tue 2010-06-22 13:43

Re: VS1005 Hi-Res Player (March 2017 Demo) source code

Post by Panu » Sat 2018-03-10 9:05

Hi!

First try to update an older kernel and see if it works after that. 3.50 was a major update to the kernel, it may require some modifications to other programs.

But yes, in the long run, sure.

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

technic
Senior User
Posts: 47
Joined: Mon 2017-11-20 10:23

Re: VS1005 Hi-Res Player (March 2017 Demo) source code

Post by technic » Mon 2018-03-12 9:25

Thank you for reply, Panu.

I studied the information from "Flashing a new or bricked VS1005G board" topic, but no luck. Seems that board does not answer anything on UART.
VSIDE prommer and Vsprom9 reports that there is no answer from device.

User avatar
Panu
VLSI Staff. Currently on holiday.
Posts: 2698
Joined: Tue 2010-06-22 13:43

Re: VS1005 Hi-Res Player (March 2017 Demo) source code

Post by Panu » Tue 2018-03-13 9:41

Hi!

Keep trying with VSPROM9. That's how we program it in production.

The key to success, e.g. the board operating properly and being stable, is to have a proper primary boot image in the internal flash. Never ever write anything else into the internal flash - make all your modifications to the external flash.

Here are the VSPROM9 programming files for the hires player which we use in production.

I'll try to see if I can come up with a procedure to try to vitalize the board after something else is written into the internal flash. You can try to power the board down and then up while pressing the buttons on the right hand side of the player: next, play/pause, etc one by one and keep pressing the "Connect" button in the VSPROM9. When you get the connection, prom the Hires-Internal-v0.1.bin into the internal flash. The board is then stable and you can proceed with other operations.

-Panu

PS. Here are our internal programming instructions for the production of the board :
VS1005HiResPlayerOhjelmointiTestaus.pdf
(2.16 MiB) Downloaded 63 times
They're in Finnish but I think you can follow the steps quite easily and compare the screenshots to what you see on your screen. So the language is not that important : )
Attachments
Hires-External-v0.1.bin
Hi-Res player kernel image for external flash
(64 KiB) Downloaded 38 times
Hires-Internal-v0.1.bin
Hi-Res Player primary boot image for internal flash
(64 KiB) Downloaded 40 times
Info: Line In and Line Out, VS1000 User interface, Overlay howto, Latest VSIDE, MCU Howto, Youtube
Panu-Kristian Poiksalo, VLSI Solution Oy

technic
Senior User
Posts: 47
Joined: Mon 2017-11-20 10:23

Re: VS1005 Hi-Res Player (March 2017 Demo) source code

Post by technic » Tue 2018-03-13 12:13

Panu wrote:
Tue 2018-03-13 9:41

PS. Here are our internal programming instructions for the production of the board :VS1005HiResPlayerOhjelmointiTestaus.pdf They're in Finnish but I think you can follow the steps quite easily and compare the screenshots to what you see on your screen. So the language is not that important : )
Thank you very much, Panu, the device 'resurrected'! Instruction your provided works for me.
And by pressing '>' button during reset I can "see" system flash as disk now.

User avatar
Panu
VLSI Staff. Currently on holiday.
Posts: 2698
Joined: Tue 2010-06-22 13:43

Re: VS1005 Hi-Res Player (March 2017 Demo) source code

Post by Panu » Tue 2018-03-13 12:33

That's great! What was the trick to make it work?

I think the kernel is good enough for the product, so there's probably no urgent need to update it. But because we just changed how the linker works by default in the last VSIDE release (it saves a LOT of space on our small internal flash when used with the latest kernel), so I think it's easier for you to modify the code with a VSIDE version which is a few months older than now. At least until you're comfortable.

I'll try to find the time to update the hires solutions to compile with the latest tools. It involves setting a couple of linker directives differently.

-Panu

Other thread about this: viewtopic.php?f=13&t=681&start=30#p11834
Info: Line In and Line Out, VS1000 User interface, Overlay howto, Latest VSIDE, MCU Howto, Youtube
Panu-Kristian Poiksalo, VLSI Solution Oy

technic
Senior User
Posts: 47
Joined: Mon 2017-11-20 10:23

Re: VS1005 Hi-Res Player (March 2017 Demo) source code

Post by technic » Tue 2018-03-13 12:54

Panu wrote:
Tue 2018-03-13 12:33
That's great! What was the trick to make it work?
The main difficulty is to find which button to press during reset. The combinations I found did not work every time. It took a long time - to get the VSprom to connect to divice.

I think the kernel is good enough for the product, so there's probably no urgent need to update it. But because we just changed how the linker works by default in the last VSIDE release (it saves a LOT of space on our small internal flash when used with the latest kernel), so I think it's easier for you to modify the code with a VSIDE version which is a few months older than now. At least until you're comfortable.

I'll try to find the time to update the hires solutions to compile with the latest tools. It involves setting a couple of linker directives differently.

-Panu
Thank you!

User avatar
Panu
VLSI Staff. Currently on holiday.
Posts: 2698
Joined: Tue 2010-06-22 13:43

Re: VS1005 Hi-Res Player (March 2017 Demo) source code

Post by Panu » Tue 2018-03-13 13:00

The main difficulty is to find which button to press during reset. The combinations I found did not work every time. It took a long time - to get the VSprom to connect to device.
Ok, makes sense. Do you remember the key combination that worked?

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

technic
Senior User
Posts: 47
Joined: Mon 2017-11-20 10:23

Re: VS1005 Hi-Res Player (March 2017 Demo) source code

Post by technic » Tue 2018-03-13 13:11

Yes, sure. The button 'volume up' ( ^ ) has worked several times, and one time button 'Next' ( > )

Post Reply