Hi,
I'm trying to write some code using Keil UV3 for the Philips/NXP 89LPC901 microcontroller.
It was compiling my C program fine and generating a HEX executable which I thought was dowloading to the micro ok but there was no signs of life from the chip. When I looked at the HEX code I realized why, the main program code was located at 0x0800 which is way out of the 1k code space of the chip.
So I went back into Keil UV3 and changed the target options so that it will use the on-chip ROM (0x0000-0x03FFF) but now I get address overflow errors even though the code previously generated is only about 100 bytes so far.
Any ideas what I'm doing wrong?
Thanks,
Dave.
Yes - you are using the free Evaluation version without checking the limitations:
http://www.keil.com/demo/limits.asp
- Thanks for your reply. I wasn't aware this is only the demo version, it's a few years since I last used it. In the "About uVision" (from the Help menu) it doesn't say it's the demo version.
Is there anyway I can check?
Do you have a license file for it? It's the existence of a license that unlocks it.
The licence details, if any, will appear on the Help/About box.
If there's no licence details, then you don't have a licensed copy and it is, therefore, just an eval version.
The cheapest way to get a licensed version for the LPC900 series is: http://www.keil.com/nxp/lpc900_studio.asp
used to be about fifty quid...
never bought one, but I tend to recall (DO CHECK) that when I first saw it said to myself "with a 2k starting address, this is a joke" and found out that this particular version starts at 0
Erik
Yes: it does remove the "start address offset" limitation - because it is specifically for the LPC900 series.
It has a special licence code.
- Thanks for all your replies. I've since found a development IDE called RIDE which seems to be working ok for free but I'll take a look at LPC900 Studio when I get chance.