When you create a new project for the LPC938, the resulting project contains a file called "Start900.A51"
Inside this file keil have very nicely put lots of comments around a whole lot of settings which control the UCGF1, BOOTVEC and BOOTSTAT and protection registors... thanks Keil for that....
but unfortunately, the value they put in there for BOOTVEC is for the LPC932 => 0x1E
I created a project using the Keil new project wizard for the LPC938 which uses 0x1F
When you use Flash Magic, it automatically corrects the value of 0x1E to 0x1F when it programs the BOOTVEC
So when i used my own labview software to program an LPC938, the wrong BOOTVEC was used... the micro is now an OPT :( and i now need to unsolder, parallel program the value and re-solder the LPC938... thanks Keil for that !!!
So all of you out there, be warned, any LPC938 based projects, MAKE SURE THE BOOTVEC value in "Start900.A51" is correct !!!