LPC1768 ISP systick timer problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC1768 ISP systick timer problem

474 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Andre Schoeman on Mon May 20 17:33:23 MST 2013
Hi

I'm using a LPC1768 and LPCXpresso,
I'm using the Systick timer as a system base time.

My application works when I debug using a Reb Probe + debugger and it still runs after the debugger has been removed.

If I download this same code via the internal ISP or via the RDB1768cmsis_usb_bootloader then the sys tick timer fails to run.

In both cases I can see the application start to run as I have UART3 sending (interrupt driven) debug information to a terminal.

Any suggestions?

Thanks
Andre
0 Kudos
Reply
1 Reply

447 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Andre Schoeman on Mon May 20 19:08:49 MST 2013
Hi

I may have solved the problem,
I think it was a timer delay variable that should have been volatile.
The code now runs under both bootloaders.

Thanks
Andre
0 Kudos
Reply