Page 1 of 1

PIC10F322 problem

Posted: Fri Aug 18, 2017 9:13 am
by Walbeek
Hi there,

I have used a PIC10F322 in a project and want to program it with the EB006 programmer.
When uploading, an error shows, "Unknown chip in data file"
Does anybody know what the problem van be?
Please let me know.

Re: PIC10F322 problem

Posted: Fri Aug 18, 2017 10:29 am
by Benj
Hi Rinie,

I'm afraid that the EB006 does not support programming 10F devices. You will likely need a PICkit 3 or similar to be able to reprogram them.

Re: PIC10F322 problem

Posted: Tue Aug 22, 2017 1:54 pm
by Walbeek
Hello Ben,

Thanks for your email, I have ordered a PicKit3 and a PicDem-Lab2 to program the device.
I have created a simple blinking file and after some start-up problems I have programmed into the PIC10F322.

The functionality that I need is PWM on two ports of the PIC, that's why I have selected the 10F322.
I have made the program in FC7 and try to compile it to a HEX file.
Than errors apear, shown in the attachemend.
Do you know how to fix this?

Please let me know how to fix this.

Re: PIC10F322 problem

Posted: Tue Aug 22, 2017 3:24 pm
by Benj
Hi Rinie,

I've found and fixed the problem in the 10F definition file.

Simply copy the file below into your "Flowcode 7/FCD/PIC" folder and restart Flowcode.
10F322.fcdx
(11.71 KiB) Downloaded 229 times
You will also need to use the PWM component listed under Tools -> CAL.

The standard PWM component with simulation listed under Outputs is currently having problems compiling on the 10F device as the compiler doesn't like the simulation draw functions. These normally get optimised out but the compiler is not even parsing them due to the limited resources on the device. I'm investigating if we can easily solve this.

Re: PIC10F322 problem

Posted: Wed Aug 23, 2017 1:14 pm
by Walbeek
Hello Ben,

I have put a copy of your file in the proper place and changed from standard PWM to the TOOLS/CAL/PWM function.
However, the problem seems the same, still no hex file is generated.
I have included the messagebox and the FC7 file.
Can you please take a look whats hapening?
Please let me know.