vs3emu problem

Using VSDSP legacy command line tools.
Post Reply
ghare
User
Posts: 1
Joined: Fri 2011-02-04 0:14

vs3emu problem

Post by ghare » Fri 2011-02-04 0:43

Hi all,

I am trying to use the command-line tool vs3emu to test code on a VS1000D. The example 'Hello World' code compiles and links but when I try to run the binary, I get the following messages. I suspect it is something to do with the "could not read memory-description" bit. I am using a sparkfun VS1000D breakout board with a 29f2g08aad memory chip (256MB). The memory device seems to be working ok, as the demo file that comes pre-loaded plays no problem.

Any help greatly appreciated, thanks.

C:\Users\George\Documents\solutions\Hello World>vs3emu -chip vs1000 -s 115200 -p
2 -l hello.bin
VSEMU 2.1 Oct 1 2008 13:34:08(c)1995-2007 VLSI Solution Oy
Could not read memory-description
Reading of memory description was not successful
Could not read memory-description
Reading of memory description was not successful
Could not read memory-description
Reading of memory description was not successful
Using serial port 2, COM speed 115200
Waiting for a connection to the board...
Caused interrupt
Chip version "1000"
Stack pointer 0x19e0, bpTable 0x7d4d
User program entry address 0x69f1
hello.bin: includes optional header, 4 sections, 435 symbols
Section 1: code page:0 start:80 size:3 relocs:1 fixed
Write to unconnected memory! Skipping this section..
Section 2: const_x page:1 start:8096 size:14 relocs:0
Write to unconnected memory! Skipping this section..
Section 3: main page:0 start:83 size:10 relocs:5
Write to unconnected memory! Skipping this section..
Section 4: VS_stdiolib page:0 start:93 size:50 relocs:13
Write to unconnected memory! Skipping this section..
> g 0x50
> e
<unconnected memory>
A2 : 0x00 A1 : 0x000a A0 : 0xffbe
B2 : 0xff B1 : 0x8a3d B0 : 0x0000
C2 : 0xff C1 : 0xfff9 C0 : 0x02e6
D2 : 0xff D1 : 0xffff D0 : 0xff4f
LR0 : 0x69ec LR1 : 0x005c MR0 : 0x0009 MR1 : 0x0009
LC : 0x0000 LS : 0x6b16 LE : 0xffff
I0 : 0x0003 I1 : 0x4883 I2 : 0x1308 I3 : 0x130a
I4 : 0x1842 I5 : 0x4367 I6 : 0x3e58 I7 : 0x1310
P : 0x000015ff7c =~ 1441660
A : 0x00000affbe =~ 720830
B : 0xffffffffffffffff =~ -1
C : 0xffffffffffffffff =~ -1
D : 0xffffffffffffffff =~ -1
PC : 0x00000000
Next Exec: 0x0000 LDC 0x0,A0

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

Re: vs3emu problem

Post by Panu » Fri 2011-02-04 8:10

Hi!

You need to run VS3EMU from the subdirectory, which has the mem_desc file.

Try something like:
C:\> cd \vskit134\vs1000bc
C:\VSKIT134\VS1000BC> path %PATH%;c:\vskit134\bin
C:\VSKIT134\VS1000BC> build hello
-Panu
Info: Line In and Line Out, VS1000 User interface, Overlay howto, Latest VSIDE, MCU Howto, Youtube
Panu-Kristian Poiksalo, VLSI Solution Oy

tangchynee
User
Posts: 2
Joined: Thu 2015-02-26 14:11

Re: vs3emu problem

Post by tangchynee » Thu 2015-02-26 14:13

The information to track a lot. Read Ee wanted to study it deeper knowledge.

Post Reply

Who is online

Users browsing this forum: No registered users