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

SDRAM INLINE DEBUGGING NOT WORKING

$
0
0

Hi

Team

I have an issue in debugging the code using sdram

I am trying to achieve the following

I have added a led toggle code in my DSP-UBL code

My intention to do this

As i am using the custom board i want to know weather the dspubl was up and weather it got executed.so i heave added led toggle function

But when i try to debug inline i can see the values changes in the gpio register but my led will not blink!

My doubt about the issue is that in the linker file I have an address executing the code from L2RAM as mentioned

MEMORY
{
L2RAM org=0x80010000 len=0x00010000 /* L2 RAM/Cache */
////L2RAM : org = 0xc3000000, len = 0x1000000
}

SECTIONS
{
.text > L2RAM
.const > L2RAM
.bss > L2RAM
.far > L2RAM
.switch > L2RAM
.stack > L2RAM
.data > L2RAM
.cinit > L2RAM
.sysmem > L2RAM
.cio > L2RAM
}

but when i change it to  sdram 0xc3000000,the code gets debugged and the led toggle and mean while 4/5 times or by luck it might have executed once I get a error message stating as mentioned below

MEMORY
{
//// L2RAM org=0x80010000 len=0x00010000 /* L2 RAM/Cache */
L2RAM : org = 0xc3000000, len = 0x1000000
}

 

Not sure how to debug and make sure dspubl is executed!

Even though the arm has the uart prints enabled in the code My intention is to make sure that dsp is running before arm by toggling leds

Need help on this working from past weeks to boot it on my custom board!

Kindly help asap

Thank you

Deepak R


Viewing all articles
Browse latest Browse all 17527


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