PIC18F47J53 Definition File

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

Moderator: Benj

Post Reply
james_r_lucas
Posts: 10
Joined: Fri Feb 14, 2014 11:02 am
Been thanked: 3 times
Contact:

PIC18F47J53 Definition File

Post by james_r_lucas »

Hello All,

I am currently getting an Error when opening or starting a new project with the PIC18F47J53 Device

"Unable to create microcontrollerPIC.18.18F47J53 as the definition file PIC.18.18F47J53.FCD is missing or corrupt. [0x4]
Duplicate <device.pins.pin>:port[0,1]"

What's happening here?

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: PIC18F47J53 Definition File

Post by Benj »

Hello,

I have checked this and it has now been fixed, I'll attach the current FCDX file which should hopefully solve the issue for you.

james_r_lucas
Posts: 10
Joined: Fri Feb 14, 2014 11:02 am
Been thanked: 3 times
Contact:

Re: PIC18F47J53 Definition File

Post by james_r_lucas »

Did you attach the file?

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: PIC18F47J53 Definition File

Post by Benj »

Sorry attached now,
Attachments
18F47J53.fcdx
(51.52 KiB) Downloaded 227 times

Mathy
Posts: 333
Joined: Mon Oct 05, 2009 2:39 pm
Has thanked: 30 times
Been thanked: 33 times
Contact:

Re: PIC18F47J53 Definition File

Post by Mathy »

Hello Benj,

There is the same problem with 18F46J53.
I tried with your updated fcdx and it works now for 47J53 but falling to compile with usb serial component.

Code: Select all

Flowcode1.c
Starting preprocessor: "C:\Program Files (x86)\Flowcode 6\compilers\pic\boostc\pp.exe" Flowcode1.c -i "C:\Program Files (x86)\Flowcode 6\compilers\pic\boostc\include" -d _PIC18F47J53 -la -c2 -o Flowcode1.pp -v -d _BOOSTC -d _PIC18 -d _CHAR_INDEX 

.......................
C:\Program Files (x86)\Flowcode 6\compilers\pic\boostc\include\USB\pic_usb_buffer_mgt.c(60:26): error: unknown identifier 'USBEP0O'
C:\Program Files (x86)\Flowcode 6\compilers\pic\boostc\include\USB\pic_usb_buffer_mgt.c(60:25): error: failed to set fixed address for variable 'bd0out'
C:\Program Files (x86)\Flowcode 6\compilers\pic\boostc\include\USB\pic_usb_buffer_mgt.c(61:26): error: unknown identifier 'USBEP0I'
C:\Program Files (x86)\Flowcode 6\compilers\pic\boostc\include\USB\pic_usb_buffer_mgt.c(61:25): error: failed to set fixed address for variable 'bd0in'
C:\Program Files (x86)\Flowcode 6\compilers\pic\boostc\include\USB\pic_usb_buffer_mgt.c(62:26): error: unknown identifier 'USBEP1O'
C:\Program Files (x86)\Flowcode 6\compilers\pic\boostc\include\USB\pic_usb_buffer_mgt.c(62:25): error: failed to set fixed address for variable 'bd1out'
C:\Program Files (x86)\Flowcode 6\compilers\pic\boostc\include\USB\pic_usb_buffer_mgt.c(63:26): error: unknown identifier 'USBEP1I'
C:\Program Files (x86)\Flowcode 6\compilers\pic\boostc\include\USB\pic_usb_buffer_mgt.c(63:25): error: failed to set fixed address for variable 'bd1in'
C:\Program Files (x86)\Flowcode 6\compilers\pic\boostc\include\USB\pic_usb_buffer_mgt.c(64:26): error: unknown identifier 'USBEP2O'
C:\Program Files (x86)\Flowcode 6\compilers\pic\boostc\include\USB\pic_usb_buffer_mgt.c(64:25): error: failed to set fixed address for variable 'bd2out'
C:\Program Files (x86)\Flowcode 6\compilers\pic\boostc\include\USB\pic_usb_buffer_mgt.c(65:26): error: unknown identifier 'USBEP2I'
C:\Program Files (x86)\Flowcode 6\compilers\pic\boostc\include\USB\pic_usb_buffer_mgt.c(65:25): error: failed to set fixed address for variable 'bd2in'
C:\Program Files (x86)\Flowcode 6\compilers\pic\boostc\include\USB\pic_usb_buffer_mgt.c(66:26): error: unknown identifier 'USBEP3O'
C:\Program Files (x86)\Flowcode 6\compilers\pic\boostc\include\USB\pic_usb_buffer_mgt.c(66:25): error: failed to set fixed address for variable 'bd3out'
C:\Program Files (x86)\Flowcode 6\compilers\pic\boostc\include\USB\pic_usb_buffer_mgt.c(67:26): error: unknown identifier 'USBEP3I'
C:\Program Files (x86)\Flowcode 6\compilers\pic\boostc\include\USB\pic_usb_buffer_mgt.c(67:25): error: failed to set fixed address for variable 'bd3in'
...
Flowcode1.c success
Good luck !

Mathy
Posts: 333
Joined: Mon Oct 05, 2009 2:39 pm
Has thanked: 30 times
Been thanked: 33 times
Contact:

Re: PIC18F47J53 Definition File

Post by Mathy »

Hi Benj,

Is it possible to have a look at this problem ?
18F47J53 is a very usefull MCU and it is impossible to use the usb serial feature for the moment, but I need this one on my custom board :x

If you can't have a look quickly, is it possible to have a track to find a solution by myself ?

Thank you for your help :)

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: PIC18F47J53 Definition File

Post by Benj »

Hello,

I think this has now been fixed. Copy the attached file into the following directory to resolve the issue.

Directory: "C:\Program Files (x86)\Flowcode 6\compilers\pic\boostc\include\USB"
pic_usb_buffer_mgt.c
(5.18 KiB) Downloaded 251 times
The 18F46J53 is also fixed for the upcoming release.

Let me know how you get on.

Mathy
Posts: 333
Joined: Mon Oct 05, 2009 2:39 pm
Has thanked: 30 times
Been thanked: 33 times
Contact:

Re: PIC18F47J53 Definition File

Post by Mathy »

Hi again Benj,

Thank you, It's compil well now.
I will let you know tonight if it works on real hardware but I'm sure it will.

Mathy
Posts: 333
Joined: Mon Oct 05, 2009 2:39 pm
Has thanked: 30 times
Been thanked: 33 times
Contact:

Re: PIC18F47J53 Definition File

Post by Mathy »

Hello Benj,

Just tested on real hardware and it works like a charm.
I tested only with serial usb, installed the generated driver file and I can see the magic with my terminal :D

Thank you again for your support :)

Post Reply