Page 1 of 1

problem in compiling to hex

Posted: Mon Jan 16, 2012 4:56 pm
by rags
i am using flow code for AVR v4...am not able to compile to hex format.
i am getting errors...

this is wat i got when i compiled

Launching the compiler...
C:\Program Files (x86)\Matrix Multimedia\Flowcode AVR V4\Tools\MX_bats\avra.bat atmega32 "F:\resh\RFIDPR~1\new_rfid_imported.elf" "F:\resh\RFIDPR~1\new_rfid_imported.c" "F:\resh\RFIDPR~1\new_rfid_imported.lst"

Return code = 1

Flowcode was unable to compile the flowchart's C code due to the following errors:


If your flowchart contains C code, please review this carefully. If your flowchart contains no C-code or you have thoroughly reviewed the code, contact Technical Support.

FINISHED


please help very urgent!!!

thanks in advance!!

Re: problem in compiling to hex

Posted: Mon Jan 16, 2012 5:18 pm
by Benj
Hello,

Can you post up your program and we will have a quick look for you. Looks like the compiler is either not generating any messages or is bailing out for some reason.

Re: problem in compiling to hex

Posted: Tue Jan 17, 2012 5:45 pm
by rags
hello sir,
i have just attached a simple program. at times it works initially..later it doesnt work for me!

Re: problem in compiling to hex

Posted: Tue Jan 17, 2012 6:58 pm
by Benj
Hello,

We came across this problem in another forum topic. I will have a hunt around and see if I can find it.

Basically if you upgrade your Flowcode project folder into a library in win7 or use the my documents folder which is already a library in win7 then the problem should disappear. I think it related to some bug in Windows where the compiler cannot always access the source C file and therefore it falls over.

Edit: Here is the previous topic.
http://www.matrixmultimedia.com/mmforum ... 34&p=22161

Re: problem in compiling to hex

Posted: Wed Jan 18, 2012 6:36 pm
by rags
is there any way to over come this?? cause am not able to do my project because of this??

Re: problem in compiling to hex

Posted: Fri Jan 20, 2012 12:44 pm
by Benj
Is using the "my documents" folder not an option for you?

Are you using Windows 7? What about creating your own library?

Re: problem in compiling to hex

Posted: Mon Jan 23, 2012 2:12 pm
by rags
yes sir i am using windows 7 only..! should i save my programms in my documents????

Re: problem in compiling to hex

Posted: Mon Jan 23, 2012 4:54 pm
by Benj
Yes, using your my documents folder should solve the problem.

HELP for TIMERS in FLOWCODE AVR

Posted: Mon Jan 30, 2012 7:01 am
by rags
hello..is there any good tutorial to learn timers of AVR atmega32 using flowcode...

Re: problem in compiling to hex

Posted: Tue Jan 31, 2012 5:58 pm
by rags
even after saving in my documents i still have the same problem what do i do now?? am not able to continue with my project further !!

Re: problem in compiling to hex

Posted: Tue Jan 31, 2012 6:07 pm
by JonnyW
Hello. This isn't really a fix unfortunately, but when looking into this issue a while ago I seem to remember the bug (which is a threading issue between Flowcode and the launched .bat file), if present, persisted for the lifetime of Flowcode.

If Flowcode was restarted without the bug, then it would work while it was open. If Flowcode was restarted and the bug showed up, only a restart of Flowcode would make it go away.

I'm sorry this isn't much help, but with obscure bugs like this its difficult to replicate it and therefore fix the problem, I'm afraid.

Jonny