PIC10F322 problem

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 7.

Moderator: Benj

Post Reply
Walbeek
Flowcode v5 User
Posts: 68
Joined: Thu Mar 01, 2007 10:48 am
Location: Netherlands
Been thanked: 3 times
Contact:

PIC10F322 problem

Post 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.
Attachments
10F322 error.jpg
10F322 error.jpg (57.45 KiB) Viewed 4204 times
Greetings, Rinie
Flowcode V7 user

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: PIC10F322 problem

Post 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.

Walbeek
Flowcode v5 User
Posts: 68
Joined: Thu Mar 01, 2007 10:48 am
Location: Netherlands
Been thanked: 3 times
Contact:

Re: PIC10F322 problem

Post 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.
Attachments
PIC10F322 error PWM.jpg
PIC10F322 error PWM.jpg (90.72 KiB) Viewed 4178 times
Greetings, Rinie
Flowcode V7 user

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: PIC10F322 problem

Post 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 216 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.

Walbeek
Flowcode v5 User
Posts: 68
Joined: Thu Mar 01, 2007 10:48 am
Location: Netherlands
Been thanked: 3 times
Contact:

Re: PIC10F322 problem

Post 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.
Attachments
OL 2017 prototype 01.fcfx
(16.47 KiB) Downloaded 231 times
10F322 error 03.jpg
10F322 error 03.jpg (109.29 KiB) Viewed 4155 times
Greetings, Rinie
Flowcode V7 user

Post Reply