PROBLEM WITH COMPILER (MIKROC PRO FOR AVR)
PROBLEM WITH COMPILER (MIKROC PRO FOR AVR)
Would you please help me >>>
I'm working with mikroc pro for avr V.3.5.
when i used the (.hex) files that already existed in the example it worked without any problem.
but when i compile the same code in new project, the (.hex) file dose not work.
please help me I'm losing my mind
thank you so much .......
I'm working with mikroc pro for avr V.3.5.
when i used the (.hex) files that already existed in the example it worked without any problem.
but when i compile the same code in new project, the (.hex) file dose not work.
please help me I'm losing my mind
thank you so much .......
- marina.petrovic
- Posts: 2986
- Joined: 18 Apr 2013 08:11
Re: PROBLEM WITH COMPILER (MIKROC PRO FOR AVR)
Hi,
Please, can you explain me a little bit more where the problem occurs?
Which example you tried from compiler?
Do you make any changes in the example before compiling?
Best regards,
Marina
Please, can you explain me a little bit more where the problem occurs?
Which example you tried from compiler?
Do you make any changes in the example before compiling?
Best regards,
Marina
Re: PROBLEM WITH COMPILER (MIKROC PRO FOR AVR)
Thanks Marina
I didn't make any changes in the example (SPI Ethernet).
i just made a copy of the folder and recompile the project then i toke the hex file put it into atmega128 (using proteus 7.8 )
the mcu didn't work.
but when i toke the hex file from the orginal folder that existed in the example folder the mcu run without errors .
there are no changes ever in the code
what can i do??
do i need support program for mikroc pro for avr v.3.5 or what??
thanks a lot for your attention
I didn't make any changes in the example (SPI Ethernet).
i just made a copy of the folder and recompile the project then i toke the hex file put it into atmega128 (using proteus 7.8 )
the mcu didn't work.
but when i toke the hex file from the orginal folder that existed in the example folder the mcu run without errors .
there are no changes ever in the code
what can i do??
do i need support program for mikroc pro for avr v.3.5 or what??
thanks a lot for your attention
Re: PROBLEM WITH COMPILER (MIKROC PRO FOR AVR)
Thanks marina
the problem is occurs when recompiling the projects that exist in the example folder
like (SPI Ethernet/Basic Realm).
the hex file that i get after compiling dosn't work correctly
but when i toke the hex file that existed before (orginal) the mcu run without any errors
what can i do ?
do i need any support program to my compiler?
thanks a lot for your attention
the problem is occurs when recompiling the projects that exist in the example folder
like (SPI Ethernet/Basic Realm).
the hex file that i get after compiling dosn't work correctly
but when i toke the hex file that existed before (orginal) the mcu run without any errors
what can i do ?
do i need any support program to my compiler?
thanks a lot for your attention
- Attachments
-
- Basic_Realm.zip
- this is the hex file after i compiled the same example (SPI Ethernet/Basic Realm)
- (15.7 KiB) Downloaded 196 times
- marina.petrovic
- Posts: 2986
- Joined: 18 Apr 2013 08:11
Re: PROBLEM WITH COMPILER (MIKROC PRO FOR AVR)
Hi,
We usually recommend to our users to try their projects on real hardware.
Proteus is not certified development environment for code generated by our compilers.
Also, please, try to update your compiler (Help -> Check for Updates),
last version of compiler, mikroC PRO for AVR is v6.0.1.
Please, check your project settings: Project -> Edit Project.
Did you try to compile the example directly from compiler?
Do you have the same problem with some other example from compiler?
Best regards,
Marina
We usually recommend to our users to try their projects on real hardware.
Proteus is not certified development environment for code generated by our compilers.
Also, please, try to update your compiler (Help -> Check for Updates),
last version of compiler, mikroC PRO for AVR is v6.0.1.
Please, check your project settings: Project -> Edit Project.
Did you try to compile the example directly from compiler?
Do you have the same problem with some other example from compiler?
Best regards,
Marina
Re: PROBLEM WITH COMPILER (MIKROC PRO FOR AVR)
HI
Thanks Marina
i tried the hex file in practical circuit but it dosn't work
i'll send the code to you now
would you please compile it for me and send me the hex please
then i will try it in my mcu
thanks a lot
Thanks Marina
i tried the hex file in practical circuit but it dosn't work
i'll send the code to you now
would you please compile it for me and send me the hex please
then i will try it in my mcu
thanks a lot
Re: PROBLEM WITH COMPILER (MIKROC PRO FOR AVR)
I'm sorry i forget to tell you that i'm using atmega32 at 8MHz
thanks
thanks
- marina.petrovic
- Posts: 2986
- Joined: 18 Apr 2013 08:11
Re: PROBLEM WITH COMPILER (MIKROC PRO FOR AVR)
Hi,
Did you updat your compiler?
Did you have the same problem with last version of compiler?
Please, can you try some other example from compiler, for example simple LedBlinking example?
I attached for you HEX file (Basic_Realm example), so you can try it on your hardware to see whether
you have the same problem.
Best regards,
Marina
Did you updat your compiler?
Did you have the same problem with last version of compiler?
Please, can you try some other example from compiler, for example simple LedBlinking example?
I attached for you HEX file (Basic_Realm example), so you can try it on your hardware to see whether
you have the same problem.
Best regards,
Marina
- Attachments
-
- Basic_Realm.rar
- (14.81 KiB) Downloaded 195 times
Re: PROBLEM WITH COMPILER (MIKROC PRO FOR AVR)
HI
Thanks Marina
i tried ledblinking example and there is no problem with it.
i didn't update the compiler because i have problem (demo limit) and i don't have money to buy it
why I'm having this problem just with examples in (extra boards folder)
what can i do to solve it.
please help me
(the hex you attached ,worked without correctly )
thanks a lot for helping me
Thanks Marina
i tried ledblinking example and there is no problem with it.
i didn't update the compiler because i have problem (demo limit) and i don't have money to buy it
why I'm having this problem just with examples in (extra boards folder)
what can i do to solve it.
please help me
(the hex you attached ,worked without correctly )
thanks a lot for helping me
Re: PROBLEM WITH COMPILER (MIKROC PRO FOR AVR)
You don't need to buy the licence in order to update the compiler. Demo version can be updated too.AYSER wrote:i didn't update the compiler because i have problem (demo limit) and i don't have money to buy it
Open your compiler, choose help, choose check for updates.
I feel that updating your compiler will do the trick
Best Regards
My hobby is collecting MikroElektronika products.
Gotta catch them all!
Gotta catch them all!
- marina.petrovic
- Posts: 2986
- Joined: 18 Apr 2013 08:11
Re: PROBLEM WITH COMPILER (MIKROC PRO FOR AVR)
Hi,
Like, MaGiK, already mentioned, you can update your compiler regardless that you have
demo limit version of compiler (Help -> Check for Updates).
Best regards,
Marina
Like, MaGiK, already mentioned, you can update your compiler regardless that you have
demo limit version of compiler (Help -> Check for Updates).
Best regards,
Marina
Re: PROBLEM WITH COMPILER (MIKROC PRO FOR AVR)
thanks a lot
(the hex you attached ,worked correctly )
and tried the last version v6.0.1 but i had the same problem
could i send you my code so you can compile it for me please because i got tired trying to solve this problem
thank you very much you are great
please Marina do it for me
i attached the code
(the hex you attached ,worked correctly )
and tried the last version v6.0.1 but i had the same problem
could i send you my code so you can compile it for me please because i got tired trying to solve this problem
thank you very much you are great
please Marina do it for me
i attached the code
- Attachments
-
- ayser SPI_ETHERNET.zip
- (108.41 KiB) Downloaded 183 times
- marina.petrovic
- Posts: 2986
- Joined: 18 Apr 2013 08:11
Re: PROBLEM WITH COMPILER (MIKROC PRO FOR AVR)
Hi,
Please, try the HEX file from attachment to try to conclude where the problem occurs?
Just to be sure, check the project settings in your project (Project -> Edit Project).
Best regards,
Marina
Please, try the HEX file from attachment to try to conclude where the problem occurs?
Just to be sure, check the project settings in your project (Project -> Edit Project).
Best regards,
Marina
- Attachments
-
- ayser SPI_ETHERNET.rar
- (16.54 KiB) Downloaded 187 times
Re: PROBLEM WITH COMPILER (MIKROC PRO FOR AVR)
HI
thanks Marina for helping.
I'm going to try another version of mikroc because there is no problem in my project sitting .
the hex file you have sent to me worked correctly
so i wrote my final code and attached it.
would you please compile it for me until i fix my problem.
i really APPRECIATE that.
thanks Marina for helping.
I'm going to try another version of mikroc because there is no problem in my project sitting .
the hex file you have sent to me worked correctly
so i wrote my final code and attached it.
would you please compile it for me until i fix my problem.
i really APPRECIATE that.
- Attachments
-
- ayser SPI_ETHERNET.zip
- (135.56 KiB) Downloaded 200 times
- marina.petrovic
- Posts: 2986
- Joined: 18 Apr 2013 08:11
Re: PROBLEM WITH COMPILER (MIKROC PRO FOR AVR)
Hi,
If I understand you properly, you manage to update your compiler and
you have the same problem with the compiler version 6.0.1?
Did you get some error message when you try to compile your project?
Best regards,
Marina
If I understand you properly, you manage to update your compiler and
you have the same problem with the compiler version 6.0.1?
Did you get some error message when you try to compile your project?
Best regards,
Marina