Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/03/04 16:51
Read: times


 
#65887 - i cudnt execute the program
Hi,
I recently buyed an NMIY-0031 8051 KIT ,and new bie to this embeded system programming,
ThE simple code which i have written
#include<stdio.h>
data int small=21;
xdata int big=22;
xdata int exchange;
data unsigned char car_type=24;
xdata unsigned char external_char=25;
main()
{
xdata int kiran1=0;
xdata int kiran2=0;xdata int kiran3=0;xdata int kiran4=0;
exchange=small;
big=small;
big=exchange;
}

I compiled using following sdcc option
sdcc --code-loc 0x8000 --xram-loc 0x8000 --data-loc
-0x9c00 --stack-after-data test.c

by using packihx test.ihx>test.hex im converting ihx to hex file

when i loading on my kit wit 'L' Command its goin Succesfully,but when im trying to execute wit X 8000 i cudnt execute its HANG UP ,Again i need to restart my Kit n load

Plz any1 reply me immediately
kiran_vengala2001@yahoo.com
Thanking you
kiran

List of 4 messages in thread
TopicAuthorDate
i cudnt execute the program            01/01/70 00:00      
   RE: i cudnt execute the program            01/01/70 00:00      
   RE: i cudnt execute the program            01/01/70 00:00      
   RE: i cudnt execute the program            01/01/70 00:00      

Back to Subject List