Pic12629 + Pic12f675 not working!

Any bugs you encounter with Flowcode should be discussed here.
jgu1
Posts: 602
http://meble-kuchenne.info.pl
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 495 times
Been thanked: 132 times

Pic12629 + Pic12f675 not working!

Post by jgu1 »

Hi!

The devices Pic12f629+675 does not work in FC8 and FC9 I have made the same testprogram in FC5 and there they work as they should.

I have a pic12f683 too, it work perfect in FC9

If I have done something wrong in config, I apologize but really tryed almost everything, please


Br jorgen
Attachments
629.fcfx
(6.91 KiB) Downloaded 64 times
675.fcfx
(6.89 KiB) Downloaded 67 times

Steve-Matrix
Matrix Staff
Posts: 1234
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 167 times
Been thanked: 277 times

Re: Pic12629 + Pic12f675 not working!

Post by Steve-Matrix »

I've tested compilation and simulation and both are ok, but I do not have access to those chips and so I assume you are saying these projects do not run correctly when downloaded to the target chip?

Are the configuration settings appropriate for your hardware?

If you're still having problems, please post the .c and .hex files for both a working v5 project and a non-working v9 project and we will try to discover why there is a problem.

jgu1
Posts: 602
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 495 times
Been thanked: 132 times

Re: Pic12629 + Pic12f675 not working!

Post by jgu1 »

Hi Steve!

FC9: EB board 00-9. When I compile to chip, using internal osc. out to Gp4 I can see the osc out on Gp4 but the program in the loop is not running, the output is not go on and off. For both chip, also tested with Xtal.

FC5: EB board00-7. Working perfect, same program.

I can send you a couble of chip if you want?

I have to send one mail more, only att. 3 files at the time.


Thank´s in advance

Jorgen
Attachments
12F629 FC5 testOk.c
(2.05 KiB) Downloaded 70 times
629TestFC9.fcfx
(6.91 KiB) Downloaded 66 times
629TestFC9.c
(2.6 KiB) Downloaded 64 times

jgu1
Posts: 602
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 495 times
Been thanked: 132 times

Re: Pic12629 + Pic12f675 not working!

Post by jgu1 »

More Files :lol:

I can´t att. the hex file?? for FC9 and not the .fcf either for FC5?

LEt me hear if it not is enough with .C

As I said, I can sen you a couble of chips?

Jorgen
Attachments
675TestFC9.fcfx
(6.88 KiB) Downloaded 64 times
12F629 FC5 testOk.c
(2.05 KiB) Downloaded 62 times
12F675 FC5 testOk.c
(2.13 KiB) Downloaded 67 times

medelec35
Matrix Staff
Posts: 1432
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 506 times
Been thanked: 469 times

Re: Pic12629 + Pic12f675 not working!

Post by medelec35 »

Hi Jorgen.
You could compress the files into a zip file.
Martin

Steve-Matrix
Matrix Staff
Posts: 1234
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 167 times
Been thanked: 277 times

Re: Pic12629 + Pic12f675 not working!

Post by Steve-Matrix »

No need to send any chips, but can you attach the two .HEX files as well please?

There is a difference in the configuration settings of the two C code files. The working v5 file has MCLRE set to 0 (ie internally tied to Vdd) whereas the non-working v9 file has it set to 1 (set to the i/o GP3). You might want to change that to see if that fixes it.

If it doesn't then it could be an issue in the CAL.

jgu1
Posts: 602
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 495 times
Been thanked: 132 times

Re: Pic12629 + Pic12f675 not working!

Post by jgu1 »

Hi Steve and Martin

@martin, of course, zip :D

Steve i give it a go again little later, and make a new compile for both and zip and send. Not at the pc now. (iPad).

Jorgen

jgu1
Posts: 602
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 495 times
Been thanked: 132 times

Re: Pic12629 + Pic12f675 not working!

Post by jgu1 »

Tryed both, no difference.

Zipped all the file from FC9, not working Please.

Jorgen
Attachments
Zip.zip
(5.13 KiB) Downloaded 70 times

medelec35
Matrix Staff
Posts: 1432
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 506 times
Been thanked: 469 times

Re: Pic12629 + Pic12f675 not working!

Post by medelec35 »

Hi Jorgen.
It would be best to upload v5 hex as well, so both v9 and v5 files can be compared.
Martin

jgu1
Posts: 602
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 495 times
Been thanked: 132 times

Re: Pic12629 + Pic12f675 not working!

Post by jgu1 »

Well yes Martin and Steve, hereby :D ;)

I added also the .hex and the .c file for the 12f683 device compiled in FC9 which work perfect. Could maybe be usefull.

If you need further test, let me hear. (home late aftenoon).

*****Edit. Just perform a test with 12f615 too in FC9, work perfect' the last of these tiny device I have****

Hope it´s not to cold in UK, here in DK up to 37 Degre today :D

Br jorgen
Attachments
Zip.zip
(8.11 KiB) Downloaded 64 times

Post Reply