This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Why I cannot load 10 numbers from .asm file to the memory?

Hello:

 

I am running a tutorial example of "loading 10 numbers from .asm file via .cmd file to the memory".

I successfully built with no error or warning. 

the following is the snapshot of my .asm file .cmd file and memory view result:

(This is CCS5.4.0 version:)

Remark: I created 10 digits as an array and store into .mydata.

 

Remark: I assigned the arrary into the address: 0x80000000h.

 

Then I try to view the memory to pinpoint my data but why the result looked like this?

I didn' see the 0 or 7 or -10 as supposed to.  But I saw tons of red digits and 00070000.  This result is different from the running result of the textbook where all ten digits were shown with corresponding address number near them.

 

Why i could not see "80000002" 80000004" 80000006"......80000012"?

And why the length of MYDATA is 00000100h which is 256? There are only ten digits.

The reason is that I didn't use CCS5.4.0 tool properly or something wrong with my code?

 

Thank you very much!

 

 

  • Yu Zhang,

    Which processor are you using?

    Why are you using CCSv5.4.0 instead of the latest CCSv6?

    Where did you find an assembly tutorial to work with?

    Why would you be using an assembly tutorial?

    Any tutorial should have some prerequisite material for you to read to understand what it is you are looking at.

    At the very least, please go through the training material that TI offers for the DSP family that you are using.

    Please give me some background on yourself and your current position. That way I can give you the best advice on where to go to get the most appropriate information for understanding programming with a DSP.

    Your code is working exactly as it is written to work. And the display is exactly as it should be.

    In your memory browser window, change the display type pull-down list from "32-bit Hex - TI Style" to "16-bit Decimal" or similar display type.

    Regards,
    RandyP

  • Hello:

     

    I would like you to recommend me some very accessible CCS and C6000 tutorials for the beginners.

     

    I searched the TI website and found many materials about C674x or C64**, but I didn't find any material about C6713 floating point.  Could you give me some links where the PPT or video tutorials of C6713 were stored.

     

    Another thing is that I am using the CCS5.4.0 on my school's PC.  They only have this v5 version.  Do you have the PPT PDF or video clips about v5 tutorial?

     

    Thank you

  • Yu Zhang,

    Yu Zhang39 said:
    I would like you to recommend me some very accessible CCS and C6000 tutorials for the beginners.

    If you are a university student, you should be following the course syllabus provided. That will be the most effective way to stay on track and learn the components of programming that are important for your course and your education.

    You should start by searching this forum for "c6713 training" (no quotes). You will find several places where I have given instructions on finding similar materials. Others have also offered their advice on training. There are many, many answers to questions on the E2E forum, requiring only your searches to find them.

    Yu Zhang39 said:
    I searched the TI website and found many materials about C674x or C64**, but I didn't find any material about C6713 floating point.  Could you give me some links where the PPT or video tutorials of C6713 were stored.

    The C6713 has been produced for many years and is not the newest or most powerful DSP. Our latest material for teaching is based on the C674x DSP core, so any C6713-based material would be archived at the sites that your searches above will find for you.

    Yu Zhang39 said:
    Another thing is that I am using the CCS5.4.0 on my school's PC.  They only have this v5 version.  Do you have the PPT PDF or video clips about v5 tutorial?

    CCSv5 has very good tutorials built into it. Open CCSv5, go to the Help menu, and search for tutorials. There is a lot of material and you can decide what to study.

    This thread started with a question about a tutorial you were working from, but you seem to have dropped all mention of that. We taught DSPs from the assembly point-of-view 10-15 years ago, but now only teach from the C point-of-view. This is a more productive path to reach the completion of a project. If your coursework has you going a different direction, then you will want to consult with your instructors to understand the path they wish you to follow for your education.

    Regards,
    RandyP