Page 1 of 1
Error Code 34
Posted: Wed Mar 20, 2019 5:07 pm
by JLeith
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
Re: Error Code 34
Posted: Wed Mar 20, 2019 5:36 pm
by Benj
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.
Re: Error Code 34
Posted: Wed Mar 20, 2019 7:23 pm
by JLeith
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.
Here is the Compiler Message and the program
John
Re: Error Code 34
Posted: Wed Mar 20, 2019 8:15 pm
by medelec35
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:
It's pointing to the calculation
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
.
Re: Error Code 34
Posted: Wed Mar 20, 2019 11:47 pm
by JLeith
Thank you Martin
I must of been pasting to may times and missed the 0 to 0
John