Error Code 34

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 6.

Moderator: Benj

User avatar
JLeith
Posts: 521
Joined: Wed Nov 14, 2012 7:49 pm
Location: British Columbia Canada
Has thanked: 143 times
Been thanked: 26 times
Contact:

Error Code 34

Postby JLeith » Wed Mar 20, 2019 5:07 pm

Hi all
Puzzle I loaded my Pic16F1938 and then made a value change and now I get the Error 34

Checked my connections and restarted the program.

I have added my Compiler Messages and the Flowcode.

Not sure where to go to solve. It was only 3 min from the first load to the second ?

John
Attachments
Team LCD Version Mar17 2019.fcfx
(96.58 KiB) Downloaded 37 times
Error 34.txt
(8.85 KiB) Downloaded 33 times

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

Re: Error Code 34

Postby Benj » Wed Mar 20, 2019 5:36 pm

Hello John,

Have you tried unplugging the PICkit from the USB and also restarting your PC. Could simply be that the PICkit has become stuck or ran out of memory etc.
These users thanked the author Benj for the post:
JLeith (Wed Mar 20, 2019 6:34 pm)
Rating: 5.26%
 

User avatar
JLeith
Posts: 521
Joined: Wed Nov 14, 2012 7:49 pm
Location: British Columbia Canada
Has thanked: 143 times
Been thanked: 26 times
Contact:

Re: Error Code 34

Postby JLeith » Wed Mar 20, 2019 7:23 pm

Hello Benj
It has been some time since we communicated.

Thank you Unplugging PICKIT2 and restarting the laptop solved the issue.

Benj on a side note can you help with my other program getting a "Optimized out message" The program loads.
optimized out.png
optimized out.png (2.63 KiB) Viewed 1062 times


Here is the Compiler Message and the program

John
Attachments
Pitcher Master 2019.fcfx
(272.4 KiB) Downloaded 38 times
Optimized.txt
(8.6 KiB) Downloaded 33 times

User avatar
medelec35
Valued Contributor
Valued Contributor
Posts: 8485
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2441 times
Been thanked: 3500 times
Contact:

Re: Error Code 34

Postby medelec35 » Wed Mar 20, 2019 8:15 pm

Hi John,
You need to select Build, View C.
Let's look at

Code: Select all

Pitcher Master 2019.c(3655:15): warning: expression was optimized out

the C code view window that pops up, scroll down to line 3655:
optimized out.png
optimized out.png (13.83 KiB) Viewed 1058 times

It's pointing to the calculation

Code: Select all

Keypress = Keypress

That's just a waste of a calculation! It's the same as a calculation 3 = 3.
Of course it will be true every time, so it's not required, hence it's been optimized out.
You should delete all

Code: Select all

Variable = Variable
.
These users thanked the author medelec35 for the post:
JLeith (Wed Mar 20, 2019 11:45 pm)
Rating: 5.26%
 
Martin

If you read a post that is useful, please show appreciation by clicking on thumbs up Icon.

User avatar
JLeith
Posts: 521
Joined: Wed Nov 14, 2012 7:49 pm
Location: British Columbia Canada
Has thanked: 143 times
Been thanked: 26 times
Contact:

Re: Error Code 34

Postby JLeith » Wed Mar 20, 2019 11:47 pm

Thank you Martin

I must of been pasting to may times and missed the 0 to 0

John