Page 4 of 4

Re: Pic12629 + Pic12f675 not working!

Posted: Wed Aug 03, 2022 7:51 pm
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

Re: Pic12629 + Pic12f675 not working!

Posted: Thu Aug 04, 2022 11:37 pm
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.

Re: Pic12629 + Pic12f675 not working!

Posted: Sun Aug 07, 2022 5:21 pm
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

Re: Pic12629 + Pic12f675 not working!

Posted: Mon Aug 08, 2022 11:26 am
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?

Re: Pic12629 + Pic12f675 not working!

Posted: Mon Aug 08, 2022 1:18 pm
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

Re: Pic12629 + Pic12f675 not working!

Posted: Mon Aug 08, 2022 1:36 pm
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 54 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.

Re: Pic12629 + Pic12f675 not working!

Posted: Mon Aug 08, 2022 2:17 pm
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?

Re: Pic12629 + Pic12f675 not working!

Posted: Mon Aug 08, 2022 2:32 pm
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 1877 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.

Re: Pic12629 + Pic12f675 not working!

Posted: Mon Aug 08, 2022 3:27 pm
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?

Re: Pic12629 + Pic12f675 not working!

Posted: Mon Aug 08, 2022 3:41 pm
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