Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

CCS/SEGGER: Trouble writing memory block while starting a debug session

$
0
0

Part Number:SEGGER

Tool/software: Code Composer Studio

Hello,

I try to debug a user specific bootloader application wirh Segger J-Link and Code Composer Studio v8 on a user specific hardware with a Sitara AM3357. Unfortunately I am not able to start the debug session because the load process stops with the following error:

CortxA8: Trouble Writing Memory Block at 0x40308064 on Page 0 of Length 0x2de0: Flash download failed! ...

CortxA8: File Loader: Verification failed: Target failed to write 0x40308064

CortxA8: GEL: File: :...... Load failed.

According the Sitara reference manual the mentioned address is part of the memory area L3 OCMC0 (0x4030_0000 - 0x4030_FFFF). I checked the GEL-file. The specified memory regions are correct. This boootloader application has been programmed some years ago with Code Composer Studio v6. Using this version the debug session works fine but the following note appears in the console:

CortxA8: Loader: One or more sections of your program falls into a memory region that is not writable. These regions will not actually be written to the target. Check your linker configuration and/or memory map.


Does anybody know how to solve this problem? Thank you.

Regards, Marc



Viewing all articles
Browse latest Browse all 262198

Trending Articles



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