We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I've a problem with the A/D Converter example. I modified the programm, so that I can scale the voltage and different LED are ligthing. Furthermore the voltage could be changed with the potentiometer. Now I have a problem, if I upload the to the board, I can't see anything of these funktions. Now when I try to debug, the program hangs on the SWI_handler. So the main funktion never can be achieved! Does anybody know what the problem is?
Thanks
Timo
are you using the RTX? if so you need to comment out the SWI handler in your startup.s as the RTX uses this
No, I don't using the RTX
Hello , can i know which controller u are using ?
Board: Phytec phyCORE HD200 processor: Phillips LPC2294
Are you sure you have your interrupt table correct. Are you expecting to receive a software interrupt? What interrputs are you expecting to get? for example you could be getting a data abort interrupt, but because the interrupt table is incorrect, it is being caught by the SWI interrupt handler. I am assuming the the SWI interrupt handler is a loop as follows:
SWI_Handler B SWI_Handler