This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

problem getting a simple app to work on a eprom sim.

hi,

I have a simple question concerning the demo version of uVision 2.

I wrote a simple test program in assembler which just switches an LED and it runs perfect with my target eprom.

I define a offset, so that nothing can be linked into the memory from 0x0 - 0x8000

	offset	equ	0x8000

	cseg at reset
	ds	offset

	cseg at reset+offset
	jmp	init_cpu

        ORG	offset+0x100
        program starts here...

Now I want to create an hex file, which should run on my eprom-simulator.

I thougt, I have to set offset to 0. Then I have some space for the vectors and the program starts at 0x100. But nothing happens. In the debugger it works fine, I have a LJMP at 0x0 to 0x100 and there the program starts, but on the eprom simulator nothing happens.

Where exactly do I have to start the program code in the demo version? I'm using a philips 80c552.

Thanks in advance,
Christian

0