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.

Memory Read Error ...

hello

i am using the simulator mode of 6416. But once i run the simulation i get the following error

"Error:   Memory Map Error: READ access by CPU to address 0x7f605e0, which is RESERVED in Hardware."

 the real confusing part is that i cant get to the C function that is making the DSP access reserved memory ...

Any help would be highly appreciated ....

  • It could be that your application is doing some access hardware operation that the simulator does not support. If you are configuring the PLL for example, your simulator may not support it. So you would need to comment the PLL part when using the simulator.

    I had a customer with this error that had a broken pointer, so it was accessing an undefined memory address. So please check your pointer, allocations, pointer increments, etc…

    If you are using DSP/BIOS, every time you switch from emulator to simulator, you need to change the RTDX mode:

    http://e2e.ti.com/support/dsp/tms320c6000_high_performance_dsps/f/115/p/52559/186178.aspx#186178

    Please check that.

    Take a look at the memory map for your processor and check if 0x7f605e0 is a valid address or not.

  • hey thanxs alot...

    but i am still confused that this error appears at the end of the program ... when every thing has executed properly.

    how can i debug it ... i am using DSP BIOS but to no avail ...

  • Hi Saad,

    Again, this means that at some point you have a broken pointer, or a stack/heap problem.

    It could be happening at the end of your problem because you are "freeing" a buffer with the wrong size, of not testing the allocations, etc.

    This is very particular to your program. If you can attach a simple test case I could take a look at it.

     

  • Saad,

    The address you refer to lies in the reserved region 0x0200 0034 - 0x2FFF FFFF. To find out at what point in your code you access the reserved memory, it would be good to have a PASS/FAIL type check on your address pointers to ensure they fall within a valid address range.