Incapable de programmer un Arduino avec Flowcode v7.3.0.5

Forum de support pour les locuteurs de la langue française qui souhaitent écrire dans leur langue maternelle.

Moderator: Benj

Post Reply
tech
Posts: 353
Joined: Tue Sep 23, 2008 9:39 am
Been thanked: 9 times
Contact:

Incapable de programmer un Arduino avec Flowcode v7.3.0.5

Post 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

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times
Contact:

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

Post by LeighM »

Can you try with a project stored on the local drive (C: ) ?

tech
Posts: 353
Joined: Tue Sep 23, 2008 9:39 am
Been thanked: 9 times
Contact:

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

Post by tech »

Bonjour LeighM,

Ok, je vais essayer ca!

Merci

Chris

tech
Posts: 353
Joined: Tue Sep 23, 2008 9:39 am
Been thanked: 9 times
Contact:

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

Post 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

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

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

Post 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

tech
Posts: 353
Joined: Tue Sep 23, 2008 9:39 am
Been thanked: 9 times
Contact:

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

Post 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
Attachments
avra.jpg
avra.jpg (72.81 KiB) Viewed 20172 times

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

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

Post 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

tech
Posts: 353
Joined: Tue Sep 23, 2008 9:39 am
Been thanked: 9 times
Contact:

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

Post 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

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times
Contact:

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

Post by LeighM »

Run cmd
cmd.jpg
cmd.jpg (29.61 KiB) Viewed 20147 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

tech
Posts: 353
Joined: Tue Sep 23, 2008 9:39 am
Been thanked: 9 times
Contact:

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

Post by tech »

Bonjour LeighM,

Voici le resulta (voir image):

Que dois-je faire maitenent?

Merci

Christian
Attachments
cmd.png
(37.6 KiB) Downloaded 4542 times

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times
Contact:

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

Post by LeighM »

Has this always been a problem since installation?
Or has it worked OK in the past, then at some point stopped working?

tech
Posts: 353
Joined: Tue Sep 23, 2008 9:39 am
Been thanked: 9 times
Contact:

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

Post 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

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times
Contact:

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

Post by LeighM »

In cmd box, type

Code: Select all

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

tech
Posts: 353
Joined: Tue Sep 23, 2008 9:39 am
Been thanked: 9 times
Contact:

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

Post by tech »

Bonjour,

Voici ce que ca me dit!


Merci

Christian
Attachments
cmd_1.png
(55.67 KiB) Downloaded 4307 times

tech
Posts: 353
Joined: Tue Sep 23, 2008 9:39 am
Been thanked: 9 times
Contact:

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

Post by tech »

Bonjour LeighM,

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

Merci

Christian

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times
Contact:

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

Post 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.

tech
Posts: 353
Joined: Tue Sep 23, 2008 9:39 am
Been thanked: 9 times
Contact:

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

Post by tech »

Bonjour,

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

Merci

Christian

tech
Posts: 353
Joined: Tue Sep 23, 2008 9:39 am
Been thanked: 9 times
Contact:

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

Post by tech »

LeighM,

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

Merci

Christian

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

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

Post 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.

tech
Posts: 353
Joined: Tue Sep 23, 2008 9:39 am
Been thanked: 9 times
Contact:

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

Post by tech »

Bonjour Benj,

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

Merci

Christian

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

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

Post by Benj »

You can download it from here.
https://www.matrixtsl.com/flowcode/download/

tech
Posts: 353
Joined: Tue Sep 23, 2008 9:39 am
Been thanked: 9 times
Contact:

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

Post by tech »

Bonjour Benj,

Ca ne fonctionne pas malheureusement :(

Merci

Christian

Post Reply