Hi,
I'm using 'NXP LPC17xx USB Secondary Bootloader'.
I read the whole "AN10866.pdf" which commes together with the code on this link: ics.nxp.com/.../an10866.zip
I did everything as described in document and basically it works fine. I can program my chip using this USB bootloader.
So where is the problem? When I use more than 1572 bytes for global variables in my application then the program will not run normally. It halts. If I try then to program the chip over the JTAG with the same code (only I change the starting position from 0x2000->0x0000), then it runs normally.
Does anyone of you know the where could be the problem ? Any hint what to change to make it work regardless to the number of global variables ?