Managing Compiler Options
Moderator: Benj
-
- Flowcode V4 User
- Posts: 220
- Joined: Mon Aug 24, 2009 8:38 am
- Has thanked: 2 times
- Been thanked: 34 times
Managing Compiler Options
I am trying to set up my flowcode 7.2.1.4 , for the use of a pickit 3.
When i press the save button my flowcode hangs , I cannot even type in a new name.\
any help would be appreciated.
When i press the save button my flowcode hangs , I cannot even type in a new name.\
any help would be appreciated.
- 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: Managing Compiler Options
Hi Roy,
Can you tell us about your computer. Operating system, RAM, Processor Speed etc.
I've just tried it here and it's working correctly for me.
Maybe the save window is popping up for you behind the main Flowcode window?
Can you tell us about your computer. Operating system, RAM, Processor Speed etc.
I've just tried it here and it's working correctly for me.
Maybe the save window is popping up for you behind the main Flowcode window?
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
Re: Managing Compiler Options
Hi Roy,
Has this just started to happen recently after changing some settings? If you start Flowcode fresh with its default settings does it save a project without freezing? If so then what things are you doing that lead up to the point where it begins to freeze when you save?
Also in the File menu there is Save and there is Save As. Please can you try them both and see if its the same for both? When you click on Save As do you get a window that appears where you can browse to a folder to save to?
Simon
Has this just started to happen recently after changing some settings? If you start Flowcode fresh with its default settings does it save a project without freezing? If so then what things are you doing that lead up to the point where it begins to freeze when you save?
Also in the File menu there is Save and there is Save As. Please can you try them both and see if its the same for both? When you click on Save As do you get a window that appears where you can browse to a folder to save to?
Simon
-
- Flowcode V4 User
- Posts: 220
- Joined: Mon Aug 24, 2009 8:38 am
- Has thanked: 2 times
- Been thanked: 34 times
Re: Managing Compiler Options
I am attempting to change the programmer under the compiler options.
you cannot change default settings,so you need to press the small save button, whereupon a pop up box should appear.
on my PC it does not, instead flow-code is non responsive. every button i try now i just get a sound coming from my speakers.
i even minimized the software prior to clicking this button just to see if it is poping behind , it does not seem to be.
Its a new installation win 1703 ( the latest windows updates) on an existing Laptop that has worked until now.
everything else works with flow-code, i just cannot change my default programmer to pickit 3.
you cannot change default settings,so you need to press the small save button, whereupon a pop up box should appear.
on my PC it does not, instead flow-code is non responsive. every button i try now i just get a sound coming from my speakers.
i even minimized the software prior to clicking this button just to see if it is poping behind , it does not seem to be.
Its a new installation win 1703 ( the latest windows updates) on an existing Laptop that has worked until now.
everything else works with flow-code, i just cannot change my default programmer to pickit 3.
-
- Flowcode V4 User
- Posts: 220
- Joined: Mon Aug 24, 2009 8:38 am
- Has thanked: 2 times
- Been thanked: 34 times
Re: Managing Compiler Options
I have tried compatibility mode and run as administrator. , did not help.
i suspect that it is windows not allowing changes to parts of the hard drive.
is there any other way of changing this.
i exported the setup from another pc, it wont import it as well.
i suspect that it is windows not allowing changes to parts of the hard drive.
is there any other way of changing this.
i exported the setup from another pc, it wont import it as well.
- Attachments
-
- pic.FCS
- (535 Bytes) Downloaded 269 times
-
- computer.png
- (174.15 KiB) Downloaded 4429 times
-
- Flowcode V4 User
- Posts: 220
- Joined: Mon Aug 24, 2009 8:38 am
- Has thanked: 2 times
- Been thanked: 34 times
Re: Managing Compiler Options
ok i found a work around.
1) press on the save icon in compiler options, nothing seems to happen, cannot see popup.
2) type in a name eg Pickit 3 and press enter.
3) pickit 3 appears in the list.
4) now change all required parameters.
5) it works 100% flowcode checked and i am able to program directly to the chip.
what seems to happen is that i cannot see the popup menu , its there just invisible, it also accepts inputs .
1) press on the save icon in compiler options, nothing seems to happen, cannot see popup.
2) type in a name eg Pickit 3 and press enter.
3) pickit 3 appears in the list.
4) now change all required parameters.
5) it works 100% flowcode checked and i am able to program directly to the chip.
what seems to happen is that i cannot see the popup menu , its there just invisible, it also accepts inputs .
- Steve
- Matrix Staff
- Posts: 3433
- Joined: Tue Jan 03, 2006 3:59 pm
- Has thanked: 114 times
- Been thanked: 422 times
Re: Managing Compiler Options
Hi Roy,
I'm glad you've found a work-around. It seems like the window is appearing off-screen for some reason.
There is a workaround - by adding a register entry in this location:
I have copied the default PIC8 compiler entry and slightly edited the <programmer exe> entry and this is what is saved into the registry under this key as a REG_SZ object called "store0":
We'll look into why the save window is not appearing but issues like this which seem specific to a particular PC are notoriously difficult to fix.
Regards,
Steve.
I'm glad you've found a work-around. It seems like the window is appearing off-screen for some reason.
There is a workaround - by adding a register entry in this location:
Code: Select all
\HKEY_CURRENT_USER\Software\MatrixTSL\FlowcodeV7\CompilerSettings
Code: Select all
<root>
<setting title='new_setting2' platform='PIC.*' language='C' path='PIC' >
<compiler exe='$(appdir)compilers\pic\bin\xc8.exe' params='--chip=$(chip) "$(target).c" --MSGDISABLE=359,1273,1388' />
<linker exe='$(appdir)tools\DoNothing\DoNothing.exe' params='' />
<programmer exe='$(appdir)tools\mLoader\mLoaderxx.exe' params='-chip $(chip:u) "$(outdir)$(target).hex"' />
<configure enable='0' exe='' params='' />
<viewer >
<source enable='0' exe='C:\Windows\Notepad.exe' params='$(outdir)$(target).c' />
<asm exe='C:\Windows\Notepad.exe' params='$(outdir)$(target).asm' />
</viewer>
</setting>
</root>
Regards,
Steve.
-
- Posts: 93
- Joined: Mon Sep 23, 2013 4:33 pm
- Has thanked: 5 times
- Been thanked: 6 times
Re: Managing Compiler Options
This is exactly the same as happening on my laptop and desktop PC, see elsewhere in this forum. still no answer on a fix. 

