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
Error Code 34
Moderator: Benj
- JLeith
- Posts: 537
- Joined: Wed Nov 14, 2012 7:49 pm
- Location: British Columbia Canada
- Has thanked: 146 times
- Been thanked: 26 times
- Contact:
Error Code 34
- Attachments
-
- Team LCD Version Mar17 2019.fcfx
- (96.58 KiB) Downloaded 222 times
-
- Error 34.txt
- (8.71 KiB) Downloaded 205 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: Error Code 34
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.
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.
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
- JLeith
- Posts: 537
- Joined: Wed Nov 14, 2012 7:49 pm
- Location: British Columbia Canada
- Has thanked: 146 times
- Been thanked: 26 times
- Contact:
Re: Error Code 34
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
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
- Attachments
-
- Pitcher Master 2019.fcfx
- (272.4 KiB) Downloaded 215 times
-
- Optimized.txt
- (8.45 KiB) Downloaded 206 times
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: Error Code 34
Hi John,
You need to select Build, View C.
Let's look at
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.
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
Code: Select all
Keypress = Keypress
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
Martin