Access Violation reading from flash drive
Moderator: Benj
-
- Posts: 139
- Joined: Mon Sep 21, 2009 10:17 am
- Location: Leicester
- Has thanked: 35 times
- Been thanked: 12 times
Access Violation reading from flash drive
Hi,
I have a bizarre problem that I don't understand and need help with.
I had had problems compiling to hex with a report saying error code 5
In response to this I formatted re-installed xpV3 and the FCV4 program whilst at the same time downloaded and installed V4.1.
I completed my code,simulated it then compiled and uploaded to PIC16F628A. I had the file stored on an external USB hard drive and all worked well.
I noticed my code needed one last tweek so made the tweak, simulated successfully and saved the file to my documents on the usual C drive.
I then tried to compile to HEX and to the chip but the compile reported it failed with code 37 and a message saying hex file could not be found!.
No problem I thought! I put the fcf file to my flash drive. Closed Flowcode, re-opened it and reloaded the file to ensure transfer was OK. The file opened no problem but still would not compile correctly. I got the same messages saying the hex file could not be found but the pickit 2 programmer went into program mode anyway and programmed my chip with an earlier instance of my code!!!???.
I ejected my flash drive and took it to my laptop which is running the same V4.1 and has no problems compiling or programming. The file refused to open returning a message error: access violation 0x0045716E. Tried to read from 0x0000C0 and then crashed flowcode.
I returned the flash drive to the other machine that had previously opened the file and tried to open the file on that machine. It returned exactly the same violation error and crashed flowcode. I have done this twice with the same results.
I desperately need help with this so can anyone assist in a cure.
There are an awful lot of posts on this forum with similar bizarre program behaviour and bugs involving paths and permissions. I am coming to the conclusion that this program is too buggy to continue with.
I have a bizarre problem that I don't understand and need help with.
I had had problems compiling to hex with a report saying error code 5
In response to this I formatted re-installed xpV3 and the FCV4 program whilst at the same time downloaded and installed V4.1.
I completed my code,simulated it then compiled and uploaded to PIC16F628A. I had the file stored on an external USB hard drive and all worked well.
I noticed my code needed one last tweek so made the tweak, simulated successfully and saved the file to my documents on the usual C drive.
I then tried to compile to HEX and to the chip but the compile reported it failed with code 37 and a message saying hex file could not be found!.
No problem I thought! I put the fcf file to my flash drive. Closed Flowcode, re-opened it and reloaded the file to ensure transfer was OK. The file opened no problem but still would not compile correctly. I got the same messages saying the hex file could not be found but the pickit 2 programmer went into program mode anyway and programmed my chip with an earlier instance of my code!!!???.
I ejected my flash drive and took it to my laptop which is running the same V4.1 and has no problems compiling or programming. The file refused to open returning a message error: access violation 0x0045716E. Tried to read from 0x0000C0 and then crashed flowcode.
I returned the flash drive to the other machine that had previously opened the file and tried to open the file on that machine. It returned exactly the same violation error and crashed flowcode. I have done this twice with the same results.
I desperately need help with this so can anyone assist in a cure.
There are an awful lot of posts on this forum with similar bizarre program behaviour and bugs involving paths and permissions. I am coming to the conclusion that this program is too buggy to continue with.
-
- Flowcode V4 User
- Posts: 5
- Joined: Tue Aug 12, 2008 12:54 pm
- Location: Matrix Multimedia Ltd, Halifax, UK
- Contact:
Re: Access Violation reading from flash drive
Hello,
Generally it is not a good idea to load and save your programs directly to a flash drive. From your discription of the problem I can see that there are a lot of things that can go wrong outside the Flowcode's control. It is possible that your file is currupted by the OS as it delays writes to the flash drives. If you can post the file here then I should be able to check it for you.
Regards,
Rehan
Generally it is not a good idea to load and save your programs directly to a flash drive. From your discription of the problem I can see that there are a lot of things that can go wrong outside the Flowcode's control. It is possible that your file is currupted by the OS as it delays writes to the flash drives. If you can post the file here then I should be able to check it for you.
Regards,
Rehan
-
- Posts: 139
- Joined: Mon Sep 21, 2009 10:17 am
- Location: Leicester
- Has thanked: 35 times
- Been thanked: 12 times
Re: Access Violation reading from flash drive
Here is the file.
I am having to transfer the file to the laptop because I can not get the file to compile on the main machine. The main machine WAS working and programming OK until I saved the file to a new, more convenient location, i.e. on the C drive instead of external USB drive. Now, even when I open from the original location, the compile to hex and to chip functions will not complete. I have tried saving under different filename, short file name, long filename etc. etc. but the compile functions return errors.
all the program files etc. are in default locations but I am a little confused about the correct options for use with pickit 2. The info on the forums are contradictory. 1 post says to enable 'use external program to set configuration' and another says to disable this option. Also, the configuration options shown in the help files are for V3.
There needs to be a definitive set of instructions for this once and for all in my opinion. Reading on the forum, there is no definitive solution for pikit2 users with several variants in play.
I have attached the files here together with the log file that is produced during compile.
I am at my whits end with it at the moment so hope you can sort it.
Dave
I am having to transfer the file to the laptop because I can not get the file to compile on the main machine. The main machine WAS working and programming OK until I saved the file to a new, more convenient location, i.e. on the C drive instead of external USB drive. Now, even when I open from the original location, the compile to hex and to chip functions will not complete. I have tried saving under different filename, short file name, long filename etc. etc. but the compile functions return errors.
all the program files etc. are in default locations but I am a little confused about the correct options for use with pickit 2. The info on the forums are contradictory. 1 post says to enable 'use external program to set configuration' and another says to disable this option. Also, the configuration options shown in the help files are for V3.
There needs to be a definitive set of instructions for this once and for all in my opinion. Reading on the forum, there is no definitive solution for pikit2 users with several variants in play.
I have attached the files here together with the log file that is produced during compile.
I am at my whits end with it at the moment so hope you can sort it.
Dave
- Attachments
-
- DMUCountdown.obj
- (48.92 KiB) Downloaded 376 times
-
- DMUCountdown.c
- (10.78 KiB) Downloaded 355 times
-
- DMUCountdown.fcf
- (11.5 KiB) Downloaded 387 times
-
- Posts: 139
- Joined: Mon Sep 21, 2009 10:17 am
- Location: Leicester
- Has thanked: 35 times
- Been thanked: 12 times
Re: Access Violation reading from flash drive
Here is the message log file also....was limited to 3 file attachments.
- Attachments
-
- DMUCountdown.msg.txt
- (1.27 KiB) Downloaded 366 times
-
- Posts: 139
- Joined: Mon Sep 21, 2009 10:17 am
- Location: Leicester
- Has thanked: 35 times
- Been thanked: 12 times
Re: Access Violation reading from flash drive
I am now going to copy verbosely, the compile options from the laptop to this machine as I have been tinkering and lost my way a little but there was no change when the failure to compile first went wrong.
I'll post back shortly when I know if this corrects anything
Dave
I'll post back shortly when I know if this corrects anything
Dave
-
- Posts: 139
- Joined: Mon Sep 21, 2009 10:17 am
- Location: Leicester
- Has thanked: 35 times
- Been thanked: 12 times
Re: Access Violation reading from flash drive
Ok, I now have identical parameters in the compile options fields as I have on the laptop and compile still fails as seen below.
File name: C:\Documents and Settings\Dave\Desktop\DMUFILES\DMUCountdown.c
Generated by: Flowcode v4.1.1.55
Date: Thursday, October 08, 2009 13:14:07
Licence: Professional
Registered to: Dave Benning
http://www.matrixmultimedia.com
Launching the compiler...
C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\Boostc.pic16.flowcode.exe -v -t PIC16F628A "DMUCountdown.c"
BoostC Optimizing C Compiler Version 6.95 (for PIC16 architecture)
http://www.sourceboost.com
Copyright(C) 2004-2009 Pavel Baranov
Copyright(C) 2004-2009 David Hobday
Licensed to FlowCode User under Single user Pro License for 1 node(s)
Limitations: PIC12,PIC16 max code size:Unlimited, max RAM banks:Unlimited
DMUCountdown.c
Starting preprocessor: C:\PROGRA~1\MATRIX~1\FLOWCO~1\BoostC\pp.exe "C:\Documents and Settings\Dave\Desktop\DMUFILES\DMUCountdown.c" -i C:\PROGRA~1\MATRIX~1\FLOWCO~1\BoostC\include -d _PIC16F628A -la -c2 -o "C:\Documents and Settings\Dave\Desktop\DMUFILES\DMUCountdown.pp" -v -d _BOOSTC -d _PIC16
..............
DMUCountdown.c success
success
Return code = 0
Launching the linker/assembler...
C:\Program Files\Matrix Multimedia\Flowcode V4\boostc\boostlink.pic.exe -ld "C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\lib" libc.pic16.lib flowcode.pic16.lib" rand.pic16.lib float.pic16.lib "DMUCountdown.obj" -t pic16F628A -d "&d" -p "DMUCountdown"
Failed to execute target process
(Error code 5)
Return code = 0
FINISHED
There is no distinct reason why the compile fails as I can see....am now tearing my hair out over this. THERE HAS TO BE A REASON....both machines are using the same antivirus, firewall and OS to the same revisions and all the program file locations and revisions are the same....to the letter. and yet the laptop compiles without issue but this machine won't. But it did last night and nothing has changed except the working file location............WHAT'S WRONG WITH THIS SOFTWARE...aaarrrrrggghhhhhhhhhh
File name: C:\Documents and Settings\Dave\Desktop\DMUFILES\DMUCountdown.c
Generated by: Flowcode v4.1.1.55
Date: Thursday, October 08, 2009 13:14:07
Licence: Professional
Registered to: Dave Benning
http://www.matrixmultimedia.com
Launching the compiler...
C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\Boostc.pic16.flowcode.exe -v -t PIC16F628A "DMUCountdown.c"
BoostC Optimizing C Compiler Version 6.95 (for PIC16 architecture)
http://www.sourceboost.com
Copyright(C) 2004-2009 Pavel Baranov
Copyright(C) 2004-2009 David Hobday
Licensed to FlowCode User under Single user Pro License for 1 node(s)
Limitations: PIC12,PIC16 max code size:Unlimited, max RAM banks:Unlimited
DMUCountdown.c
Starting preprocessor: C:\PROGRA~1\MATRIX~1\FLOWCO~1\BoostC\pp.exe "C:\Documents and Settings\Dave\Desktop\DMUFILES\DMUCountdown.c" -i C:\PROGRA~1\MATRIX~1\FLOWCO~1\BoostC\include -d _PIC16F628A -la -c2 -o "C:\Documents and Settings\Dave\Desktop\DMUFILES\DMUCountdown.pp" -v -d _BOOSTC -d _PIC16
..............
DMUCountdown.c success
success
Return code = 0
Launching the linker/assembler...
C:\Program Files\Matrix Multimedia\Flowcode V4\boostc\boostlink.pic.exe -ld "C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\lib" libc.pic16.lib flowcode.pic16.lib" rand.pic16.lib float.pic16.lib "DMUCountdown.obj" -t pic16F628A -d "&d" -p "DMUCountdown"
Failed to execute target process
(Error code 5)
Return code = 0
FINISHED
There is no distinct reason why the compile fails as I can see....am now tearing my hair out over this. THERE HAS TO BE A REASON....both machines are using the same antivirus, firewall and OS to the same revisions and all the program file locations and revisions are the same....to the letter. and yet the laptop compiles without issue but this machine won't. But it did last night and nothing has changed except the working file location............WHAT'S WRONG WITH THIS SOFTWARE...aaarrrrrggghhhhhhhhhh
-
- Posts: 139
- Joined: Mon Sep 21, 2009 10:17 am
- Location: Leicester
- Has thanked: 35 times
- Been thanked: 12 times
Re: Access Violation reading from flash drive
Done nothing except tried to compile to chip again and get a different response this time...this is truly whacky.......see below...
ile name: C:\Documents and Settings\Dave\Desktop\DMUFILES\DMUCountdown.c
Generated by: Flowcode v4.1.1.55
Date: Thursday, October 08, 2009 13:23:46
Licence: Professional
Registered to: Dave Benning
http://www.matrixmultimedia.com
Launching the compiler...
C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\Boostc.pic16.flowcode.exe -v -t PIC16F628A "DMUCountdown.c"
BoostC Optimizing C Compiler Version 6.95 (for PIC16 architecture)
http://www.sourceboost.com
Copyright(C) 2004-2009 Pavel Baranov
Copyright(C) 2004-2009 David Hobday
Licensed to FlowCode User under Single user Pro License for 1 node(s)
Limitations: PIC12,PIC16 max code size:Unlimited, max RAM banks:Unlimited
DMUCountdown.c
Starting preprocessor: C:\PROGRA~1\MATRIX~1\FLOWCO~1\BoostC\pp.exe "C:\Documents and Settings\Dave\Desktop\DMUFILES\DMUCountdown.c" -i C:\PROGRA~1\MATRIX~1\FLOWCO~1\BoostC\include -d _PIC16F628A -la -c2 -o "C:\Documents and Settings\Dave\Desktop\DMUFILES\DMUCountdown.pp" -v -d _BOOSTC -d _PIC16
..............
DMUCountdown.c success
success
Return code = 0
Launching the linker/assembler...
C:\Program Files\Matrix Multimedia\Flowcode V4\boostc\boostlink.pic.exe -ld "C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\lib" libc.pic16.lib flowcode.pic16.lib" rand.pic16.lib float.pic16.lib "DMUCountdown.obj" -t pic16F628A -d "&d" -p "DMUCountdown"
Failed to execute target process
(Error code 5)
Return code = 0
Launching the programmer...
C:\Program Files\Matrix Multimedia\Flowcode V4\Tools\PICkit2\pk2cmd_mtx.exe -PPIC16F628A -FDMUCOU~1.hex -M -A5 -H
Hex file not found.
Return code = 37
Flowcode was unable to transfer the flowchart to the microcontroller. Check the programmer options and physical connections.
FINISHED
ile name: C:\Documents and Settings\Dave\Desktop\DMUFILES\DMUCountdown.c
Generated by: Flowcode v4.1.1.55
Date: Thursday, October 08, 2009 13:23:46
Licence: Professional
Registered to: Dave Benning
http://www.matrixmultimedia.com
Launching the compiler...
C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\Boostc.pic16.flowcode.exe -v -t PIC16F628A "DMUCountdown.c"
BoostC Optimizing C Compiler Version 6.95 (for PIC16 architecture)
http://www.sourceboost.com
Copyright(C) 2004-2009 Pavel Baranov
Copyright(C) 2004-2009 David Hobday
Licensed to FlowCode User under Single user Pro License for 1 node(s)
Limitations: PIC12,PIC16 max code size:Unlimited, max RAM banks:Unlimited
DMUCountdown.c
Starting preprocessor: C:\PROGRA~1\MATRIX~1\FLOWCO~1\BoostC\pp.exe "C:\Documents and Settings\Dave\Desktop\DMUFILES\DMUCountdown.c" -i C:\PROGRA~1\MATRIX~1\FLOWCO~1\BoostC\include -d _PIC16F628A -la -c2 -o "C:\Documents and Settings\Dave\Desktop\DMUFILES\DMUCountdown.pp" -v -d _BOOSTC -d _PIC16
..............
DMUCountdown.c success
success
Return code = 0
Launching the linker/assembler...
C:\Program Files\Matrix Multimedia\Flowcode V4\boostc\boostlink.pic.exe -ld "C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\lib" libc.pic16.lib flowcode.pic16.lib" rand.pic16.lib float.pic16.lib "DMUCountdown.obj" -t pic16F628A -d "&d" -p "DMUCountdown"
Failed to execute target process
(Error code 5)
Return code = 0
Launching the programmer...
C:\Program Files\Matrix Multimedia\Flowcode V4\Tools\PICkit2\pk2cmd_mtx.exe -PPIC16F628A -FDMUCOU~1.hex -M -A5 -H
Hex file not found.
Return code = 37
Flowcode was unable to transfer the flowchart to the microcontroller. Check the programmer options and physical connections.
FINISHED
- 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: Access Violation reading from flash drive
Hello Dave
Which Antivirus, Firewall and OS are you using?
Have you ever used a registry cleaner or system maintenance tool? If so then what did you use?
As mentioned previously I have not seen another customer having this (Error code 5) problem but your right there must be something specific causing this.
Which Antivirus, Firewall and OS are you using?
Have you ever used a registry cleaner or system maintenance tool? If so then what did you use?
As mentioned previously I have not seen another customer having this (Error code 5) problem but your right there must be something specific causing this.
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
- Steve
- Matrix Staff
- Posts: 3433
- Joined: Tue Jan 03, 2006 3:59 pm
- Has thanked: 114 times
- Been thanked: 422 times
Re: Access Violation reading from flash drive
"Error code 5" means "access denied". It looks like something on your PC is preventing the execution of the linker exe. I suspect the antivirus software.
-
- Posts: 139
- Joined: Mon Sep 21, 2009 10:17 am
- Location: Leicester
- Has thanked: 35 times
- Been thanked: 12 times
Re: Access Violation reading from flash drive
Hi Ben,
am using Antivir 9.00410 Last updated today - on both machines.
Comodo Firewall V3.9.95478.509. Set in training mode.
The installation is entirely new and no maintenance of any description has been run, not even a defrag yet! Besides, the program only reacted badly when I moved the working file using 'save as' to my local drive on C from and external USB drive that I used to backup before the re-installation of the system. Opening the file from the external drive as before returns the same error so whatever I did by saving the working file to a local drive/folder has permanently changed something in the way the software works or references files.
At one point. I opened the pickit2 software independently and erased the pic to ensure it was empty. Then went to recompile a tweaked version of my code, got error messages during compile but the chip then programmed with an earlier version of my code despite the error window saying it couldn't!!!!.......really, really bizarre and now in trouble as I HAVE to deliver working units tomorrow at a meeting with the DTI and my client
Strange thing is, the system was working fine.....as I emailed you to confirm!.......until I moved the working file.
I have re-booted, checked long filename settings etc...etc...but nothing works.
I actually take issue with your comment that no other users are having similar problems, the forums are littered with similar problems......mostly related to Vista. I run xp V3 which, I am told, is basically Vista without all the prettieness....perhaps this is something to do with it?.....but then again.........so is the laptop which is fine.
Also, you had heard of this before when it first happened to me during evaluation.......you sent me to http://www.buildautomator.com/blog/inde ... -error-c-5 as a possible cure or to get more info.
There are loads of people having compile problems and there is much discussion on 'paths', filenames, folder locations etc that lead me to conclude that there IS a major bug somewhere or incompatibility in some way that seriously needs to be sorted.
Seriously, I am more than prepared to setup logmein or something similar and give you remote access if this helps sort this problem.....I am really desperate and many other users would be glad of a resolution I am sure. Can someone not grab this by the nuts and resolve it once and for all.
Cheers
Dave
am using Antivir 9.00410 Last updated today - on both machines.
Comodo Firewall V3.9.95478.509. Set in training mode.
The installation is entirely new and no maintenance of any description has been run, not even a defrag yet! Besides, the program only reacted badly when I moved the working file using 'save as' to my local drive on C from and external USB drive that I used to backup before the re-installation of the system. Opening the file from the external drive as before returns the same error so whatever I did by saving the working file to a local drive/folder has permanently changed something in the way the software works or references files.
At one point. I opened the pickit2 software independently and erased the pic to ensure it was empty. Then went to recompile a tweaked version of my code, got error messages during compile but the chip then programmed with an earlier version of my code despite the error window saying it couldn't!!!!.......really, really bizarre and now in trouble as I HAVE to deliver working units tomorrow at a meeting with the DTI and my client
Strange thing is, the system was working fine.....as I emailed you to confirm!.......until I moved the working file.
I have re-booted, checked long filename settings etc...etc...but nothing works.
I actually take issue with your comment that no other users are having similar problems, the forums are littered with similar problems......mostly related to Vista. I run xp V3 which, I am told, is basically Vista without all the prettieness....perhaps this is something to do with it?.....but then again.........so is the laptop which is fine.
Also, you had heard of this before when it first happened to me during evaluation.......you sent me to http://www.buildautomator.com/blog/inde ... -error-c-5 as a possible cure or to get more info.
There are loads of people having compile problems and there is much discussion on 'paths', filenames, folder locations etc that lead me to conclude that there IS a major bug somewhere or incompatibility in some way that seriously needs to be sorted.
Seriously, I am more than prepared to setup logmein or something similar and give you remote access if this helps sort this problem.....I am really desperate and many other users would be glad of a resolution I am sure. Can someone not grab this by the nuts and resolve it once and for all.
Cheers
Dave
- Steve
- Matrix Staff
- Posts: 3433
- Joined: Tue Jan 03, 2006 3:59 pm
- Has thanked: 114 times
- Been thanked: 422 times
Re: Access Violation reading from flash drive
Dave,
The previous version probably loads into the chip because the HEX file already exists from a previous compile.
There is nothing in the "save as" that could cause this error from happening. It is likely that an update to your Antivirus software has made it think the linker file is "dangerous". We have had this with other antivirus software - basically the linker file is named something like "linker.pic.exe" and the antivirus software thinks it is dangerous because of this double extension. We have had this with both AVG and another one - both companies did eventually "white-list" the program when we complained about it.
Please try to see if you can set this file as an exception in the antivirus software.
As a short-term solution, why don't you send your Flowcode program to Ben in a PM and he will return a compiled HEX file. This might allow you to get a working copy for your meeting tomorrow.
The previous version probably loads into the chip because the HEX file already exists from a previous compile.
There is nothing in the "save as" that could cause this error from happening. It is likely that an update to your Antivirus software has made it think the linker file is "dangerous". We have had this with other antivirus software - basically the linker file is named something like "linker.pic.exe" and the antivirus software thinks it is dangerous because of this double extension. We have had this with both AVG and another one - both companies did eventually "white-list" the program when we complained about it.
Please try to see if you can set this file as an exception in the antivirus software.
As a short-term solution, why don't you send your Flowcode program to Ben in a PM and he will return a compiled HEX file. This might allow you to get a working copy for your meeting tomorrow.
-
- Posts: 139
- Joined: Mon Sep 21, 2009 10:17 am
- Location: Leicester
- Has thanked: 35 times
- Been thanked: 12 times
Re: Access Violation reading from flash drive
steve wrote:"Error code 5" means "access denied". It looks like something on your PC is preventing the execution of the linker exe. I suspect the antivirus software.
Hi Steve,
How could the linker be working fine one minute, go for a cup of tea and then stop working the next.....it makes no sense! Something had to have happened when saving the working file to a new local location.......but what?......what does the linker need to function and what requirement of the linker is not being fulfilled by simply moving a file?.....both drives are NTFSa nd no other files have proved to be a problem with any other app.........logic dictates that there is a bug somewhere surely?!
I have just switched off and prevented using, Antivir altogether and run the prog again. No change in the results.....still won't compile to hex and same error messages as before after a full reboot.
I have checked the system error logs as well as the antivirus and firewall logs and there is nothing whatsoever flagged except the windows time service but that is irrelevant I am sure.
Am at a complete loss......one minute working fine, the next not working and done nothing to invoke this at all other than move the working file.....I think you need to acknowledge that there is a bug somewhere in your program or the compiler or something as any other explanation has been ruled out it seems. It isn't at all helpful being told that something on my PC is causing the problem.....I need to know what something.....thats like taking a car that won't start into a garage and the mechanic saying "It's something to do with the roads you're driving on"
Am going to have to try and start the code from new on the laptop and struggle with the stupid scratchy pad input device which will take hours and bring me close to chucking it through the window. I simply can't afford to waste any more time trying to resolve this issue with deadlines to meet. I am regretting considering it now and will most probably return it for a refund if I can't resolve the stupid errors soon.
Am not impressed at all.....4 days now in total trying to communicate and get to the bottom of it and no nearer a solution......goes beyond trying one's patience I feel. If the developers can't resolve it then it ain't worth wasting time with it.
Good luck
-
- Flowcode V4 User
- Posts: 5
- Joined: Tue Aug 12, 2008 12:54 pm
- Location: Matrix Multimedia Ltd, Halifax, UK
- Contact:
Re: Access Violation reading from flash drive
Hi,
I have successfully compiled your file and it works perfectly even on my Win7 machine. So the possibility of OS being a problem is very slim. It all points to your antivirus as Steve and Ben already mentioned. For a quick test you can try disabling your antivirus temporarily and try compiling. Alternatively, I can send you the hex file via PM or email.
I have successfully compiled your file and it works perfectly even on my Win7 machine. So the possibility of OS being a problem is very slim. It all points to your antivirus as Steve and Ben already mentioned. For a quick test you can try disabling your antivirus temporarily and try compiling. Alternatively, I can send you the hex file via PM or email.
- 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: Access Violation reading from flash drive
Hello Dave
If you have disabled your antivirus software then you will need to try reinstalling Flowcode. Alternativly a repair might also fix the problem.
What I have experienced in the past is that the antivirus will remove the linker file thinking it is a virus. If you simply disable your antivirus software then the linker file will still be missing.
Other then this are you logged in as an administrator on your PC? or do you at least have write permissions for the folder you are compiling to?
I know these kinds of inconsistensies are annoying at best but please trust me when I say that Flowcode will save you a lot of time even with the problems you are currently experiencing, the alternative of coding in Basic, C or ASM is not just a few extra days work but probably a few months extra work to get the code to all work correctly especially if you have not used C or ASM before.
Here is a suggestion, why not create the code on your desktop computer then manually transfer the project FCF file to your pen drive so you can open the file on your laptop and compile from there.
If you have disabled your antivirus software then you will need to try reinstalling Flowcode. Alternativly a repair might also fix the problem.
What I have experienced in the past is that the antivirus will remove the linker file thinking it is a virus. If you simply disable your antivirus software then the linker file will still be missing.
Other then this are you logged in as an administrator on your PC? or do you at least have write permissions for the folder you are compiling to?
I know these kinds of inconsistensies are annoying at best but please trust me when I say that Flowcode will save you a lot of time even with the problems you are currently experiencing, the alternative of coding in Basic, C or ASM is not just a few extra days work but probably a few months extra work to get the code to all work correctly especially if you have not used C or ASM before.
Here is a suggestion, why not create the code on your desktop computer then manually transfer the project FCF file to your pen drive so you can open the file on your laptop and compile from there.
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: 139
- Joined: Mon Sep 21, 2009 10:17 am
- Location: Leicester
- Has thanked: 35 times
- Been thanked: 12 times
Re: Access Violation reading from flash drive
Hi,
I have taken on board what you said about the possible interaction of antivirus software and compltely uninstalled it and rebooted.
This is the result....
File name: C:\Documents and Settings\Dave\Desktop\DMUFILES\DMUCountdown.c
Generated by: Flowcode v4.1.1.55
Date: Thursday, October 08, 2009 16:26:02
Licence: Professional
Registered to: Dave Benning
http://www.matrixmultimedia.com
Launching the compiler...
C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\boostc.pic16.flowcode.exe -v -t PIC16F628A "DMUCountdown.c"
BoostC Optimizing C Compiler Version 6.95 (for PIC16 architecture)
http://www.sourceboost.com
Copyright(C) 2004-2009 Pavel Baranov
Copyright(C) 2004-2009 David Hobday
Licensed to FlowCode User under Single user Pro License for 1 node(s)
Limitations: PIC12,PIC16 max code size:Unlimited, max RAM banks:Unlimited
DMUCountdown.c
Starting preprocessor: C:\PROGRA~1\MATRIX~1\FLOWCO~1\BoostC\pp.exe "C:\Documents and Settings\Dave\Desktop\DMUFILES\DMUCountdown.c" -i C:\PROGRA~1\MATRIX~1\FLOWCO~1\BoostC\include -d _PIC16F628A -la -c2 -o "C:\Documents and Settings\Dave\Desktop\DMUFILES\DMUCountdown.pp" -v -d _BOOSTC -d _PIC16
........................
DMUCountdown.c success
success
Return code = 0
Launching the linker/assembler...
C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\boostlink.pic.exe -ld "C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\lib" libc.pic16.lib flowcode.pic16.lib rand.pic16.lib float.pic16.lib "DMUCountdown.obj" -t PIC16F628A -d "C:\Documents and Settings\Dave\Desktop\DMUFILES" -p "DMUCountdown"
Failed to execute target process
(Error code 5)
....................
Return code = 0
FINISHED
This is the result when using the original file which was working perfectly until I copied it to C drive.
File name: L:\CDriveBackup\Projects\DMU\DMUCountown.c
Generated by: Flowcode v4.1.1.55
Date: Thursday, October 08, 2009 16:29:27
Licence: Professional
Registered to: Dave Benning
http://www.matrixmultimedia.com
Launching the compiler...
C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\boostc.pic16.flowcode.exe -v -t PIC16F628A "DMUCountown.c"
BoostC Optimizing C Compiler Version 6.95 (for PIC16 architecture)
http://www.sourceboost.com
Copyright(C) 2004-2009 Pavel Baranov
Copyright(C) 2004-2009 David Hobday
Licensed to FlowCode User under Single user Pro License for 1 node(s)
Limitations: PIC12,PIC16 max code size:Unlimited, max RAM banks:Unlimited
DMUCountown.c
Starting preprocessor: C:\PROGRA~1\MATRIX~1\FLOWCO~1\BoostC\pp.exe L:\CDriveBackup\Projects\DMU\DMUCountown.c -i C:\PROGRA~1\MATRIX~1\FLOWCO~1\BoostC\include -d _PIC16F628A -la -c2 -o L:\CDriveBackup\Projects\DMU\DMUCountown.pp -v -d _BOOSTC -d _PIC16
..............
DMUCountown.c success
success
Return code = 0
Launching the linker/assembler...
C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\boostlink.pic.exe -ld "C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\lib" libc.pic16.lib flowcode.pic16.lib rand.pic16.lib float.pic16.lib "DMUCountown.obj" -t PIC16F628A -d "L:\CDriveBackup\Projects\DMU" -p "DMUCountown"
Failed to execute target process
(Error code 5)
Return code = 0
FINISHED
Exactly the same and the file has not even been altered.
So, to recap.
I have removed antivirus, rebooted, checked error logs......no errors. Switched off firewall, switched off windows firewall and all security and still no joy, tried to use old file, new file, differing locations etc. etc and still it refuses to compile! everything in default directory and even tried restoring default settings in the config panel.....nothing at all works........it's a complete mystery!
Please send me the hex file if you have it but I've not worked with hex files before......do they have all the chip config embedded or is that a seperate process in pickit2 programmer.....I hope not because the programmer won't enable some of the config bits that I need......another buggy program it seems.
Dave
I have compiled a full system info report if that helps get to the bottom of this problem......a bit OTT but you may see something of concern here, who knows.
I have taken on board what you said about the possible interaction of antivirus software and compltely uninstalled it and rebooted.
This is the result....
File name: C:\Documents and Settings\Dave\Desktop\DMUFILES\DMUCountdown.c
Generated by: Flowcode v4.1.1.55
Date: Thursday, October 08, 2009 16:26:02
Licence: Professional
Registered to: Dave Benning
http://www.matrixmultimedia.com
Launching the compiler...
C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\boostc.pic16.flowcode.exe -v -t PIC16F628A "DMUCountdown.c"
BoostC Optimizing C Compiler Version 6.95 (for PIC16 architecture)
http://www.sourceboost.com
Copyright(C) 2004-2009 Pavel Baranov
Copyright(C) 2004-2009 David Hobday
Licensed to FlowCode User under Single user Pro License for 1 node(s)
Limitations: PIC12,PIC16 max code size:Unlimited, max RAM banks:Unlimited
DMUCountdown.c
Starting preprocessor: C:\PROGRA~1\MATRIX~1\FLOWCO~1\BoostC\pp.exe "C:\Documents and Settings\Dave\Desktop\DMUFILES\DMUCountdown.c" -i C:\PROGRA~1\MATRIX~1\FLOWCO~1\BoostC\include -d _PIC16F628A -la -c2 -o "C:\Documents and Settings\Dave\Desktop\DMUFILES\DMUCountdown.pp" -v -d _BOOSTC -d _PIC16
........................
DMUCountdown.c success
success
Return code = 0
Launching the linker/assembler...
C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\boostlink.pic.exe -ld "C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\lib" libc.pic16.lib flowcode.pic16.lib rand.pic16.lib float.pic16.lib "DMUCountdown.obj" -t PIC16F628A -d "C:\Documents and Settings\Dave\Desktop\DMUFILES" -p "DMUCountdown"
Failed to execute target process
(Error code 5)
....................
Return code = 0
FINISHED
This is the result when using the original file which was working perfectly until I copied it to C drive.
File name: L:\CDriveBackup\Projects\DMU\DMUCountown.c
Generated by: Flowcode v4.1.1.55
Date: Thursday, October 08, 2009 16:29:27
Licence: Professional
Registered to: Dave Benning
http://www.matrixmultimedia.com
Launching the compiler...
C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\boostc.pic16.flowcode.exe -v -t PIC16F628A "DMUCountown.c"
BoostC Optimizing C Compiler Version 6.95 (for PIC16 architecture)
http://www.sourceboost.com
Copyright(C) 2004-2009 Pavel Baranov
Copyright(C) 2004-2009 David Hobday
Licensed to FlowCode User under Single user Pro License for 1 node(s)
Limitations: PIC12,PIC16 max code size:Unlimited, max RAM banks:Unlimited
DMUCountown.c
Starting preprocessor: C:\PROGRA~1\MATRIX~1\FLOWCO~1\BoostC\pp.exe L:\CDriveBackup\Projects\DMU\DMUCountown.c -i C:\PROGRA~1\MATRIX~1\FLOWCO~1\BoostC\include -d _PIC16F628A -la -c2 -o L:\CDriveBackup\Projects\DMU\DMUCountown.pp -v -d _BOOSTC -d _PIC16
..............
DMUCountown.c success
success
Return code = 0
Launching the linker/assembler...
C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\boostlink.pic.exe -ld "C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\lib" libc.pic16.lib flowcode.pic16.lib rand.pic16.lib float.pic16.lib "DMUCountown.obj" -t PIC16F628A -d "L:\CDriveBackup\Projects\DMU" -p "DMUCountown"
Failed to execute target process
(Error code 5)
Return code = 0
FINISHED
Exactly the same and the file has not even been altered.
So, to recap.
I have removed antivirus, rebooted, checked error logs......no errors. Switched off firewall, switched off windows firewall and all security and still no joy, tried to use old file, new file, differing locations etc. etc and still it refuses to compile! everything in default directory and even tried restoring default settings in the config panel.....nothing at all works........it's a complete mystery!
Please send me the hex file if you have it but I've not worked with hex files before......do they have all the chip config embedded or is that a seperate process in pickit2 programmer.....I hope not because the programmer won't enable some of the config bits that I need......another buggy program it seems.
Dave
I have compiled a full system info report if that helps get to the bottom of this problem......a bit OTT but you may see something of concern here, who knows.
- Attachments
-
- sysinfo.zip
- copy of full system info log.
- (36.43 KiB) Downloaded 293 times
-
- Posts: 139
- Joined: Mon Sep 21, 2009 10:17 am
- Location: Leicester
- Has thanked: 35 times
- Been thanked: 12 times
Re: Access Violation reading from flash drive
As a final attempt at restoring sanity, I am going to uninstall, search the reg for leftover entries, clean and re-install the app from the original disk supplied and ignore the 4.1 update from your site.
I'll let you know what happens but this is the last of the available time I can spend on this today...I have to build the product and assemble for delivery tomorrow. Only hope I can get the code into the devices.
Cheers
Dave
I'll let you know what happens but this is the last of the available time I can spend on this today...I have to build the product and assemble for delivery tomorrow. Only hope I can get the code into the devices.
Cheers
Dave
-
- Posts: 139
- Joined: Mon Sep 21, 2009 10:17 am
- Location: Leicester
- Has thanked: 35 times
- Been thanked: 12 times
Re: Access Violation reading from flash drive
Hi Ben,Benj wrote:Hello Dave
If you have disabled your antivirus software then you will need to try reinstalling Flowcode. Alternativly a repair might also fix the problem.
What I have experienced in the past is that the antivirus will remove the linker file thinking it is a virus. If you simply disable your antivirus software then the linker file will still be missing.
Other then this are you logged in as an administrator on your PC? or do you at least have write permissions for the folder you are compiling to?
I know these kinds of inconsistensies are annoying at best but please trust me when I say that Flowcode will save you a lot of time even with the problems you are currently experiencing, the alternative of coding in Basic, C or ASM is not just a few extra days work but probably a few months extra work to get the code to all work correctly especially if you have not used C or ASM before.
Here is a suggestion, why not create the code on your desktop computer then manually transfer the project FCF file to your pen drive so you can open the file on your laptop and compile from there.
I really am sorry for taking up so much time but answers to your questions follow.
I am the only user of the machine and full admin permissions to all folders and processes etc.
If you followed my posts today, the transfer to the laptop via pen drive will not work, I tried that which is why I am in a panic. The file somehow becomes unuseable when doing that even when removing the flash drive correctly...by telling windows to release it. Odd thing is, after I have taken the file to the laptop, which refuses to open it, the main machine will also not open the file again when I return it to the original machine...it crashes Flowcode out altogether.
I checked the antivirus logs and it shows no interaction or log events with any linker files.......or any other files for that matter.
The fact is that things were fine, I was tweaking and uploading to the PIC via the pickit 2 repeatedly and without issue while I was finishing the code. It was only when I used 'save as' to put the file (FCF) into it's correct project folder on the C drive, that things went tits up........nothing else happened.........no installation, updates or anything at all in between. The simple act of opening from the external USB hard drive and saving to the new location seemed to upset everything........hence the mystery.
- 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: Access Violation reading from flash drive
Hello Dave
Here is your compiled hex file. It should contain the config data when you load it into the PICkit software but if not then let me know and I will embed it in for you.
This really is a strange one and I can see why your getting annoyed with it.
I will go over your sysinfo file and see if I can spot anything that may be causing problems.
Here is your compiled hex file. It should contain the config data when you load it into the PICkit software but if not then let me know and I will embed it in for you.
This really is a strange one and I can see why your getting annoyed with it.
I will go over your sysinfo file and see if I can spot anything that may be causing problems.
- Attachments
-
- DMUCountdown.hex
- (2.11 KiB) Downloaded 277 times
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: 139
- Joined: Mon Sep 21, 2009 10:17 am
- Location: Leicester
- Has thanked: 35 times
- Been thanked: 12 times
Re: Access Violation reading from flash drive
Many thanks Ben, this may get me out of the mire for now.
Strangely,
I have now re-installed from the master CD onto the system in the same directory as before without antivirus installed. The files that I produced before will not now open at all giving a window saying unexpected file format.
Other files (FCF files) that I have been playing with are now giving the message 'access to file blah blah blah was denied'......it's getting stranger by the minute.
I'll persevere and attempt work with the hex file you sent me but if I need to make tweaks then i'm stuffed if this new installation won't work.
Dave
Strangely,
I have now re-installed from the master CD onto the system in the same directory as before without antivirus installed. The files that I produced before will not now open at all giving a window saying unexpected file format.
Other files (FCF files) that I have been playing with are now giving the message 'access to file blah blah blah was denied'......it's getting stranger by the minute.
I'll persevere and attempt work with the hex file you sent me but if I need to make tweaks then i'm stuffed if this new installation won't work.
Dave
- Steve
- Matrix Staff
- Posts: 3433
- Joined: Tue Jan 03, 2006 3:59 pm
- Has thanked: 114 times
- Been thanked: 422 times
Re: Access Violation reading from flash drive
Dave,
I've just done a web search and found this:
http://www.buildautomator.com/blog/inde ... -error-c-5
The exe file you need to apply this fix to is the one int he "linker" section of the "compiler options" window.
Does this fix the problem?
Also, you could try opening Windows in safe mode.
Another culprit could be your DEP settings. You might need to make the linker file (and possibly the Flowcode exe as well) an exception in the DEP window:
start..control panel..system..advanced..performance settings..Data Execution Prevention...Add
Also note that if you have saved your original files using v4.1 of Flowcode, you won't be able to open the files using v4.0. You should try v4.1 or perhaps even the BETA of v4.2.
And good luck with your meeting today - I hope it goes well and you are minimally affected by this temporary problem.
I've just done a web search and found this:
http://www.buildautomator.com/blog/inde ... -error-c-5
The exe file you need to apply this fix to is the one int he "linker" section of the "compiler options" window.
Does this fix the problem?
Also, you could try opening Windows in safe mode.
Another culprit could be your DEP settings. You might need to make the linker file (and possibly the Flowcode exe as well) an exception in the DEP window:
start..control panel..system..advanced..performance settings..Data Execution Prevention...Add
Also note that if you have saved your original files using v4.1 of Flowcode, you won't be able to open the files using v4.0. You should try v4.1 or perhaps even the BETA of v4.2.
I'm truly sorry that you are feeling this way. We are trying our best to solve what appears to be an issue unique to the setup of your PC. Please understand that PCs nowadays are complex things and the plethora of "security" settings, tweaks and conflicting programs on these systems can wreak havoc on running certain programs. I can point you to 100s of sites where users of other software apps are trying to sort out problems like this "error code 5" one.Am not impressed at all.....4 days now in total trying to communicate and get to the bottom of it and no nearer a solution......goes beyond trying one's patience I feel. If the developers can't resolve it then it ain't worth wasting time with it.
And good luck with your meeting today - I hope it goes well and you are minimally affected by this temporary problem.
-
- Posts: 139
- Joined: Mon Sep 21, 2009 10:17 am
- Location: Leicester
- Has thanked: 35 times
- Been thanked: 12 times
Re: Access Violation reading from flash drive
Hi Steve and thanks for the input.
I,m crossing my fingers as I write but here is what I did since last post.
I carried out the re-install from the CD after cleaning the registry and got V4.0.0.57 (I think that was the full version from the CD, you would know better).
I rebooted but now can't recall whether I tried the proggy last night or not.....I was soooo tired.
Anyway, I tried excluding all Matrix related exe files in the DEP list as you suggested. I got the usual message that the machine would need a reboot to enact the changes but didn't bother with the reboot, I wanted to see what would happen.
Would you believe it! the files compiled to hex without issue! perfect. Now at this point, I can't ascertain if this is a red herring as I can't remember my last actions from last evening so it could have been ok without the DEP changes.
Anyway, I have now removed 4.0.0.57 and installed 4.1.1.55 from your forum link.
All seems well, all files open and compile without issue.
Then I switched back the DEP settings to the original, default settings, without reboot and all is still OK.
I shall now reboot and try again with a freshly booted system and try to replicate the error. I shall do this with the same file and from the same location as I did before when it went pear shaped. Then, assuming the error comes back, I shall retry the DEP changes you suggest to see if that is the key issue.
My feeling at this point, is that DEP settings are the key, and if so, this could be the answer to anyone else having similar problems. (mind you, I havn't re-installed antivirus yet but let's do this first)
I have managed to re-schedule the meeting to monday so have won some time..pheeewwww.
I'll post back here with the results shortly
I,m crossing my fingers as I write but here is what I did since last post.
I carried out the re-install from the CD after cleaning the registry and got V4.0.0.57 (I think that was the full version from the CD, you would know better).
I rebooted but now can't recall whether I tried the proggy last night or not.....I was soooo tired.
Anyway, I tried excluding all Matrix related exe files in the DEP list as you suggested. I got the usual message that the machine would need a reboot to enact the changes but didn't bother with the reboot, I wanted to see what would happen.
Would you believe it! the files compiled to hex without issue! perfect. Now at this point, I can't ascertain if this is a red herring as I can't remember my last actions from last evening so it could have been ok without the DEP changes.
Anyway, I have now removed 4.0.0.57 and installed 4.1.1.55 from your forum link.
All seems well, all files open and compile without issue.
Then I switched back the DEP settings to the original, default settings, without reboot and all is still OK.
I shall now reboot and try again with a freshly booted system and try to replicate the error. I shall do this with the same file and from the same location as I did before when it went pear shaped. Then, assuming the error comes back, I shall retry the DEP changes you suggest to see if that is the key issue.
My feeling at this point, is that DEP settings are the key, and if so, this could be the answer to anyone else having similar problems. (mind you, I havn't re-installed antivirus yet but let's do this first)
I have managed to re-schedule the meeting to monday so have won some time..pheeewwww.
I'll post back here with the results shortly
-
- Posts: 139
- Joined: Mon Sep 21, 2009 10:17 am
- Location: Leicester
- Has thanked: 35 times
- Been thanked: 12 times
Seems to be fixed (crossing fingers) +suggestion
Hi Steve and Ben,
If you could see the smile on my face right now......once again, crossing fingers as I write.......so far so good and all that but........
It looks as though the DEP exception trick works!!!!.....yeehaagggghhh.
Have rebooted with 4.1.1.55 installed and all the flowcode related .exe files added to the DEP exception list and all seems fine again. Can't believe it and only hoping all stays well but this may be useful info to anyone else having similar problems.
I am now going to (nervously) re-install the antivirus software as I can't run a critical, net connected system without it.....crossing everything now!
Now then....for complete satisfaction I have 1 request for a definitive answer and 1 suggestion.
Firstly, the request. Could you be definitive on the parameter settings for use with pickit2 please, a combination of old help file (V3) in the V4 program and conflicting info in the forums, I need to know EXACTLY what the parameter line should be if you don't mind..........In view of the trouble I've been having, I really don't feel comfortable trial and erroring it to find what works as I am sure you can appreciate. I have Pickit 2 software V2.6 on the machine and have referenced the pk2cmd_mtx.exe file from your site.
Secondly, a suggestion. When you release updates and beta's, could I suggest that you name the files uniquely. It is somewhat confusing to have various 'flowcodePIC V4' files in different locations when they are each a different version. For example, why not call V4.1.1.55 simply flowcode_pic_41155.exe and so on with perhaps and 'A' suffix for a release and 'B' for a beta.....it makes for far simpler re-installs and prevents the possibility of overwriting a version that you may need to fall back on at some point. They can then, all be stored in a single repository or location without conflict and easily identified by the user. I know you can interrogate the file in windows to ascertain the version but this is so long winded. Surely it would also make life simpler from your point of view.
Thanks again and apologies for being somewhat 'uptight' at times.
DaveB
If you could see the smile on my face right now......once again, crossing fingers as I write.......so far so good and all that but........
It looks as though the DEP exception trick works!!!!.....yeehaagggghhh.
Have rebooted with 4.1.1.55 installed and all the flowcode related .exe files added to the DEP exception list and all seems fine again. Can't believe it and only hoping all stays well but this may be useful info to anyone else having similar problems.
I am now going to (nervously) re-install the antivirus software as I can't run a critical, net connected system without it.....crossing everything now!
Now then....for complete satisfaction I have 1 request for a definitive answer and 1 suggestion.
Firstly, the request. Could you be definitive on the parameter settings for use with pickit2 please, a combination of old help file (V3) in the V4 program and conflicting info in the forums, I need to know EXACTLY what the parameter line should be if you don't mind..........In view of the trouble I've been having, I really don't feel comfortable trial and erroring it to find what works as I am sure you can appreciate. I have Pickit 2 software V2.6 on the machine and have referenced the pk2cmd_mtx.exe file from your site.
Secondly, a suggestion. When you release updates and beta's, could I suggest that you name the files uniquely. It is somewhat confusing to have various 'flowcodePIC V4' files in different locations when they are each a different version. For example, why not call V4.1.1.55 simply flowcode_pic_41155.exe and so on with perhaps and 'A' suffix for a release and 'B' for a beta.....it makes for far simpler re-installs and prevents the possibility of overwriting a version that you may need to fall back on at some point. They can then, all be stored in a single repository or location without conflict and easily identified by the user. I know you can interrogate the file in windows to ascertain the version but this is so long winded. Surely it would also make life simpler from your point of view.
Thanks again and apologies for being somewhat 'uptight' at times.
DaveB
-
- Posts: 139
- Joined: Mon Sep 21, 2009 10:17 am
- Location: Leicester
- Has thanked: 35 times
- Been thanked: 12 times
Malware detected
Hi Guys,
A little information for you......how significant I don't know but AntiVir has just detected what it describes as malware in the boost c folder.
I have pasted the info from their page below and would be interested in your comments.
I have told antivir to ignore it now and in the future but still of some concern
Dave
HIDDENEXT/Crypted - Malware See also
Summary Full description Statistics
How would you rate this information?
Worthless Excellent
Virus: HIDDENEXT/Crypted
Date discovered: 23/06/2006
Type: AHeAD Heuristic special detection
In the wild: Yes
Reported Infections: Low
Distribution Potential: Low
Damage Potential: Low
Static file: No
Engine version: 7.01.00.17
General Aliases:
It was previously detected as:
• HEUR-DBLEXT/Crypted
Similar detection:
• HEUR/Crypted
Special detection HIDDENEXT/Crypted
Description:
The detection reports programs that are packed, encrypted or modified in an unusal way and that try to simulate harmless content by means of file extensions. Although this method already is some years old, it is still used very frequently. As a rule, extensions for picture and document formats are used, such as .JPG, .DOC or .PDF.
Version history:
The following engine updates were released in order to enhance detection:
• 7.01.00.17 ( 23/06/2006 )
• 7.06.00.30 ( 26/10/2007 )
See a brief description here.
Description inserted by Andrei Ivanes on Tue, 23 Sep 2008 16:20 (GMT+1)
Description updated by Andrei Gherman on Wed, 24 Sep 2008 07:19 (GMT+1)
A little information for you......how significant I don't know but AntiVir has just detected what it describes as malware in the boost c folder.
I have pasted the info from their page below and would be interested in your comments.
I have told antivir to ignore it now and in the future but still of some concern
Dave
HIDDENEXT/Crypted - Malware See also
Summary Full description Statistics
How would you rate this information?
Worthless Excellent
Virus: HIDDENEXT/Crypted
Date discovered: 23/06/2006
Type: AHeAD Heuristic special detection
In the wild: Yes
Reported Infections: Low
Distribution Potential: Low
Damage Potential: Low
Static file: No
Engine version: 7.01.00.17
General Aliases:
It was previously detected as:
• HEUR-DBLEXT/Crypted
Similar detection:
• HEUR/Crypted
Special detection HIDDENEXT/Crypted
Description:
The detection reports programs that are packed, encrypted or modified in an unusal way and that try to simulate harmless content by means of file extensions. Although this method already is some years old, it is still used very frequently. As a rule, extensions for picture and document formats are used, such as .JPG, .DOC or .PDF.
Version history:
The following engine updates were released in order to enhance detection:
• 7.01.00.17 ( 23/06/2006 )
• 7.06.00.30 ( 26/10/2007 )
See a brief description here.
Description inserted by Andrei Ivanes on Tue, 23 Sep 2008 16:20 (GMT+1)
Description updated by Andrei Gherman on Wed, 24 Sep 2008 07:19 (GMT+1)
- 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: Access Violation reading from flash drive
Hello Dave
Many thanks for the update, great its all finally working correctly for you. I will get onto the antivir people this afternoon and see if they can remove the BoostC linker file from their suspect file detection.
Your versions control idea for Flowcode sounds like a good one, however Steve or Rehan will know more about the specific ins and outs then me.
Regarding the PICkit settings. Here are the up to date settings for use with v4.
In Flowcode click on Chip -> Compiler options.
Ensure that the programmer Location is set to the following.
C:\Program Files\Matrix Multimedia\Flowcode V4\Tools\PICkit2\pk2cmd.exe
Also ensure that the programmer parameters are set to the following.
-BC:\Program Files\Matrix Multimedia\Flowcode V4\Tools\PICkit2\ -PPIC%p -F%f.hex -M -A5 -R
Next ensure that the "Use external program to set configuration options" box is ticked.
Then below this here are the location and parameter settings.
Location: C:\Program Files\Matrix Multimedia\Flowcode V4\Tools\PPP\PPPv3.exe
Params: -cs 2 -chip PIC%p -config
If your copy of Flowcode is not installed in the default directory then you will need to update the above paths appropriately.
Now when you click on chip -> configure you will be able to define the configuration setting for the chip before you compile and program.
As always any problems let us know.
Many thanks for the update, great its all finally working correctly for you. I will get onto the antivir people this afternoon and see if they can remove the BoostC linker file from their suspect file detection.
Your versions control idea for Flowcode sounds like a good one, however Steve or Rehan will know more about the specific ins and outs then me.
Regarding the PICkit settings. Here are the up to date settings for use with v4.
In Flowcode click on Chip -> Compiler options.
Ensure that the programmer Location is set to the following.
C:\Program Files\Matrix Multimedia\Flowcode V4\Tools\PICkit2\pk2cmd.exe
Also ensure that the programmer parameters are set to the following.
-BC:\Program Files\Matrix Multimedia\Flowcode V4\Tools\PICkit2\ -PPIC%p -F%f.hex -M -A5 -R
Next ensure that the "Use external program to set configuration options" box is ticked.
Then below this here are the location and parameter settings.
Location: C:\Program Files\Matrix Multimedia\Flowcode V4\Tools\PPP\PPPv3.exe
Params: -cs 2 -chip PIC%p -config
If your copy of Flowcode is not installed in the default directory then you will need to update the above paths appropriately.
Now when you click on chip -> configure you will be able to define the configuration setting for the chip before you compile and program.
As always any problems let us know.
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