Symphony Studio Install problems

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Symphony Studio Install problems

5,872 次查看
Csaba
Contributor I
Hi everybody,

I just received my Freescale Symphony Soundbite v1.0 board couple of days ago. I got familiar with the switches, leds and jumpers (I hope).
Everything is set to factory default. Yesterday all the leds were blinking and by changing the status on SW1 I was able to disable or enable the corresponding leds.
I have to say that I had trouble installing Symphony Studio 1.0.0 cause bitDefender was giving me a " false positive" on the CDM 2.02.04.exe. I reported that to bitDefender!
After changing to Kaspersky install was possible but my problem is that I can't even make a proper build. And I want to figure out if this problem is me not having the knowldege or a bad FTDI 2232 chip.

I get the following error message when I try communicating with my Soundbite board.
Code:
Info:    openocd.c:82 main(): Open On-Chip Debugger ps001 (2007-10-19 18:00 CEST)Error:   ft2232.c:1065 ft2232_init(): unable to open ftdi device: 2Error:   ft2232.c:1080 ft2232_init(): ListDevices: 2Error:   ft2232.c:1082 ft2232_init(): 0: Symphony SoundBite BError:   ft2232.c:1082 ft2232_init(): 1: ( >

 
also I have a lot of errors in my build of the original demo application. That I was gonna download to the dsp to check it's functionality .
Code:
**** Build of configuration Debug for project SoundBite_demo_app ****make pre-build main-build make cleanmake[1]: Entering directory `C:/Documents and Settings/Csaba/workspace/SoundBite_demo_app/Debug'rm -f  ./boardtest.cln ./process_samples-fig56.cln ./process_samples-fig58.cln ./process_samples-nco-frac.cln ./process_samples-nco-int.cln ./sb_codecs.cln ./sb_eeprogram.cln ./sb_isr_esais.cln ./sb_leds.cln ./sb_switches.cln  board_test.cld make[1]: Leaving directory `C:/Documents and Settings/Csaba/workspace/SoundBite_demo_app/Debug' Building file: ../boardtest.asmInvoking: 56K ASM Assemblerasm56300 -G -I% -L% -B"boardtest.cln" "../boardtest.asm"Freescale Semiconductor DSP56300 Assembler  Version 6.3.28 Copyright Freescale Semiconductor, Inc. 2005.  All rights reserved.Finished building: ../boardtest.asm Building file: ../process_samples-fig56.asmInvoking: 56K ASM Assemblerasm56300 -G -I% -L% -B"process_samples-fig56.cln" "../process_samples-fig56.asm"Freescale Semiconductor DSP56300 Assembler  Version 6.3.28 **** 1330 [../process_samples-fig56.asm 119]: WARNING --- Expression value outside fractional domain (X data move field)Copyright Freescale Semiconductor, Inc. 2005.  All rights reserved.**** 1343 [../process_samples-fig56.asm 132]: WARNING --- Immediate value too large to use short - long substituted (X data move field)**** 1345 [../process_samples-fig56.asm 134]: WARNING --- Immediate value too large to use short - long substituted (X data move field)**** 1347 [../process_samples-fig56.asm 136]: WARNING --- Immediate value too large to use short - long substituted (X data move field)**** 1349 [../process_samples-fig56.asm 138]: WARNING --- Immediate value too large to use short - long substituted (X data move field)**** 1351 [../process_samples-fig56.asm 140]: WARNING --- Immediate value too large to use short - long substituted (X data move field)**** 1353 [../process_samples-fig56.asm 142]: WARNING --- Immediate value too large to use short - long substituted (X data move field)**** 1355 [../process_samples-fig56.asm 144]: WARNING --- Immediate value too large to use short - long substituted (X data move field)**** 1357 [../process_samples-fig56.asm 146]: WARNING --- Immediate value too large to use short - long substituted (X data move field)**** 1422 [../process_samples-fig56.asm 211]: WARNING --- Pipeline stall reading register A written in previous instruction (X data move field)**** 1422 [../process_samples-fig56.asm 211]: WARNING --- Pipeline stall reading register written in previous instruction (X data move field)**** 1422 [../process_samples-fig56.asm 211]: WARNING --- Pipeline stall reading register written in previous instruction (Y data move field)**** 1425 [../process_samples-fig56.asm 214]: WARNING --- Pipeline stall reading register A written in previous instruction (X data move field)**** 1425 [../process_samples-fig56.asm 214]: WARNING --- Pipeline stall reading register written in previous instruction (X data move field)**** 1431 [../process_samples-fig56.asm 220]: WARNING --- Pipeline stall reading register A written in previous instruction (X data move field)**** 1431 [../process_samples-fig56.asm 220]: WARNING --- Pipeline stall reading register written in previous instruction (X data move field)**** 1431 [../process_samples-fig56.asm 220]: WARNING --- Pipeline stall reading register written in previous instruction (Y data move field)**** 1434 [../process_samples-fig56.asm 223]: WARNING --- Pipeline stall reading register A written in previous instruction (X data move field)**** 1434 [../process_samples-fig56.asm 223]: WARNING --- Pipeline stall reading register written in previous instruction (X data move field)**** 1440 [../process_samples-fig56.asm 229]: WARNING --- Pipeline stall reading register A written in previous instruction (X data move field)**** 1440 [../process_samples-fig56.asm 229]: WARNING --- Pipeline stall reading register written in previous instruction (X data move field)**** 1440 [../process_samples-fig56.asm 229]: WARNING --- Pipeline stall reading register written in previous instruction (Y data move field)**** 1443 [../process_samples-fig56.asm 232]: WARNING --- Pipeline stall reading register A written in previous instruction (X data move field)**** 1443 [../process_samples-fig56.asm 232]: WARNING --- Pipeline stall reading register written in previous instruction (X data move field)**** 1449 [../process_samples-fig56.asm 238]: WARNING --- Pipeline stall reading register A written in previous instruction (X data move field)**** 1449 [../process_samples-fig56.asm 238]: WARNING --- Pipeline stall reading register written in previous instruction (X data move field)**** 1449 [../process_samples-fig56.asm 238]: WARNING --- Pipeline stall reading register written in previous instruction (Y data move field)**** 1452 [../process_samples-fig56.asm 241]: WARNING --- Pipeline stall reading register A written in previous instruction (X data move field)**** 1452 [../process_samples-fig56.asm 241]: WARNING --- Pipeline stall reading register written in previous instruction (X data move field)Finished building: ../process_samples-fig56.asm Building file: ../process_samples-fig58.asmInvoking: 56K ASM Assemblerasm56300 -G -I% -L% -B"process_samples-fig58.cln" "../process_samples-fig58.asm"Freescale Semiconductor DSP56300 Assembler  Version 6.3.28 Copyright Freescale Semiconductor, Inc. 2005.  All rights reserved.Finished building: ../process_samples-fig58.asm Building file: ../process_samples-nco-frac.asmInvoking: 56K ASM Assemblerasm56300 -G -I% -L% -B"process_samples-nco-frac.cln" "../process_samples-nco-frac.asm"Freescale Semiconductor DSP56300 Assembler  Version 6.3.28 Copyright Freescale Semiconductor, Inc. 2005.  All rights reserved.Finished building: ../process_samples-nco-frac.asm Building file: ../process_samples-nco-int.asmInvoking: 56K ASM Assemblerasm56300 -G -I% -L% -B"process_samples-nco-int.cln" "../process_samples-nco-int.asm"Freescale Semiconductor DSP56300 Assembler  Version 6.3.28 Copyright Freescale Semiconductor, Inc. 2005.  All rights reserved.Finished building: ../process_samples-nco-int.asm Building file: ../sb_codecs.asmInvoking: 56K ASM Assemblerasm56300 -G -I% -L% -B"sb_codecs.cln" "../sb_codecs.asm"Freescale Semiconductor DSP56300 Assembler  Version 6.3.28 Copyright Freescale Semiconductor, Inc. 2005.  All rights reserved.Finished building: ../sb_codecs.asm Building file: ../sb_eeprogram.asmInvoking: 56K ASM Assemblerasm56300 -G -I% -L% -B"sb_eeprogram.cln" "../sb_eeprogram.asm"Freescale Semiconductor DSP56300 Assembler  Version 6.3.28 **** 1389 [../sb_eeprogram.asm 204]: WARNING --- Pipeline stall reading register written in previous instruction (X data move field)**** 1417 [../sb_eeprogram.asm 232]: WARNING --- Pipeline stall reading register written in previous instruction (X data move field)Copyright Freescale Semiconductor, Inc. 2005.  All rights reserved.**** 1421 [../sb_eeprogram.asm 236]: WARNING --- Pipeline stall reading register written in previous instruction (X data move field)**** 1494 [../sb_eeprogram.asm 307]: WARNING --- Pipeline stall reading register written in previous instruction (X data move field)**** 1498 [../sb_eeprogram.asm 311]: WARNING --- Pipeline stall reading register written in previous instruction (X data move field)Finished building: ../sb_eeprogram.asm Building file: ../sb_isr_esais.asmInvoking: 56K ASM Assemblerasm56300 -G -I% -L% -B"sb_isr_esais.cln" "../sb_isr_esais.asm"**** 1251 [../sb_isr_esais.asm 68]: WARNING --- Runtime origin involves incompatible memory spaces (Operand field)Freescale Semiconductor DSP56300 Assembler  Version 6.3.28 Copyright Freescale Semiconductor, Inc. 2005.  All rights reserved.Finished building: ../sb_isr_esais.asm Building file: ../sb_leds.asmInvoking: 56K ASM Assemblerasm56300 -G -I% -L% -B"sb_leds.cln" "../sb_leds.asm"Freescale Semiconductor DSP56300 Assembler  Version 6.3.28 Copyright Freescale Semiconductor, Inc. 2005.  All rights reserved.Finished building: ../sb_leds.asm Building file: ../sb_switches.asmInvoking: 56K ASM Assemblerasm56300 -G -I% -L% -B"sb_switches.cln" "../sb_switches.asm"Freescale Semiconductor DSP56300 Assembler  Version 6.3.28 Copyright Freescale Semiconductor, Inc. 2005.  All rights reserved.Finished building: ../sb_switches.asm Building target: board_test.cldInvoking: 56K ASM Linkerdsplnk -G -Mmapfile.txt -R..\sb_boardtest_lnk.ctl -B"board_test.cld"  ./boardtest.cln ./process_samples-fig56.cln ./process_samples-fig58.cln ./process_samples-nco-frac.cln ./process_samples-nco-int.cln ./sb_codecs.cln ./sb_eeprogram.cln ./sb_isr_esais.cln ./sb_leds.cln ./sb_switches.cln  dsplnk: Cannot open memory control file: ..sb_boardtest_lnk.ctlDSP Linker  Version 6.3.30 (C) Copyright Freescale Semiconductor, Inc. 2005.  All rights reserved.make: *** [board_test.cld] Error -1Build complete for project SoundBite_demo_app

 

I hope some knowledgable person can help to tell me if I am making some errors or simply my board is failing and bad.

Thanks a lot

Csaba






0 项奖励
回复
16 回复数

2,447 次查看
carrejans
Contributor I
After trying to solve this problem all day, I installed the 1.1.0 version of Symphony Studio.
Now there are the pull-down menus; but still an error.

Code:
Error:   jtag.c:1156 jtag_validate_chain(): Error validating JTAG scan chain, IR mismatch, scan returned 0x3f

 
I'm really getting desparate. Sitting all day and evening at my computer, trying to solve one error. :smileymad:

Can anyone help me with solving this problem?

- Will Vista be the problem?
- I installed latest version of the CDM driver
- ....
0 项奖励
回复

2,447 次查看
carrejans
Contributor I
I have also the same problem.
I follow the guidelines:

Code:
16. Switch to the Debug perspective by clicking on the Debug button at the top right hand side of thewindow.17. Create the external tool for making the hardware connection to the Symphony SoundBite boardby using the menu Run > External Tools > External Tools…18. In the dialog box that comes up, on the left select OpenOCD GDB Server and then click the newbutton (the page icon with the yellow “+”).19. Under OpenOCD Configuration File, choose 56371 in the Device pull down menu and choosesoundbite in the Dongle pull down menu.20. Click Run.

 - First of all; there are no pull down menus like mentioned in point 19. But I chose for my
location: C:\Symphony-Studio\dsp56720-devtools\dist\openocd\bin\openocd.exe
working directory: C:\Symphony-Studio\dsp56720-devtools\dist\openocd\bin
OpenOCD Configuration File: C:\Symphony-Studio\dsp56720-devtools\dist\openocd\bin\configs\56371_soundbite.cfg

The I get this error:

Code:
Info:    openocd.c:82 main(): Open On-Chip Debugger ps001 (2007-10-19 18:00 CEST)Error:   ft2232.c:1065 ft2232_init(): unable to open ftdi device: 2Error:   ft2232.c:1080 ft2232_init(): ListDevices: 2Error:   ft2232.c:1082 ft2232_init(): 0: Symphony SoundBite BError:   ft2232.c:1082 ft2232_init(): 1: Ä

 
Can anyone please help me?
Thank you!


0 项奖励
回复

2,447 次查看
sonic
Contributor I
For this error:
 
Info:    openocd.c:82 main(): Open On-Chip Debugger ps001 (2007-10-19 18:00 CEST)Error:   ft2232.c:1065 ft2232_init(): unable to open ftdi device: 2Error:   ft2232.c:1080 ft2232_init(): ListDevices: 2Error:   ft2232.c:1082 ft2232_init(): 0: Symphony SoundBite BError:   ft2232.c:1082 ft2232_init(): 1: Ä
check my post ealier, No.9 of this thread. I got rid of this errot that way.
0 项奖励
回复

2,447 次查看
carrejans
Contributor I
It seems that openocd tries to open a second device.
That's why I think that maybe something is wrong in the configuration file.

Code:
#daemon configurationtelnet_port 23gdb_port 9998#interfaceinterface ft2232ft2232_device_desc "Symphony Soundbite A"ft2232_layout "soundbite"ft2232_vid_pid 0x0403 0x6010jtag_speed 2 # was 2#use combined on interfaces or targets that can't set TRST/SRST separatelyreset_config trst_and_srst#jtag scan chain#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)jtag_device 4 0x1 0x3 0x2#target configurationdaemon_startup reset#target <type> <startup mode>target dsp56374 big run_and_halt 0

 

0 项奖励
回复

2,447 次查看
Csaba
Contributor I
Hi Carrejeans,

I think this is a wrong DSP that you are using :

target dsp56374 big run_and_halt 0

should be dsp56371

Csaba

0 项奖励
回复

2,447 次查看
carrejans
Contributor I
Thank you for your reply. But I tried everything from this thread; but nothing helped.
The core was "0" by default. So that's not the problem.
0 项奖励
回复

2,447 次查看
schi
Contributor I
Hello Csaba,
 
regarding the communication error:
I guess you also use some other tools to access your SoundBite, e.g. the AVR GUI demo.
When I use the Symphony Studio only on a freshly powered-up SoundBite, everything works fine.
When I first use the AVR GUI demo and then want to access the SoundBite through the Symphony Studio debugger,
I get exactly the same error.
 
I guess that the problem is caused by the different access modes - the AVR GUI uses SPI and configures the FT2232
to communicate to the SPI port while the debugger uses JTAG / OnCE. Both parts of the software seem to be incompatible
and not to be usable in parallel.
 
If anybody out there has a solution for this, I would be happy to learn about it!
 
 
regarding the assembly warnings and errors:
You need not worry about the warnings although I would recommend to write your own code in a warning-free manner.
 
The final error is from the linker. The reason is the path separator. The eclipse project set-up supplied by Freescale
includes single backslash "\ " path separators in the build configuration. These separators get deleted as you can see
at the last line of your output (the issue marked in red):
 
dsplnk -G -Mmapfile.txt -R..\sb_boardtest_lnk.ctl -B"board_test.cld"  ./boardtest.cln ./process_samples-fig56.cln ./process_samples-fig58.cln ./process_samples-nco-frac.cln ./process_samples-nco-int.cln ./sb_codecs.cln ./sb_eeprogram.cln ./sb_isr_esais.cln ./sb_leds.cln ./sb_switches.cln 

dsplnk: Cannot open memory control file: ..sb_boardtest_lnk.ctl

 
To avoid this, use Unix-style path separators "/". Perhaps, double-backslash might also work "\\", but I did not test that.
I think you have to edit this manually and probably have to do so also for future projects...
 
Hope it helps
 
schi
 


Message Edited by schi on 2008-07-30 12:56 PM
0 项奖励
回复

2,447 次查看
Csaba
Contributor I
Hi Schi,

Thanks a lot for your message. I will edit the backslashes to slashes the way you suggested it. That is for the build / warnings.
But all though I can succesfully run AVR GUI to test my board(SPI con. seems to work good). I am not able to communicate with the JTAG/ OnCE connection even if If Reset or disconnect and reconect my board.
Now I would get errors like :

Code:
Info:    openocd.c:82 main(): Open On-Chip Debugger ps001 (2007-10-19 18:00 CEST)Error:   jtag.c:1156 jtag_validate_chain(): Error validating JTAG scan chain, IR mismatch, scan returned 0x3f

 


Let me ask you this . In your debug window do you have this selected :

GBD Debugger:
C:\Symphony-Studio\dsp56720-devtools\dist\openocd\bin\openocd.exe

GDB Command file:
C:\Symphony-Studio\dsp56720-devtools\dist\openocd\bin\FTD2XX.dll


Also I was being updated from Symphony Studio 1.1.0 to Eclipse Platform 3.2.0. I hope that don't matter . Cause minor parts are different. As described in the older  pdfs that are on the net.

Again, thank you for your help

Csaba
0 项奖励
回复

2,447 次查看
schi
Contributor I
Hello Csaba,
 
please try to start the openocd application a second time. The first time after power up / reset of the SoundBite, there are sometimes (not always:-) these errors. Should go away with a second try (at least it always did for me...).
 
I think this is mentioned somewhere in the docs, so it is definitely a known issue for Freescale.
 
openocd and ftd2XX.dll should be fine.
 
I am just wondering about your Symphony Studio release number. Is 1.1.0 really available? I have 1.0.0. and my installation is not that old, but probably I missed the new release. I did not change anything regarding the Eclipse platform or installation by now, but would probably like to do so later. The Freescale documentation says that there were some adaptations or modifications for the Symphony Studio release, so I am not really sure how well modifying the eclipse part (including updating or adding plug-ins) would work. I would be highly interested in integrating a svn plug-in instead of cvs and perhaps some additional TeX plug-in to ease documentation work. If you would have any experience or hints, I would be happy to hear about.
 
Regards,
 
schi 
0 项奖励
回复

2,447 次查看
Csaba
Contributor I
Hi Schi,

I did try it two times .. even more . Tried double clicking and another launch window appears for a split second.
It looks like my JTAG/OnCE connection is somewhere bad. Are your SW2 setting default like 110110 (MODE 9)? Also I noticed in Preferences/Tool Config I had 56734_usb.cfg... i changed it to 56731_soundbite.cfg. Not that it mattered . Still had the unable to open ftdi device:2 error message. And I did downgrade to Symphony Studio 1.0.0 just to see if that works, but it didn't.
I have put in a request for replacing my board with Freescale as I can't even load the factory demo batch files .
They sent me a confirmation that it is on the way.
I even measured out suspect traces and solder joints but they seemed fine.So... I'll wait.

Thank you Schi for your concern and help. I 'll notify you when things are finally working .

Csaba
0 项奖励
回复

2,447 次查看
sonic
Contributor I
I am having the same problem.
 
I got these message when I tried to run the demo app,
Info:    openocd.c:82 main(): Open On-Chip Debugger ps001 (2007-10-19 18:00 CEST)Error:   ft2232.c:1065 ft2232_init(): unable to open ftdi device: 2Error:   ft2232.c:1080 ft2232_init(): ListDevices: 2Error:   ft2232.c:1082 ft2232_init(): 0: Symphony SoundBite BError:   ft2232.c:1082 ft2232_init(): 1: ( >
I also updated the driver of the ftdi device, but got the same results.
0 项奖励
回复

2,447 次查看
Csaba
Contributor I
The Soundbite has only one core. And some of the examples are written for the dual core DSPs.
0 项奖励
回复

2,447 次查看
sonic
Contributor I
Thanks, Csaba.
 
I've tried  a demo app and also the assmeble template provided for Soundbite. I suppose these two samples should have the correct settings for 56371.
 
If duo core is problem, how can I cofigure the code to single core?
 
 
0 项奖励
回复

2,447 次查看
sonic
Contributor I
I found where I did wrong.
In the Debug settings, the core index should be set to '0'. The default is '1' and I got those error message.
 
0 项奖励
回复

2,447 次查看
Csaba
Contributor I
Yes Sonic,

The first core is "core0" since "core1" is reserved for the second core in dual core DSP's. Out of curiosity what program/demo are you working with ?
What version of Symphony Studio ?



Csaba
0 项奖励
回复

2,447 次查看
sonic
Contributor I
Hi, Csaba,
 
FYI, I downloaded the sample apps here,
 
The first one is the 'SOUNDBITE_ASSY_TMPL', the second one is a demo contained in 'PRODTEST_DEMOAPPSRC'.
 
 
 
0 项奖励
回复