HalCoGen 3.05:
The Code generated for SCI2 is wrong. When enabling RX - interrupts (lin - high level), the code in sci.c , line 487, contains an unneccesary and invalid statement: "IRQ". After removing this line, the code works.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
HalCoGen 3.05:
The Code generated for SCI2 is wrong. When enabling RX - interrupts (lin - high level), the code in sci.c , line 487, contains an unneccesary and invalid statement: "IRQ". After removing this line, the code works.
Hi Frank,
i will inform our software team on this.
Thanks for pointing this out.
Frank,
I did generate SCI driver with Halcogen 03.05.00 and cannot find the IRQ statement you are mentioning.
Could you please attached the SCI.C generated?
Jean -Marc,
attached is the file "temp.zip, which includes "sci.c", generated by halcogen - project "test.hcg" and the HalCoGen - project itself.
Frank,
Thanks for the files, but I will also need the test.dil file in addition to the test.hcg.
Frank,
Thanks again for the file. I'm able now to reproduce the problem and I understand it.
This will be fixed in the next release of Halcogen. In the mean time, you will have to delete this additional "IRQ" keyword.
For information, if this SCI High interrupt is defined as FIQ, the keyword "FIQ" will also be added and will have to be removed.
This problem is not visible on SCI Low interrupt.