how to creat using assemblly program's solution/project

Installing and using VSIDE tools for VLSI Solution's devices that contain a VSDSP signal processor.
franky_kin
User
Posts: 10
Joined: Thu 2015-11-26 4:26

how to creat using assemblly program's solution/project

Post by franky_kin » Thu 2015-11-26 4:35

hi, i have buyed a vs1063a dsp development kit,i want to use assembly program,but i can not creat the solution/project.how can i do it?

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

Re: how to creat using assemblly program's solution/project

Post by Panu » Thu 2015-11-26 12:14

Hi!
Here's the clicks you need:

* Open VSIDE
* New -> Project/Solution
* Create new solution based on template
VS1063 Solution
* Next
VS10X3 StereoFIR
* OK

This will open a FIR filter example with C and ASM functions. See how it works and modify the C and asm parts as you want. Probably you want to make some DSP code in asm and some control code in C. You can also take a look at the other solution templates.

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

franky_kin
User
Posts: 10
Joined: Thu 2015-11-26 4:26

Re: how to creat using assemblly program's solution/project

Post by franky_kin » Fri 2015-11-27 4:22

thank you very much.but if i want to using all assembly program,how to do it?

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

Re: how to creat using assemblly program's solution/project

Post by Panu » Fri 2015-11-27 5:58

thank you very much.but if i want to using all assembly program,how to do it?
Write and export _main in an assembler file and remove all the c files.
Info: Line In and Line Out, VS1000 User interface, Overlay howto, Latest VSIDE, MCU Howto, Youtube
Panu-Kristian Poiksalo, VLSI Solution Oy

franky_kin
User
Posts: 10
Joined: Thu 2015-11-26 4:26

Re: how to creat using assemblly program's solution/project

Post by franky_kin » Mon 2015-12-07 10:08

thank you very much

franky_kin
User
Posts: 10
Joined: Thu 2015-11-26 4:26

Re: how to creat using assemblly program's solution/project

Post by franky_kin » Mon 2015-12-07 10:13

but,i have a another question:i want to using two serial port,how can i do it?than you

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

Re: how to creat using assemblly program's solution/project

Post by Henrik » Tue 2015-12-08 9:47

franky_kin wrote:but,i have a another question:i want to using two serial port,how can i do it?than you
For how the hardware of VS1063 works, please refer to the VS1063a Hardware Guide, available on the top right link of
http://www.vlsi.fi/en/products/vs1063.html . See Chapter 7.7, Universal Asynchronous Receiver/Transmitter (UART). At the same page there is also a link to the VS1063a Programmer's Guide.

Kind regards,
- Henrik
Good signatures never die. They just fade away.

franky_kin
User
Posts: 10
Joined: Thu 2015-11-26 4:26

Re: how to creat using assemblly program's solution/project

Post by franky_kin » Tue 2015-12-15 9:48

thank you very much,i want to know can i use the ROM(e.g X-MEM 0x4000~0xbfff)?thank you!

franky_kin
User
Posts: 10
Joined: Thu 2015-11-26 4:26

Re: how to creat using assemblly program's solution/project

Post by franky_kin » Tue 2015-12-15 9:53

hi,i have a new question,when i add my program in ASM.S,it is succeed,but when i write my program in assembly and save main.s,build it ,
it display:error syntax err
near .end ***err***



why?
Last edited by franky_kin on Sat 2016-12-24 4:12, edited 1 time in total.

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

Re: how to creat using assemblly program's solution/project

Post by Panu » Tue 2015-12-15 14:18

ROMs are read only. (They are ROM, not flash).

Code can be loaded to IRAM. Data can be loaded to XRAM or YRAM.

-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