Pic Uc32 not compiling to chip
-
- Posts: 186
- Joined: Wed Jan 23, 2013 3:43 pm
- Has thanked: 2 times
- Been thanked: 21 times
- Contact:
Pic Uc32 not compiling to chip
Hi,
Im trying to use the chipKIT uc32. Its the first time Ive used this device. Even with a simple programme (se attached uc32 test), when trying to compile to chip I get the error message (see attached), complaining that it cant find the specified path... What am I doing wrong?
Regards,
Chris
Im trying to use the chipKIT uc32. Its the first time Ive used this device. Even with a simple programme (se attached uc32 test), when trying to compile to chip I get the error message (see attached), complaining that it cant find the specified path... What am I doing wrong?
Regards,
Chris
- Attachments
-
- uc32 test.fcfx
- (5.38 KiB) Downloaded 359 times
-
- Error Message.PNG
- (35.19 KiB) Downloaded 8507 times
- 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: Pic Uc32 not compiling to chip
Hello,
It looks like the 8.3 short path name feature has been switched off on your copy of Windows.
This FAQ topic should hopefully help get you compiling again.
http://www.matrixtsl.com/faq/index.php? ... short+path
Let us know how you get on.
It looks like the 8.3 short path name feature has been switched off on your copy of Windows.
This FAQ topic should hopefully help get you compiling again.
http://www.matrixtsl.com/faq/index.php? ... short+path
Let us know how you get on.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 186
- Joined: Wed Jan 23, 2013 3:43 pm
- Has thanked: 2 times
- Been thanked: 21 times
- Contact:
Re: Pic Uc32 not compiling to chip
Hi,
I have tried and retried the fixes, the short path feature was / is NOT switched off (I got my IT dept to look at / make the changes so am sure of this). Ive deleated and reinstalled FC7 as per instructions. The problem still the same with the same error code... What else can I try?
Regards,
Chris
I have tried and retried the fixes, the short path feature was / is NOT switched off (I got my IT dept to look at / make the changes so am sure of this). Ive deleated and reinstalled FC7 as per instructions. The problem still the same with the same error code... What else can I try?
Regards,
Chris
-
- Posts: 444
- Joined: Tue Apr 15, 2014 4:19 pm
- Location: Kajaani, Finland
- Has thanked: 345 times
- Been thanked: 227 times
- Contact:
Re: Pic Uc32 not compiling to chip
Hi chris!
Noticed your username has unusual space there, and this could cause errors with the short path name when the ipecmd tries to get to the folder using short name? (Chris Mellors)
Could you create a local username like "Chris" and then use that user to give it a new try with that user?
Or try moving the project to different folder like "C:\FLOWCODE\" ?
I remember that old win 3.1 software run fine on the newer computers, but once had problems with usernames that included äöå and spaces, and usually doing a dir /x in commandline at the base of the long folder names revealed it could not create a working short name.
Noticed your username has unusual space there, and this could cause errors with the short path name when the ipecmd tries to get to the folder using short name? (Chris Mellors)
Could you create a local username like "Chris" and then use that user to give it a new try with that user?
Or try moving the project to different folder like "C:\FLOWCODE\" ?
I remember that old win 3.1 software run fine on the newer computers, but once had problems with usernames that included äöå and spaces, and usually doing a dir /x in commandline at the base of the long folder names revealed it could not create a working short name.
Ill just keep the good work up!
-
- Posts: 186
- Joined: Wed Jan 23, 2013 3:43 pm
- Has thanked: 2 times
- Been thanked: 21 times
- Contact:
Re: Pic Uc32 not compiling to chip
Hi,
Thanks for the suggestion, Ive tried moving the project folder but with no success, the programme still shows the same error!
Has anyone any further suggestions? Has anyone successfully used this device with the current windows virsion?
Regards,
Chris
Thanks for the suggestion, Ive tried moving the project folder but with no success, the programme still shows the same error!
Has anyone any further suggestions? Has anyone successfully used this device with the current windows virsion?
Regards,
Chris
-
- Posts: 186
- Joined: Wed Jan 23, 2013 3:43 pm
- Has thanked: 2 times
- Been thanked: 21 times
- Contact:
Re: Pic Uc32 not compiling to chip
What MPLAB?
The flowcode works correctly for AVR and PIC 16 targets, just not for this uC32 board. Im not changing any windows or FC settings.
Regards,
Chris
The flowcode works correctly for AVR and PIC 16 targets, just not for this uC32 board. Im not changing any windows or FC settings.
Regards,
Chris
-
- Posts: 186
- Joined: Wed Jan 23, 2013 3:43 pm
- Has thanked: 2 times
- Been thanked: 21 times
- Contact:
Re: Pic Uc32 not compiling to chip
Still not able to get this running, but the error message has changed a bit (see attached) if anyone can help Id be most greatfull!
Regards,
Chris
Regards,
Chris
- Attachments
-
- Error2.PNG
- (23.96 KiB) Downloaded 8458 times
- 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: Pic Uc32 not compiling to chip
Hi Chris,
Maybe try taking the space out of the project name, some compilers can be a bit funny with spaces and it certainly doesn't help that we are currently supplying the name without quotes so I will investigate this.
Hmm mine does use quotes.
My Compiler options look like this.
Compiler
Location: $(appdir)compilers\pic32\bin\xc32-gcc.exe
Parameters: -mprocessor=$(chip) -O1 -o "$(srcdir)$(target).out" "$(srcdir)$(target).c"
Linker
Location: $(appdir)compilers\pic32\bin\xc32-bin2hex.exe
Parameters: "$(srcdir)$(target).out"
Maybe try taking the space out of the project name, some compilers can be a bit funny with spaces and it certainly doesn't help that we are currently supplying the name without quotes so I will investigate this.
Hmm mine does use quotes.
Launching the compiler...
C:\Program Files (x86)\Flowcode 7\compilers\pic32\bin\xc32-gcc.exe -mprocessor=32MZ2048EFG144 -O1 -o "C:\Users\BenR\Desktop\Flowcode2.out" "C:\Users\BenR\Desktop\Flowcode2.c"
Launching the linker/assembler...
C:\Program Files (x86)\Flowcode 7\compilers\pic32\bin\xc32-bin2hex.exe "C:\Users\BenR\Desktop\Flowcode2.out"
FINISHED
My Compiler options look like this.
Compiler
Location: $(appdir)compilers\pic32\bin\xc32-gcc.exe
Parameters: -mprocessor=$(chip) -O1 -o "$(srcdir)$(target).out" "$(srcdir)$(target).c"
Linker
Location: $(appdir)compilers\pic32\bin\xc32-bin2hex.exe
Parameters: "$(srcdir)$(target).out"
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- 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: Pic Uc32 not compiling to chip
Hi Chris,
I think I've now sorted all the ChipKit related problems including programming via the bootloader here.
http://www.matrixtsl.com/mmforums/viewt ... 63&t=18330
I think I've now sorted all the ChipKit related problems including programming via the bootloader here.
http://www.matrixtsl.com/mmforums/viewt ... 63&t=18330
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 186
- Joined: Wed Jan 23, 2013 3:43 pm
- Has thanked: 2 times
- Been thanked: 21 times
- Contact:
Re: Pic Uc32 not compiling to chip
Hi,
Thanks for the posts and help,
Ive copied the files to the relevant directories and the Boot-loader option is now in the menu
However Im still getting the error message on compiling to hex. (error message attached)
Looking at the compiler options, Location is the same as in your (Benj) message but the Parameters are different! (see attached), Ive no idea how to change these?
regards,
Chris
Thanks for the posts and help,
Ive copied the files to the relevant directories and the Boot-loader option is now in the menu
However Im still getting the error message on compiling to hex. (error message attached)
Looking at the compiler options, Location is the same as in your (Benj) message but the Parameters are different! (see attached), Ive no idea how to change these?
regards,
Chris
- Attachments
-
- Param CPTure.PNG
- (18.81 KiB) Downloaded 8413 times
-
- New errormsg.PNG
- (25.64 KiB) Downloaded 8413 times
- 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: Pic Uc32 not compiling to chip
Hi Chris,
It looks like you have not copied the Chipkit.zip files correctly.
You should end up with the following directory structure.
"Flowcode 7\compilers\pic32\ChipKit"
It looks like you have not copied the Chipkit.zip files correctly.
You should end up with the following directory structure.
"Flowcode 7\compilers\pic32\ChipKit"
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 186
- Joined: Wed Jan 23, 2013 3:43 pm
- Has thanked: 2 times
- Been thanked: 21 times
- Contact:
Re: Pic Uc32 not compiling to chip
Hi,
Well, progress is being made, Ive re-loaded the CHIPKIT files and the compiler now recognises them. Im still getting an error message (see attached) but the message is diferent and looks like there was an attempt at compiling! Any suggestion o nhow to fix the new error message?
Regards,
Chris
Well, progress is being made, Ive re-loaded the CHIPKIT files and the compiler now recognises them. Im still getting an error message (see attached) but the message is diferent and looks like there was an attempt at compiling! Any suggestion o nhow to fix the new error message?
Regards,
Chris
- Attachments
-
- ErrorMessageDev.PNG
- (30.16 KiB) Downloaded 8399 times
- 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: Pic Uc32 not compiling to chip
Thanks Chris,
I had some code left in my test project supplementary code which was hiding this issue.
Should now be solved using the new files here.
http://www.matrixtsl.com/mmforums/viewt ... 63&t=18209
I had some code left in my test project supplementary code which was hiding this issue.
Should now be solved using the new files here.
http://www.matrixtsl.com/mmforums/viewt ... 63&t=18209
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- JohnCrow
- Valued Contributor
- Posts: 1367
- Joined: Wed Sep 19, 2007 1:21 pm
- Location: Lincolnshire
- Has thanked: 364 times
- Been thanked: 716 times
- Contact:
Re: Pic Uc32 not compiling to chip
Hi Ben
I'm now getting this error.
Launching the programmer...
C:\Program Files (x86)\Matrix TSL\Flowcode V7\compilers\pic32\bin\pic32prog.exe -d com3 "Flasher_Fast.hex"
Cannot find the file: C:\Program Files (x86)\Matrix TSL\Flowcode V7\compilers\pic32\bin\pic32prog.exe
ERROR: GetShortPathName(): The system cannot find the file specified.
ERROR: Can not launch process: The system cannot find the file specified.
C:\Program Files (x86)\Matrix TSL\Flowcode V7\compilers\pic32\bin\pic32prog.exe reported error code -1
Im not able to find this file anywhere on my system "pic32prog.exe"
I'm now getting this error.
Launching the programmer...
C:\Program Files (x86)\Matrix TSL\Flowcode V7\compilers\pic32\bin\pic32prog.exe -d com3 "Flasher_Fast.hex"
Cannot find the file: C:\Program Files (x86)\Matrix TSL\Flowcode V7\compilers\pic32\bin\pic32prog.exe
ERROR: GetShortPathName(): The system cannot find the file specified.
ERROR: Can not launch process: The system cannot find the file specified.
C:\Program Files (x86)\Matrix TSL\Flowcode V7\compilers\pic32\bin\pic32prog.exe reported error code -1
Im not able to find this file anywhere on my system "pic32prog.exe"
1 in 10 people understand binary, the other one doesn't !
-
- Posts: 186
- Joined: Wed Jan 23, 2013 3:43 pm
- Has thanked: 2 times
- Been thanked: 21 times
- Contact:
Re: Pic Uc32 not compiling to chip
Hi,
Ive downloaded and merged the directories.
Im now getting this error message (see attached)
Regards,
Chris
Ive downloaded and merged the directories.
Im now getting this error message (see attached)
Regards,
Chris
- Attachments
-
- Further errorTuesday.PNG
- (29.99 KiB) Downloaded 8349 times
- 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: Pic Uc32 not compiling to chip
Hi John,
The files are now there in the latest zip file in the "compilers/pic32/bin" folder.
http://www.matrixtsl.com/mmforums/viewt ... 63&t=18209
Hi Chris
Sorry you're absolutely right I missed this from the update.Im not able to find this file anywhere on my system "pic32prog.exe"
The files are now there in the latest zip file in the "compilers/pic32/bin" folder.
http://www.matrixtsl.com/mmforums/viewt ... 63&t=18209
Hi Chris
After merging the directories did you restart Flowcode? It sounds like it's still using an older definition file as the MPIDE version should now be being declared.Hi,
Ive downloaded and merged the directories.
Im now getting this error message (see attached)
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 186
- Joined: Wed Jan 23, 2013 3:43 pm
- Has thanked: 2 times
- Been thanked: 21 times
- Contact:
Re: Pic Uc32 not compiling to chip
Yey, all working well!!!
Thanks again very much for your help!
Really impressed with both your technical help and the speed of response to messages!
Regards,
Chris
Thanks again very much for your help!
Really impressed with both your technical help and the speed of response to messages!
Regards,
Chris
- JohnCrow
- Valued Contributor
- Posts: 1367
- Joined: Wed Sep 19, 2007 1:21 pm
- Location: Lincolnshire
- Has thanked: 364 times
- Been thanked: 716 times
- Contact:
Re: Pic Uc32 not compiling to chip
That's it, all working.
Thanks Ben.
Thanks Ben.
1 in 10 people understand binary, the other one doesn't !