CodeWarrior Tap GDB server gives error when executing -data-evaluate-expression

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CodeWarrior Tap GDB server gives error when executing -data-evaluate-expression

1,025 Views
zwilcox
Contributor IV

I'm connected to the GDB remote server on the code warrior tap to debug the QorIQ® P1021|NXP :

I get the following error when running -data-evaluate-expression (uart)->rx_tx_dll

Failed to execute MI command:
-data-evaluate-expression (uart)->rx_tx_dll
Error message from debugger back end:
Cannot access memory at address 0xef004500

I get this in both Eclipse and GDB in the terminal.

You're help would be appreciated.

Thanks

Zach

0 Kudos
8 Replies

716 Views
zwilcox
Contributor IV

The problem also occurs when trying to manually read a memory address

:

x 0xef004500
0xef004500: Cannot access memory at address 0xef004500

0 Kudos

716 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello Zachary Wilcox,

Probably you created your CodeWarrior initialization file based on P1021RDB, please refer to the following memory map of P1021RDB, the address 0xef004500 is not defined MMU TLBs configuration at all, so this address is not accessible.

#    Memory Map
    #
    #   0x00000000  0x3FFFFFFF  DDR3                  1G
    #   0x80000000  0x9FFFFFFF  PEX1                512MB
    #   0xA0000000  0xBFFFFFFF  PEX2                512MB
    #   0xE0000000  0xE01FFFFF  CCSR                   2M
    #   0xEFA00000  0xEFA1FFFF  CPLD                 128k
    #   0xEFC00000  0xEFC1FFFF  PEX I/O             128k
    #   0xEFF00000    0xEFF0FFFF  NAND                64k
    #   0xFF000000    0xFFFFFFFF  LocalBus NOR FLASH    16M

Thanks,

Yiping

0 Kudos

716 Views
zwilcox
Contributor IV

I've replicated this problem using GDB 7.3, 7.3.1, and 8.2

0 Kudos

716 Views
zwilcox
Contributor IV

Thank you sir :smileyhappy:

0 Kudos

716 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi

What's your chip part number?

Best Regards

Jennie Zhang

0 Kudos

716 Views
zwilcox
Contributor IV

I however think this is more of a problem with the GDB server on the CodeWarrior Tap then the chip I'm using.

0 Kudos

716 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

This question was transferred to CW for DN engineer, she will answer you.

0 Kudos

716 Views
zwilcox
Contributor IV

Oh crap.  Sorry.  I'm using the P1021.  I've edited my post to include it.

0 Kudos