I'm having a problem working with the EPM900. my hardware environment is: intel pentium mmx win98 first edition usb port with no additional drivers active (hotsync is not loaded) Kiel uVison-2 v2.33 EPM900 board and usb cable connected to computer, jumpers set to use internal osc and EMU, and the read power LED is illuminated. When I plugged in the USB cable with the board attached, windows recognized a new USB device and loaded the correct drivers for the LPC900 emulator. HERE IS THE PROBLEM: with the EPM900 connected, and a project opened using the 89lpc932 as the device target, with the "options for target" menu item, under the debug tab, when i choose the "LPC900 Emulator/Programmer" rather than the "simulator" for where i want to run my debugger from, and then click on the "settings" button for the LPC900 I get an error from the kiel u-V2 software. there is a windows error dialog box that pops up and says: This program has perfromed and illegal operation and will be shut down. UV2 caused an invalid page fault in module LPC2EMP.DLL at 015f:10013d0e. Registers: EAX=00000000 CS=015f EIP=10013d0e EFLGS=00010246 EBX=008ea7f8 SS=0167 ESP=008ea698 EBP=008ea7c4 ECX=00000000 DS=0167 ESI=008ead94 FS=2ff7 EDX=8162e560 ES=0167 EDI=008ea7ac GS=0000 Bytes at CS:EIP: 8b 41 38 85 c0 75 0f ff 74 24 04 ff 71 1c ff 15 Stack dump: 10002be3 00000000 0000881c 00200020 00200020 00200020 00200020 00200020 00100048 00100010 00100010 00100010 00100010 00100010 00100010 00100010 Note: I also tried this on a Win2K machine and got the following message. Uv2.exe - Application error The instruction at "0x019b3d0e" referenced memory at "0x0000000038". The memory could not be "read". Click on Ok to terminate the program. Click on CANCEL to debug the program.
If you have the full Keil tools (ie, not just the free "evaluation" download), you should contact Keil support: http://www.keil.com/support/gethelp.htm Hint: it'd probably help to spell their name correctly when speaking to Keil... ;-)
I finally discovered the problem. The LPC900 studio installs to the same directory (c:\keil) as the PK51 tools. Thus, it overwrites the compiliers with the crippled versions that come with the LPC900 studio. I guess both can't be installed on the same machine which is unfortunate as the LPC900 studio installs some nice documentation into uV2. Guess the solution is to install manually or install LPC900 into a different path which means having two sets of compiliers/assemblers installed. Anybody else have this problem and what is the solution for customers who have PK51?
Does this help at all? http://www.keil.com/support/docs/2010.htm