Page 1 of 1

Incapable de programmer un Arduino avec Flowcode v7.3.0.5

Posted: Wed Aug 21, 2019 1:47 pm
by tech
Bonjour,

Voici mon problème je suis incapable de programmer un Arduino avec Flowcode v7.3.0.5, j'ai suivi les instruction du FAQ et toujours incapable de programmer. J'ai meme installer flowcode sur un autre PC et toujours le meme problème!? :oops:

https://www.matrixtsl.com/faq/index.php ... hlight=AVR

Merci de votre aide!
Chris

Voici l'erreur:

Target folder: Y:\AM6G2H~Q\FYMMKF~S\AQZOIF~8
Source name: Y:\Arduino Projets\Flowcode v7 Exemples\ArduinoShieldTest\ArduinoShieldTest.fcfx
Title:
Description:
Device: AVR.ATMEGA.ATMEGA2560
Generated by: Flowcode v7.3.0.5
Date: Monday, August 19, 2019 19:01:41
Users:
Registered to:
Licence key:
http://www.matrixtsl.com
Launching the compiler...
C:\Program Files (x86)\Flowcode 7\compilers\avr\batchfiles\avra.bat atmega2560 "Y:\AM6G2H~Q\FYMMKF~S\AQZOIF~8\ArduinoShieldTest.elf" "Y:\AM6G2H~Q\FYMMKF~S\AQZOIF~8\ArduinoShieldTest.c" "Y:\AM6G2H~Q\FYMMKF~S\AQZOIF~8\ArduinoShieldTest.lst"
Launching compiler...
ERROR: Can not launch process: The system cannot find the file specified.

Completed compilation, return = 255

C:\Program Files (x86)\Flowcode 7\compilers\avr\batchfiles\avra.bat reported error code 255

Re: Incapable de programmer un Arduino avec Flowcode v7.3.0.5

Posted: Tue Aug 27, 2019 1:11 pm
by LeighM
Can you try with a project stored on the local drive (C: ) ?

Re: Incapable de programmer un Arduino avec Flowcode v7.3.0.5

Posted: Tue Aug 27, 2019 1:45 pm
by tech
Bonjour LeighM,

Ok, je vais essayer ca!

Merci

Chris

Re: Incapable de programmer un Arduino avec Flowcode v7.3.0.5

Posted: Tue Aug 27, 2019 5:57 pm
by tech
Bonjour LeighM,

Malheureusement j'ai toujours la même erreur même si je sauvegarde sur mon disque (C:)

Voici l’erreur:

Target folder: C:\Users\User\Documents\FLOWCO~1\ARDUIN~1
Source name: C:\Users\User\Documents\Flowcode v7\ArduinoShieldTest\ArduinoShieldTest.fcfx
Title:
Description:
Device: AVR.ATMEGA.ATMEGA2560
Generated by: Flowcode v7.3.0.5
Date: Tuesday, August 27, 2019 12:57:01
Users:
Registered to:
Licence key:
http://www.matrixtsl.com
Launching the compiler...
C:\Program Files (x86)\Flowcode 7\compilers\avr\batchfiles\avra.bat atmega2560 "C:\Users\User\Documents\FLOWCO~1\ARDUIN~1\ArduinoShieldTest.elf" "C:\Users\User\Documents\FLOWCO~1\ARDUIN~1\ArduinoShieldTest.c" "C:\Users\User\Documents\FLOWCO~1\ARDUIN~1\ArduinoShieldTest.lst"
Launching compiler...
ERROR: Can not launch process: The system cannot find the file specified.

Completed compilation, return = 255

C:\Program Files (x86)\Flowcode 7\compilers\avr\batchfiles\avra.bat reported error code 255



FINISHED

Re: Incapable de programmer un Arduino avec Flowcode v7.3.0.5

Posted: Wed Aug 28, 2019 3:36 pm
by Benj
Hello,

Have you checked that the compiler batch file exist at the path specified.
C:\Program Files (x86)\Flowcode 7\compilers\avr\batchfiles\avra.bat

Also have you double checked that the short path to the directory is valid?

This is known to fix the issue.
https://www.matrixtsl.com/faq/index.php ... hlight=AVR

You can check the short path by following the steps here.
viewtopic.php?f=54&t=20393&p=90210#p90210

Re: Incapable de programmer un Arduino avec Flowcode v7.3.0.5

Posted: Thu Aug 29, 2019 10:02 pm
by tech
Bonjour Benj,

J'ai verifier si le document avra etait bien la et oui (voir image). J'ai suivi les instructions du FAQ et la path et ca na rien resolu :oops:

Chris

Re: Incapable de programmer un Arduino avec Flowcode v7.3.0.5

Posted: Fri Aug 30, 2019 10:50 am
by Benj
Hello,

Please can you confirm the short path is valid for the folder.

Details of how to do this here.
https://superuser.com/questions/348079/ ... ctory-file

Re: Incapable de programmer un Arduino avec Flowcode v7.3.0.5

Posted: Fri Aug 30, 2019 2:25 pm
by tech
Bonjour Benj,

