/images/avatar.jpg

Startup problem with LPC1347

I was having difficulty getting my NXP LPC1347 to correctly run a program when it wasn’t in debug mode connected to the programmer. It turns out that you need to explicitly set a pre-processor symbol to instruct the processor the start running your application when it boots, otherwise it just sits and idles. In Keil this is found in the C/C++ tab of the project options. Enter ‘STARTUP_FROM_RESET’ in the preprocessor symbols box (put it in without the quotes).

VPN Setup with L2TP & IPSEC

For anyone who’s tried to setup VPN it is without a doubt a “black art”. The information given by most sites on the net is incomplete, incorrect and sometimes just plain stupid. We setup VPN a while back at work with PPTP and after an initial learning curve managed it relatively easily. We quickly learnt that PPTP is not a very secure method to use and started to setup a L2TP/IPSec connection, this is where the fun really started!