Hi I am having real trouble. If anyone can shed any light on this I will be very grateful. I am using IAR, J-Link and the Phytec LPC2294 dev board. 1) Using the Philips flash utility I load the Keil example hex file for 'blinky' 2) Press 'RESET' on the dev board and the LED flashes. 3) Using IAR and my code I enter debug, the debugger shows load, verify and then the debugger opens. 4) I press RUN and the interrupts do not fire. The LED does not flash. 5) I press 'RESET' on the dev board and the LED flashes (this is running my code now as I have set the LED to flash at a different rate). 6) Using IAR again I enter debug, exactly as in step 3 above. 7) I press RUN and the interrupts fire! The LED flashes and the debugger works as expected. This is causing REAL problems for us. I have tried this on a Keil LPC2129 board with the same results. The code is running from internal FLASH with MAM and the PLL enabled. I have copied the initialisation from the Keil example and I am pretty sure its close enough. It certainly works everytime when I manually reset the board. I am quite happy to admit I am doing something wrong, but we really need some advice here. If anybody can offer any suggestions we would be very very grateful. This has been holding us up for weeks and makes development almost impossible. I have had to stop what I was doing to allow me to pare it all down to a demonstrator with just a single timer interrupt. Any clues? best regards Simon
Message
IAR and J-LINK interrupt problem
2004-10-04 by itsjustimpossible
Attachments
- No local attachments were found for this message.