PIC16F18345 EEPROM Compiler problem founded

An area to discuss 8-bit PIC specific problems and examples

Moderator: Benj

danilof
Posts: 24
Joined: Wed Feb 24, 2016 9:01 pm
Been thanked: 1 time
Contact:

Re: PIC16F18345 EEPROM Compiler problem founded

Post by danilof »

For correct analysis use the attached files. Disregard the other files in the analysis. They had setup errors, but the problem remains the same.
Attachments
TEST PICF18345 T2.fcfx
(7.34 KiB) Downloaded 214 times
TEST PICF18345.fcfx
(7.33 KiB) Downloaded 209 times

medelec35
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: PIC16F18345 EEPROM Compiler problem founded

Post by medelec35 »

Hi Danilo.
Sorry, I have never used PIC16F18345.
So I don't feel confident I can assist.
Perhaps someone else who knows about your microcontroller can help further.

Martin
Martin

danilof
Posts: 24
Joined: Wed Feb 24, 2016 9:01 pm
Been thanked: 1 time
Contact:

Re: PIC16F18345 EEPROM Compiler problem founded

Post by danilof »

Martin,

Many thanks. Perhaps Benj could give me some help. I have sent a message to him.

Thanks a lot.

User avatar
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: PIC16F18345 EEPROM Compiler problem founded

Post by Benj »

Hello,

First of all can you make sure you are using the latest files.

1) the EEPROM CAL file needs to be placed into the "Flowcode 7/CAL/PIC" folder.
PIC_CAL_EEPROM.c
(4.65 KiB) Downloaded 194 times
2) the device definition file needs to be placed into the "Flowcode 7/FCD/PIC" folder.
16F18345.fcdx
(29.19 KiB) Downloaded 176 times
This should hopefully then work correctly. I've tested the new code on a 16F18877 which is a similar family and this is working really well.

Let us know how you get on.

danilof
Posts: 24
Joined: Wed Feb 24, 2016 9:01 pm
Been thanked: 1 time
Contact:

Re: PIC16F18345 EEPROM Compiler problem founded

Post by danilof »

Dear Benj,

Now it works. Many Thanks!!!

Question: I know that on FC6 the view asm exist, but on FC 7 it isn´t. Is it possible to have on FC7 the .asm? it will be very helpfull for debugging.

Brgds,

User avatar
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: PIC16F18345 EEPROM Compiler problem founded

Post by Benj »

Brilliant glad it's working for you, thanks for letting us know.
Question: I know that on FC6 the view asm exist, but on FC 7 it isn´t. Is it possible to have on FC7 the .asm? it will be very helpfull for debugging.
There is a .as file that's created in the project directory that contains the assembler code.

Post Reply