The older the boy the bigger the toy
- Steve
- Matrix Staff
- Posts: 3433
- Joined: Tue Jan 03, 2006 3:59 pm
- Has thanked: 114 times
- Been thanked: 422 times
Re: Managing Compiler Options
Is this only when you want to edit the compiler options or are you seeing this problem with other windows?JFinlayson wrote:This is exactly the same as happening on my laptop and desktop PC, see elsewhere in this forum. still no answer on a fix.
-
- Posts: 93
- Joined: Mon Sep 23, 2013 4:33 pm
- Has thanked: 5 times
- Been thanked: 6 times
Re: Managing Compiler Options
Its only when I press the save Icon. system freezes. hitting return seems to work.
I have previously been updating the registry manually to change settings.
I have previously been updating the registry manually to change settings.
The older the boy the bigger the toy
Re: Managing Compiler Options
JFinlayson, I am looking in to this problem at the moment but I'm struggling to find the problem because I haven't been able to replicate it unfortunately. Something you said has given me a clue though and I just need to check something.JFinlayson wrote:Its only when I press the save Icon. system freezes. hitting return seems to work.
I have previously been updating the registry manually to change settings.
Normally when you click on the save icon this dialog will appear and the OK button will be highlighted by default like it is here:
So, if I hit return at this point it will create some new settings but they wont have a name so it will just create an empty entry on the left side like this:
Is this what is happening with you? Do you get that empty entry created when you press enter?
-
- Posts: 93
- Joined: Mon Sep 23, 2013 4:33 pm
- Has thanked: 5 times
- Been thanked: 6 times
Re: Managing Compiler Options
Sorry for the delay.
No If I press the ICON the system hangs up and when I press enter key whatever is entered for a name is displayed. But I do not see the option save window.
It works by entering name and then pressing the save Icon, followed by the enter key.
No If I press the ICON the system hangs up and when I press enter key whatever is entered for a name is displayed. But I do not see the option save window.
It works by entering name and then pressing the save Icon, followed by the enter key.
The older the boy the bigger the toy
-
- Posts: 93
- Joined: Mon Sep 23, 2013 4:33 pm
- Has thanked: 5 times
- Been thanked: 6 times
Re: Managing Compiler Options
It would appear the dialog window is not appearing!
The older the boy the bigger the toy
-
- Posts: 93
- Joined: Mon Sep 23, 2013 4:33 pm
- Has thanked: 5 times
- Been thanked: 6 times
Re: Managing Compiler Options
My laptop screen resolution is 3200x1800 and my desktop resolution is higher. in case this is affecting where the window is appearing
The older the boy the bigger the toy
- 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: Managing Compiler Options
Did you try Steve's suggestion above of looking / modifying the registry key controlling the window placement.
viewtopic.php?f=63&t=19304#p83725
viewtopic.php?f=63&t=19304#p83725
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: 93
- Joined: Mon Sep 23, 2013 4:33 pm
- Has thanked: 5 times
- Been thanked: 6 times
Re: Managing Compiler Options
I have entered registry keys for my programmer manually before, for what I understand this does not control windows placement, but is programmer information. which would not work with my system. as I don't use mLoader.
The older the boy the bigger the toy