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.

CCS/AM3359: Trouble Writing Memory Block at 0x0 on Page 0 of Length 0x7ff0: (Error -1065 @ 0x3D5A) in debug mode

Part Number: AM3359

Tool/software: Code Composer Studio

Hello Community,

I am trying to integrate PRU firmware with my CCS project. For that I have added the Binary file path in the project linker section and in library linker I have added the command file.

Now, the project is successfully compiling.

But, when I am getting below error while I try to load the binary in the debug mode.

"Trouble Writing Memory Block at 0x0 on Page 0 of Length 0x7ff0: (Error -1065 @ 0x3D5A) Unable to access device memory. Verify that the memory address is in valid memory. If error persists, confirm configuration, power-cycle board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 8.3.0.00003) "


Please let me know if I am missing something.

Regard,

Hiren Bhuva

  • Hiren,

    I am looking at the program memory page (page 0) of the PRU0 core of the AM335x device and I only see a size of 0x2000. From the message above it seems you are trying to load a program of size 0x7ff0

    Hope this helps,

    Rafael

  • Hi Rafael,

    Thanks for reply,

    I am not trying to load the program in the PRU0 core. I am trying to load in cortexA8 core. But, I have linked the PRU-Dual mac firmware with the application.

    Actually I want to test my application written in cortexA8 core which is using using PRU Dual-Mac firmware reference. So, I have linked the firmware in the Project in the Linker section of the project properties.

    So, at that time I am facing this error.

    Please Let me know if that is the right way to link the PRU firmware with the cortexA8 firmware code to test the cortexA8 firmware.

    Thanks,

    Hiren

  • Hiren,

    Please apologize for the delay; in this particular case, us in the tools team will not have much information about the PRU/Cortex A software integration.

    I will have to ask you to post a question on the device forum referencing this one, so you can get more knowledgeable answers. 

    Regards,

    Rafael

  • Hi Rafael,

    I have found the solution.

    I need to modify the linker script to support PRU firmware writing.

    Thanks for the support.