Re: Announcing New Book by Rulph Chassaing

Started by rlyq...@gmail.com October 8, 2005

I recently bought Dr. Rulph Chassaing's new book "Digital signal processing and applications with the C6713 and C6416 DSK" and a C6713 DSK from spectrum digital. I have been trying to following the examples in the book, but run into one issue.

I was able to load and run sine8_LED.out from the CD successfully. I was also able to following example 1.1 and built sine8_LED.out successfully except with a few warnings (see below). But when I tried to run this executable on the target. It got stuck at somewhere. So I set a break point at the beginning of main() function of Sine8_LED.c file, reload and run the executable. The break point was hit. I stepped through the code and found out that it was stuck at DSK6713_init() within c6713_dsk_init() function.

Could someone provides some hints to resolve this issue ? Your help is very appreciated.


- Wei -------------------------- Sine8_LED_1.pjt - Debug --------------------------
[c6713dskinit.c] "C:\C6713\C6000\cgtools\bin\cl6x" -g -s -fr"C:/C6713/MyProjects/Sine8_LED_1/Debug" -i"C:/C6713" -d"CHIP_6713" -mv6710 -@"../Sine8_LED_1/Debug.lkf" "c6713dskinit.c"

[Vectors_poll.asm] "C:\C6713\C6000\cgtools\bin\cl6x" -g -s -fr"C:/C6713/MyProjects/Sine8_LED_1/Debug" -i"C:/C6713" -d"CHIP_6713" -mv6710 -@"../Sine8_LED_1/Debug.lkf" "Vectors_poll.asm"

[Sine8_LED.c] "C:\C6713\C6000\cgtools\bin\cl6x" -g -s -fr"C:/C6713/MyProjects/Sine8_LED_1/Debug" -i"C:/C6713" -d"CHIP_6713" -mv6710 -@"Debug.lkf" "Sine8_LED.c"

[Linking...] "C:\C6713\C6000\cgtools\bin\cl6x" -@"Debug.lkf"
>> warning: creating output section .vecs without SECTIONS specification
>> warning: creating .stack section with default size of 400 (hex) words.
-stack option to change the default size.
>> warning: Detected a near (DP-relative) data access to a far
(non-.bss-relative) symbol. The 'far' qualifier is required to
access this symbol from C/C++ source. Located in
C:\C6713\MyProjects\Sine8_LED_1\Debug\c6713dskinit.obj, section
.text, SPC offset 00000058

Build Complete,
0 Errors, 3 Warnings, 0 Remarks.