Thanks Papabravo for your help. I really appreciate it.
You may be right when you say it is someting to do with settings. I had a look at his MAP file and my MAP file, there are some interesting differences.
First of all here is the HEX file we both compiled (simply blinking LEDs on P1):
; 8051 Initial Assembler Source File
public START
program segment code
rseg program
START ; startup code jumps to label START
; TODO: Add your assembler source code here
ORG 0
HERE: MOV A, #255
MOV P1, A
ACALL DELAY
CLR A
MOV P1, A
ACALL DELAY
SJMP HERE
DELAY: MOV R5, #7
HERE1: MOV R4, #255
HERE2: MOV R3, #255
HERE3: DJNZ R3, HERE3
DJNZ R4, HERE2
DJNZ R5, HERE1
RET
END
Here is his MAP file:
**broken link removed**
And here is my MAP file:
**broken link removed**
The "demo" bit is probably because my one is a demo version of Crossware Compiler and his one is not (though I paid good money for this 'demo' compiler).
Now, I know from reading the Getting Started Manual that the difference between the demo version and the full version is that in the demo version you can program up to 4K bytes, even if you have an 8K Bytes 8051.
Looking at the MAP file, one of the striking difference is that my program starts at memory location 4K instead of location 0 like his one does. and you cannot program beyond 4K...
The problem is, I am not sure what I can do to cure this problem.
I am looking at this window, which I think has got the correct setting in it for the 'Target Memory Location':
**broken link removed**
Right, if it has not become apparent already, I am a complete beginner in the microcontroller field.
If you can deduce something from the information I provided here Papabravo, or anyone else, your help is most appreciated.
peace.