Malheureusement je ne suis pas un pro du dos :( j'ai essayer de suivre les étapes mais ca ne semble pas fonctionne!

Quel qu'un pourrais m'aider a ce niveau??, j'aimerais savoir quel commande je dois entrer correctement!?

Merci de votre aide

Chris

Re: Incapable de programmer un Arduino avec Flowcode v7.3.0.5

Posted: Fri Aug 30, 2019 3:16 pm
by LeighM
Run cmd
cmd.jpg
cmd.jpg (29.61 KiB) Viewed 21665 times
Type in the following commands

Code: Select all

cd "C:\Program Files (x86)\Flowcode 7\compilers\avr"
dir /x
see if you get ...
BATCHF~1 batchfiles

Re: Incapable de programmer un Arduino avec Flowcode v7.3.0.5

Posted: Fri Aug 30, 2019 8:46 pm
by tech
Bonjour LeighM,

Voici le resulta (voir image):

Que dois-je faire maitenent?

Merci

Christian

Re: Incapable de programmer un Arduino avec Flowcode v7.3.0.5

Posted: Thu Sep 05, 2019 11:30 am
by LeighM
Has this always been a problem since installation?
Or has it worked OK in the past, then at some point stopped working?

Re: Incapable de programmer un Arduino avec Flowcode v7.3.0.5

Posted: Thu Sep 05, 2019 1:33 pm
by tech
C'est un pack AVR que j'ai fait ajouter a ma licence Flowcode v7 Pro en Mai 2019.

Une fois ma licence activer j'ai fais quel que petit programme sous Arduino MEGA 2560 et c'est a partir de la que j'ai ce problème!

Pour le reste PIC16, 18, uC32.....tout fonctionne bien!

Merci

Christian

Re: Incapable de programmer un Arduino avec Flowcode v7.3.0.5

Posted: Fri Sep 06, 2019 7:59 am
by LeighM
In cmd box, type

Code: Select all

cd \Program Files (x86)\Flowcode 7\compilers\avr\batchfiles
avra.bat
what do you get?

Re: Incapable de programmer un Arduino avec Flowcode v7.3.0.5

Posted: Fri Sep 06, 2019 8:42 pm
by tech
Bonjour,

Voici ce que ca me dit!


Merci

Christian

Re: Incapable de programmer un Arduino avec Flowcode v7.3.0.5

Posted: Wed Sep 11, 2019 7:44 pm
by tech
Bonjour LeighM,

Comment je peux résoudre mon problème maintenant?

Merci

Christian

Re: Incapable de programmer un Arduino avec Flowcode v7.3.0.5

Posted: Wed Sep 25, 2019 9:43 am
by LeighM
Sorry, I have run out of ideas on this one, apart from trying a Flowcode update and patch update.
Or maybe disable any anti-virus or any other system utilities?
I will see if Ben has any further ideas.

Re: Incapable de programmer un Arduino avec Flowcode v7.3.0.5

Posted: Fri Sep 27, 2019 1:06 pm
by tech
Bonjour,

J'airais aimer régler ce problème rapidement :(

Merci

Christian

Re: Incapable de programmer un Arduino avec Flowcode v7.3.0.5

Posted: Thu Oct 10, 2019 2:00 pm
by tech
LeighM,

Y a-t-il une façon de configurer le chemin du dossier avra.bat dans flowcode?

Merci

Christian

Re: Incapable de programmer un Arduino avec Flowcode v7.3.0.5

Posted: Fri Oct 11, 2019 10:35 am
by Benj
Salut christian

D'accord, je crois toujours que le problème est un problème de chemin court. J'ai donc un plan pour essayer de le résoudre pour vous.

Veuillez suivre les étapes suivantes.

1) Désinstallez l’AVR toolchain à partir du panneau de configuration de Programmes
2) Téléchargez la chaine d'outils AVR
3) Installez la chaîne d’outils AVR en spécifiant l’emplacement d’installation en tant que C: \ FC \ AVR \, ce qui évite les problèmes de chemin court.
4) Ouvrez Flowcode et assurez-vous d’utiliser les options par défaut du compilateur.

Espérons que Flowcode compile maintenant correctement pour vous.



Hi Christian,

Right I still beleive the problem is a short path issue so I have a plan to try and solve the issue for you.

Please follow the following steps.

1) Uninstall the AVR toolchain from the Programs control panel
2) Download the AVR toolchain
3) Install the AVR toolchain specifying the installation location as C:\FC\AVR\ this ensures there can be no short path issues
4) Open Flowcode and ensure you are using the default compiler options

Hopefully Flowcode will now compile correctly for you.

Re: Incapable de programmer un Arduino avec Flowcode v7.3.0.5

Posted: Fri Oct 11, 2019 2:37 pm
by tech
Bonjour Benj,

Pour le télécharger le AVR toolchain avez vous un lien?

Merci

Christian

Re: Incapable de programmer un Arduino avec Flowcode v7.3.0.5

Posted: Fri Oct 11, 2019 3:22 pm
by Benj
You can download it from here.
https://www.matrixtsl.com/flowcode/download/

Re: Incapable de programmer un Arduino avec Flowcode v7.3.0.5

Posted: Thu Oct 17, 2019 4:23 pm
by tech
Bonjour Benj,

Ca ne fonctionne pas malheureusement :(

Merci

Christian