Quantcast
Channel: Tools
Viewing all articles
Browse latest Browse all 91752

Forum Post: RE: Problem in code in getting output in ccsv5.5

$
0
0

Hi 

Ki thanks for your help. I came to know that in CCSv3 we can directly load the code to flash memory using the "load program option". So now I will shift to CCSV3 to test my code. Meanwhile before testing my code I am writing another code which will take input from dip switches and will display output on LEDs. But in doing so i'm again having an error.
 most basic form of my code is

#include<dsk6713.h> /* General functions */
#include<dsk6713_dip.h> /* Functions for DIP */
#include<dsk6713_led.h> /* Functions for LED */
void main()
{
DSK6713_init();
DSK6713_DIP_init();/*Initialize DIP switches */
DSK6713_LED_init(); /*Initialize LEDs*/
DSK6713_LED_on(0);
DSK6713_LED_off(3);
while(1){
/*DSK6713_DIP_get(‘switch number’); Retrieve the DIP switch value */
if(DSK6713_DIP_get(2)==1){
/* DSK6713_LED_on(‘LED number’); Set the LED */
DSK6713_LED_on(2);
}else{
/* DSK6713_LED_off(‘LED number’); Clear the LED */
DSK6713_LED_off(2);
}
}

when i build n debug my code it goes fine. then when I run it, it gives me this error
"TMS320C6713: Error:   Memory Map Error: READ access by CPU to address 0x1b7c100, which is RESERVED in Hardware. " 

 Can you please guide me what is this error, what might be its reason and how can it be removed?

Thank you.

Maheen


Viewing all articles
Browse latest Browse all 91752

Trending Articles



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