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.

find .bss labels in Memory Browser

Other Parts Discussed in Thread: MSP430G2553

Hi guys! I'm using CCS 6.1.0.00104 on W7 x64.

I'm working on a assembly project (a dozen made before), but I have an issue while using the Memory Browser.

I successfully build my project, and I can access any adress through the Memory Browser, but in onther projects I was able to write in the address field 'variable_one', and I would see the content of the memory for the address. So, I can read .bss contents not only by address, I read by label.

Here is a section of my .map:


SECTION ALLOCATION MAP

 output                                  attributes/
section   page    origin      length       input sections
--------  ----  ----------  ----------   ----------------
.bss       0    00001100    00000222     UNINITIALIZED
                  00001100    00000222     main.obj (.bss)

.text      0    00004000    00001530     
                  00004000    0000152a     main.obj (.text)
                  0000552a    00000006     rts430_eabi.lib : isr_trap.obj (.text:_isr:__TI_ISR_TRAP)

.cinit     0    00004000    00000000     UNINITIALIZED

.init_array
*          0    00004000    00000000     UNINITIALIZED

DACDMA     0    0000ffe0    00000002     
                  0000ffe0    00000002     rts430_eabi.lib : int00.obj (.int00)

PORT2      0    0000ffe2    00000002     
                  0000ffe2    00000002     rts430_eabi.lib : int01.obj (.int01)

How can I send the .bss section to the target? Thanks a lot for your help. I've done this before, but I can't debug without this.

Regards,

  • Hi,

    If I understood your question correctly, you are unable to access assembly symbols in the Memory Browser view, right? You want something similar to what is shown below:

    If so, you mentioned that certain projects shows the symbols, but others don't. Does that issue happen when you successively load code from these mix projects during the same debug session (i.e., without hitting the red Terminate button), or this happens if you restart CCS, change workspaces, etc.?

    Basically the idea is to try to see if this issue is linked to specific projects (which could be caused by the assembler version or its options) or to CCS itself.

    If you see this issue happening only with specific workspaces, I suggest you to check the sections 3 and 4 of the CCSv6 troubleshooting page.

    Hope this helps,

    Rafael

  • Hi Rafael, that's exactly what happens to me. This occurs in all the projects. I remember one year ago, with another version of CCS I got to show it, but I don't remember what I did. Maybe is some Linker flag, to add the .bss to the .map?

    Thanks a lot Rafael.

  • Hi,

    Can you try to import the attached project I created here? This was created for the MSP430G2553 Launchpad but it will help you compare all the project options and see what is different.

    Another option would be to simply create a basic assembly only project (go to menu File --> New --> CCS Project, select the template Empty Assembly-only project) and copy your original code to the new project step-by-step, so you can pinpoint the exact root cause.

    Hope this helps,

    Rafael

    MSP430G2553_Asm_pjt.zip

  • Hi Rafael thank you for the example. It can be build and applied to the MSP with no problems, but the .bss section is not visible. My project can be built and debugged in the target with no problems, the only one is access to the memory using the .bss labels. I can see they by address but it isn´t a  very productive technique. When the CSS send to the target all neede info, it lacks a memory map for the .bss section. I've solved this meoths ago, but with my new install I can't found where to configure it.

    Many thanks!