I'm trying to implement a memory protection scheme. So far, its worked in finding two issues, but I noticed when I tried to reload the image in the debugger after running it the first time, I'll go straight to abort. The load appears to work, then there is a quick "jumping to entry point" message I can read if I'm lucky. I tried with and without a gel file, with the same results -- an exception occurs.
I have tried using the Exception module with memory protection enabled and without. It always boils down to this line in the bios configuration:
var memProtect = xdc.useModule("ti.sysbios.family.c64p.MemoryProtect");
If its removed from my build, I can reload the image over and over.
****************************************************************************************
1/11/2016 update: I discovered by looking at the ROV that the BIOS in "Scan for Errors" is reporting no errors in the first run. In the 2nd run, it states that loggerbuf, record #1 has "Unknown File". I presume that "Unknown file" error is related to the exception that is generated.
The details in my setup.
Host OS: Windows 7, 64-bit. CCS Version is Version: 5.1.0.09000.
Board rev number: can be found, if needed
SysBios Version: 06.33.5.46
XDC Tools Version: 3.23.2.47
Processor Mode: Big Endian
Executable Output: Elf-format
My image is contained in DDR2. The program is loaded there. L1P and D are defined in the linker command file, and are in the symbol map file. My processor is 64x+ (C6457). My DDR2 memory is 256 MB. My L2 is set up to be 1 Meg cache, 1 meg RAM. I'm using spec. dig jtag, over LAN. As I stated, I've tried with a gel file and without a gel file.
example attached (outputs big endian, coff format). It fails the same, per explained. (no gel file provided in example)
Thanks for any help,
Bill