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: 494 times
Been thanked: 132 times

Re: Pic12629 + Pic12f675 not working!

Post by jgu1 »

Hi Ben!

Thank´s for reply. first I am aware that Flowcode is a big program with lot of devices, so the change for a bug will be there, and let me say FC is amazing,I love it :D But you know during programming the program not is working and you begin to troubleshooting and spend long time to check config ect and check the program and try lot of things, and in the end you discover that there is a bug, D.. not funny :cry:

My programmer is EB-006-00-9 and the compiler is the original.

I have perform a new test. One with the new "path" 629 New comp, not copiling at all.

I made a test with the original path Mlab. this where I able to program the chip before I added the new path, but no ouput on the pin, now I cannot compile this at all?

Hope this could give a lead and again, if I doing something wrong I apologize?

Br Jorgen
Attachments
Downloads.zip
(28.65 KiB) Downloaded 53 times

BenR
Matrix Staff
Posts: 1706
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 435 times
Been thanked: 598 times

Re: Pic12629 + Pic12f675 not working!

Post by BenR »

Hi Jorgen,

Please can you try saving your Flowcode project without spaces, it looks like the new a version of the script cannot currently deal with spaces in the project name, I'll see if I can get this sorted for you but currently I'm not back in the office until next week.

Also the other problem seems to be to do with the device configuration settings. I rolled back a change for the 12F629 device to do with it's config and so this is likely what is causing the issues. Please go into the project options and redo the config settings you need as your old setting may have been corrupted in the process.

Fingers crossed these two changes allow you to compile and things are working again.

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

Re: Pic12629 + Pic12f675 not working!

Post by jgu1 »

Hi Ben!

I try to save without space in the name, but no difference. I also try to "restore Compiler options" it is not possible to dele the new Pic629 I create with your path. Every time I delete it and save it look like it is deleted, but when I opened Compiler options it is again back? I try to uninstall FC9 and reinstall again but still not deleted, look like the XC8 not is reinstalled.

Br jorgen

BenR
Matrix Staff
Posts: 1706
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 435 times
Been thanked: 598 times

Re: Pic12629 + Pic12f675 not working!

Post by BenR »

Hi Jorgen,

Not sure why you would need to delete the compiler option, just check that the default tickbox is set for the version you want to use. If you really want to remove a custom setting then you may have to do it via the registry.

Computer\HKEY_CURRENT_USER\SOFTWARE\MatrixTSL\FlowcodeV9\CompilerSettings

Have you refreshed the configuration settings in the project options like I suggested?

What errors are you getting when compiling using the E-blocks and the new alt compiler settings?

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

Re: Pic12629 + Pic12f675 not working!

Post by jgu1 »

Hi Ben!

Sorry I misunderstood you.

I have now created a new test with "nospace" and new config, E-block as default. but still the same.

Br jorgen
Attachments
NoSpaceNewConfig629.msg.txt
(2.33 KiB) Downloaded 52 times
NoSpaceNewConfig629.fcfx
(6.88 KiB) Downloaded 50 times
NoSpaceNewConfig629.c
(2.47 KiB) Downloaded 49 times

BenR
Matrix Staff
Posts: 1706
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 435 times
Been thanked: 598 times

Re: Pic12629 + Pic12f675 not working!

Post by BenR »

Hello,

Ok sorry for some reason some of my changes to the FCD have been lost and this is causing the compilation error, so I've now been in and fixed them again and tested everything is now fine using the library updates.

Please can you check you have the latest library updates via the Help -> Library Updates feature. Once you've done this then hopefully the attached project will compile correctly for you for both new and old compiler options. Using the new compiler option hopefully the chip should run and the IO function.

NoSpaceNewConfig629.fcfx
(6.91 KiB) Downloaded 51 times

I'm going to investigate now and see if I can remove the space in the project name problem. Edit this has also now been fixed.

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

Re: Pic12629 + Pic12f675 not working!

Post by jgu1 »

I update the Lib, test your program and my own, compile fine, but so sorry no output on the pin?

Do you have a 629 chip? I could send you one for testing?

BenR
Matrix Staff
Posts: 1706
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 435 times
Been thanked: 598 times

Re: Pic12629 + Pic12f675 not working!

Post by BenR »

Hello,

Ok progress. I edited your program as in your program you were outputting 0 to A0 on both output icons.

Ok please make sure the default compiler option tickbox is checked for the new _a compiler batch file.
CompOpt.png
CompOpt.png (37.29 KiB) Viewed 1803 times
Also make sure that the configuration settings are ok for the chip to run, the program I posted is using the INTOSC and is working ok for me on the 629 chip I have here.

If you're using E-blocks to host the chip then be aware that most of the pins are on the E-blocks PortB and not PortA.

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

Re: Pic12629 + Pic12f675 not working!

Post by jgu1 »

Yes, now it working, you are are the Master, thank you very much :D

*If you're using E-blocks to host the chip then be aware that most of the pins are on the E-blocks PortB and not PortA.* Try, but only see Port A on output?

Honest I have not testst yet, but should it also work for the 12f675?

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

Re: Pic12629 + Pic12f675 not working!

Post by jgu1 »

To fast for joy?

****Edit Ben let it be, I can now program the 629 + 683 + 615 devices, enough for me with these tiny devices****

AGAIN MANY THANK´S FOR YOUR HELP :D :D
Attachments
Flowcode1.msg.txt
(20.21 KiB) Downloaded 56 times
Flowcode1.fcfx
(6.88 KiB) Downloaded 51 times
Code.PNG
Code.PNG (11.52 KiB) Viewed 1793 times

Post Reply