11.07.2015 Views

VS1053 USB Hi-Fi Player - VLSI Solution

VS1053 USB Hi-Fi Player - VLSI Solution

VS1053 USB Hi-Fi Player - VLSI Solution

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>VS1053</strong> <strong>USB</strong> <strong>Hi</strong>-<strong>Fi</strong> <strong>Player</strong>VSMPGPkP3. FIRMWARE UPDATEWhen the update is successful, you see the following output:c:\vskit134\vs1053usb> prom24 boot1053b.imgVSEMU 2.1 Oct 1 2008 13:34:08(c)1995-2007 <strong>VLSI</strong> <strong>Solution</strong> OyUsing serial port 1, COM speed 9600Waiting for a connection to the board...Chip version "1053"Stack pointer 0x1920, bpTable 0x4f56User program entry address 0x50Speed changed to 38400prom24.bin: includes optional header, 22 sections, 760 symbolsSection 1: abs_x page:1 start:6272 size:192 relocs:0 fixed...other sections...Section 22: VS_stdiolib0 page:0 start:993 size:134 relocs:37Erasing Boot Block...fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff(should be ffff)... Done. Programming................................<strong>Fi</strong>nished!!A2 : 0x10 A1 : 0x1010 A0 : 0x1010...other register dump values...PC : 0x00000000Next Exec: 0x0000 LDC 0x0,A03.3 Modifying the <strong>Fi</strong>rmwareThe default firmware of the player is provided as “C” language files. The main code ofthe application is in file standalone.c. Other files provide support functions. Some ofthe functions are written in assembly language for speed and size optimization.The decoders for MP3, WMA, AAC, WAV, IMA, Ogg Vorbis and MIDI are in the chipROM. Source code for the decoders is NOT available. They can be called only.3.3.1 Modifying the Key FunctionsThe key functionality is located in file standalone.c. <strong>Fi</strong>rst part of function UserHookreads the GPIO pins and sets variable ui.Data.Second part of the function examines the current key state ui.Data and the previousRev. 1.0 2009-11-05 Page 8(9)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!