The strange behavior of the compiler MikroBasik PIC32-bug ?

General discussion on mikroBasic PRO for PIC32.
Post Reply
Author
Message
montana_rus
Posts: 3
Joined: 14 Oct 2015 05:50

The strange behavior of the compiler MikroBasik PIC32-bug ?

#1 Post by montana_rus » 14 Oct 2015 07:08

Good day !

Some days ago I detected the strange behavior of the compiler MikroBasik PIC32. I thought that is accident. But the problem shown more often. Problem is next:
First, the program after compiling for PIC32MX795 worked correct. Then it was need for some changes... For example, it was code:
.....
UART1_WRITE_TEXT ("Press any key")
i=i+1
.....
After addition a code for a view:
.....
UART1_WRITE_TEXT ("Press any key")
UART_WRITE_TEXT ("and work will done !") ' <---- this line
i=i+1
.....
in the working process of program body the strange take place: failure datas, incorrect rinning routines and more-more... This strange is shown also if change places two routines (procedure of functions) just. The compiler not gives error, it's OK, but really the program behaves unpredictably.
Please , need answer abour specific for PIC32 MikroBasik Compiler: is need any requirements for a lenght of routines (procedure, functions).

Thanks
Best regards,
Aleksey

User avatar
biljana.nedeljkovic
mikroElektronika team
Posts: 1043
Joined: 30 Jun 2015 15:15

Re: The strange behavior of the compiler MikroBasik PIC32-bu

#2 Post by biljana.nedeljkovic » 15 Oct 2015 08:35

Hello Aleksey,

can you explain the problem you have with UART? If it's possible, send the small simple code that will demonstrate the problem you have.
In that way, I will be able to reproduce the same behavior.

You can attache the code here, or answer to a ticket you had opened before.

Kind regards,
Biljana

Post Reply

Return to “mikroBasic PRO for PIC32 General”