now i can compile my project without errors but it dont work!!!
I can not understand, but it seems that the ASM files are different
for example the basic statment LATG12_bit=0
with compiler 5.6 is translate to BCLR LATG12_bit, #12
with compiler 5.7 is translate to BCLR LATG12_bit, BitPos(LATG12_bit+0)
Is it correct?
my project seems to move regarding the comunication on UART but the internal harware
of my pic seem not run!?!
Problem with compiler 5.7
Re: Problem with compiler 5.7
Hi,
Yes, there were some changes regarding bit usage.
Could you please attach here the project that you are having trouble with ?
Regards,
Filip.
Yes, there were some changes regarding bit usage.
Could you please attach here the project that you are having trouble with ?
Regards,
Filip.
Re: Problem with compiler 5.7
My project is very complex, it uses UART, I2C, ADC, DMA, IC, OC,INTERRUPT, TIMERS etc.
Unfortunately I'm not allowed to publish my source files for reasons of privacy
My project is working perfectly with compiler 5.60,
but compiled with version 5.70 does not work.
I try to compare the asm output files and i found some differences.
In Basic I write:
IC2IF_bit=0
the compiler 5.60 translates BCLR IC2IF_bit, #5
the compiler 5.70 translates BCLR IC2IF_bit, BitPos(IC2IF_bit+0)
I do not know the assembler, but if the instruction BCLR need to have a register and a bit position,
I do not think that the two translations are equivalent!
There are also other variations on the use of registers....
I have been authorized to attach as an example two asm files obtained by two different compilers
Can I install both the two compilers? I spend a lot of time to continue to install and uninstall the two compilers
Unfortunately I'm not allowed to publish my source files for reasons of privacy
My project is working perfectly with compiler 5.60,
but compiled with version 5.70 does not work.
I try to compare the asm output files and i found some differences.
In Basic I write:
IC2IF_bit=0
the compiler 5.60 translates BCLR IC2IF_bit, #5
the compiler 5.70 translates BCLR IC2IF_bit, BitPos(IC2IF_bit+0)
I do not know the assembler, but if the instruction BCLR need to have a register and a bit position,
I do not think that the two translations are equivalent!
There are also other variations on the use of registers....
I have been authorized to attach as an example two asm files obtained by two different compilers
Can I install both the two compilers? I spend a lot of time to continue to install and uninstall the two compilers
- Attachments
-
- exampleasm.zip
- (23.28 KiB) Downloaded 167 times
Re: Problem with compiler 5.7
Hi,
I have also received your ticket on our Support Desk so we will continue there.
Regards,
Filip.
I have also received your ticket on our Support Desk so we will continue there.
Regards,
Filip.