first evening with this new compiler immediately gave me the trusted feel, for a very first beta-release it seems to behave pretty well.
i noticed some error in the debugger, when i try to show only the used interrupt-vectors i get a strange mix of the few i had created and quite a few others. A closer look in the definitionfile shows all the shown 'used interrupts' to have the same vector so probably these are not yet all ok. The debugger btw jumps to the right one but that is probably sheer luck as this is the only interrupt that has an isr declared in the code.
The interrupt-assistant looks usefull btw.
I am looking forward to use more than 2k btw, this allows just for some basic testing.
interrupts in debugger
interrupts in debugger
Au royaume des aveugles, les borgnes sont rois.
Re: interrupts in debugger
after changing the pic from 32mx775f512h to 32mx340f512h this issue is gone, the definitionfile for the 32mx775f512h (possibly others) is not yet ok.
Au royaume des aveugles, les borgnes sont rois.
Re: interrupts in debugger
Hallo,
Unfortunately, it's not definition file error
MCUs with large number of interrupt sources have couple interrupt sources multiplexed at the same interrupt vector number.
By defining an interrupt handler for a such interrupt vector, you are practically defining handler for all multiplexed interrupt sources. So, if you have enabled more than one of the multiplexed interrupt sources, you will have to check which one caused the interrupt in order to handle the right one (pretty much like with 8bit PIC MCUs).
Unfortunately, it's not definition file error
MCUs with large number of interrupt sources have couple interrupt sources multiplexed at the same interrupt vector number.
By defining an interrupt handler for a such interrupt vector, you are practically defining handler for all multiplexed interrupt sources. So, if you have enabled more than one of the multiplexed interrupt sources, you will have to check which one caused the interrupt in order to handle the right one (pretty much like with 8bit PIC MCUs).
Re: interrupts in debugger
thanks for the explanation, i realize now that i had a rather unfortunate choice there as all interrupts of uart1 share the same vector together with those from SPI1 and I2C1 , in fact quite a mess but that is not your fault.
It also has for consequence that we cannot define independent ISR's for these, maybe the code-assistant in the future should warn for this, currently it will result in a Interrupt handler redefined error which is obvious now.
It also has for consequence that we cannot define independent ISR's for these, maybe the code-assistant in the future should warn for this, currently it will result in a Interrupt handler redefined error which is obvious now.
Au royaume des aveugles, les borgnes sont rois.