Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

L138: CCS Debug: cannot edit or load data into 128k "Shared RAM" via PRU_0

$
0
0

Please can someone tell me if I have missed something?

Kind regards

Tony

Code Composer Studio Version: 6.0.1.00040, LOGICPD ZOOM L138 board, XDS560v2 USB emulator:

Launch OMAPL138.ccxml (a very simple configuration)

PRU_0 "Connect Target" -> (C674X_0 and PRU_0 change to "Suspended")

C674X_0: Memory at 0x80000000 editable

PRU_0: Data_Memory at 0x80000000 all zero and not editable

Note: can edit PRU_0 program and data memory at address 0x0

My PRU code with the linker file below fails to load because CCS cannot write to the Shared RAM at 0x80000000.

MEMORY
{
PAGE 0:
P_MEM : org = 0x00000008 len = 0x00000FF8

PAGE 1:
NEAR_MEM : org = 0x00000008 len = 0x000001F8
FAR_MEM : org = 0x80000000 len = 0x00000400
}

/* SPECIFY THE SECTIONS ALLOCATION INTO MEMORY */

SECTIONS
{
.bss : {} > NEAR_MEM, PAGE 1
.data : {} > NEAR_MEM, PAGE 1 palign=2
.rodata : {} > NEAR_MEM, PAGE 1

.farbss : {} > FAR_MEM, PAGE 1
.fardata : {} > FAR_MEM, PAGE 1
.rofardata : {} > FAR_MEM, PAGE 1

.sysmem : {} > NEAR_MEM, PAGE 1
.stack : {} > NEAR_MEM, PAGE 1
.init_array : {} > NEAR_MEM, PAGE 1
.cinit : {} > NEAR_MEM, PAGE 1

.args : {} > NEAR_MEM, PAGE 1

.text : {} > P_MEM, PAGE 0
}


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>