Strange behaviour during USB test - chip looks to be damaged

Designing hardware and software for systems that use the VS1010 MP3 Audio DSP Microcontroller.
Post Reply
Arek
Senior User
Posts: 100
Joined: Thu 2016-09-01 10:58

Strange behaviour during USB test - chip looks to be damaged

Post by Arek » Wed 2019-05-29 13:45

Hi,

during usb tests with VS1010D (FW in SPI, sound files in SD) monitored with Termite i get following message:

X:0 Corrupt (00fa) at 00e3, was still ok at 00dc, lr0=80f7.


From start it looks:
C#0d1fcd
VS1010D VSOS 4.20
Files:6. Buffers:3.
Runlevel 7
SPIF:c214, 2048K

SD:120 MiB
SpiCacheDrv v7
S: SPI Flash c214


Reset virtual memory
BootFromX(BOOT.X)
Loaded 830 bytes.

X:0 Corrupt (00fa) at 00e3, was still ok at 00dc, lr0=80f7.


instead of typical start:
C#0d1fcd
VS1010D VSOS 4.20
Files:6. Buffers:3.
Runlevel 7
SPIF:c214, 2048K

SD:120 MiB
SpiCacheDrv v7
S: SPI Flash c214


Reset virtual memory
BootFromX(BOOT.X)
Loaded 830 bytes.
AMP3 V100_021
N= 21071
Relocked (3008)



now, VS1010D make something others:
C#0d1fcd
VS1010D VSOS 4.20
Files:6. Buffers:3.
Runlevel 7
SPIF:c214, 2048K

SD:120 MiB
SpiCacheDrv v7
S: SPI Flash c214


Reset virtual memory
BootFromX(BOOT.X)
Loaded 746 bytes.
VLoad Ok.


Thinking about problems with SPI memory I "prommed" it again:
VS1010>d:sys\promx.dlx
d:sys\promx.dlx
Starting VS1010C external SPI Flash prommer v2014-01-14...
Serial Flash RDID: manufacturer c2, type 20, density 15
Serial Flash REMS: c214

Opened map file "s:external.map"
Programming file "s:eeprom.img" to address 0x000000 (0)
Erase 4 KiB sector 0 ( 0 - 4 KiB), ok. Writing data .
Ok
Programming file "s:sys/vr1.i" to address 0x010000 (65536)
Erase 4 KiB sector 16 ( 64 - 68 KiB), ok. Writing data .
Erase 4 KiB sector 17 ( 68 - 72 KiB), ok. Writing data .
Erase 4 KiB sector 18 ( 72 - 76 KiB), ok. Writing data .
Erase 4 KiB sector 19 ( 76 - 80 KiB), ok. Writing data .
Erase 4 KiB sector 20 ( 80 - 84 KiB), ok. Writing data .
Erase 4 KiB sector 21 ( 84 - 88 KiB), ok. Writing data .
Erase 4 KiB sector 22 ( 88 - 92 KiB), ok. Writing data .
Erase 4 KiB sector 23 ( 92 - 96 KiB), ok. Writing data .
Erase 4 KiB sector 24 ( 96 - 100 KiB), ok. Writing data .
Erase 4 KiB sector 25 ( 100 - 104 KiB), ok. Writing data .
Erase 4 KiB sector 26 ( 104 - 108 KiB), ok. Writing data .
Ok
Programming file "s:sys/vr2.i" to address 0x020000 (131072)
Erase 4 KiB sector 32 ( 128 - 132 KiB), ok. Writing data .
Erase 4 KiB sector 33 ( 132 - 136 KiB), ok. Writing data .
Erase 4 KiB sector 34 ( 136 - 140 KiB), ok. Writing data .
Erase 4 KiB sector 35 ( 140 - 144 KiB), ok. Writing data .
Erase 4 KiB sector 36 ( 144 - 148 KiB), ok. Writing data .
Erase 4 KiB sector 37 ( 148 - 152 KiB), ok. Writing data .
Erase 4 KiB sector 38 ( 152 - 156 KiB), ok. Writing data .
Ok
Programming file "s:sys/vr3.i" to address 0x030000 (196608)
Erase 4 KiB sector 48 ( 192 - 196 KiB), ok. Writing data .
Erase 4 KiB sector 49 ( 196 - 200 KiB), ok. Writing data .
Erase 4 KiB sector 50 ( 200 - 204 KiB), ok. Writing data .
Erase 4 KiB sector 51 ( 204 - 208 KiB), ok. Writing data .
Erase 4 KiB sector 52 ( 208 - 212 KiB), ok. Writing data .
Erase 4 KiB sector 53 ( 212 - 216 KiB), ok. Writing data .
Erase 4 KiB sector 54 ( 216 - 220 KiB), ok. Writing data .
Erase 4 KiB sector 55 ( 220 - 224 KiB), ok. Writing data .
Erase 4 KiB sector 56 ( 224 - 228 KiB), ok. Writing data .
Erase 4 KiB sector 57 ( 228 - 232 KiB), ok. Writing data .
Ok
Map file "s:external.map" closed
Finished, rebooting. (Press Close/Cancel on VSIDE)
C#0d1fcd
VS1010D VSOS 4.20
Files:6. Buffers:3.
Runlevel 7
SPIF:c214, 2048K

SD:120 MiB
SpiCacheDrv v7

but my programm do want to start again:
(loaded again 746 bytes and not 830 bytes as earlier)
VS1010D VSOS 4.20
Files:6. Buffers:3.
Runlevel 7
SPIF:c214, 2048K

SD:120 MiB
SpiCacheDrv v7
S: SPI Flash c214


Reset virtual memory
BootFromX(BOOT.X)
Loaded 746 bytes.
VLoad Ok.
S1010>

Problem looks to be serious, simply "dir s:" delivered error and restart:
S1010>dir s:
dir s:
E'Out of buffers!'

C#0d1fcd
VS1010D VSOS 4.20
Files:6. Buffers:3.
Runlevel 7
SPIF:c214, 2048K

SD:120 MiB
SpiCacheDrv v7
S: SPI Flash c214


Any idea what happens?


Thanks and best regards
am

Arek
Senior User
Posts: 100
Joined: Thu 2016-09-01 10:58

Re: Strange behaviour during USB test - chip looks to be damaged

Post by Arek » Wed 2019-05-29 15:15

PS.
it happened after copying of files to SPI memory.

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

Re: Strange behaviour during USB test - chip looks to be damaged

Post by Panu » Wed 2019-05-29 22:26

It looks like your SD card is corrupted, format it again and copy all your software to it and try again, run all your firmware from the SD card instead of the SPI flash and see how it works.

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

Post Reply