Hello,
I have problems with compiling for the 16F505.
I'm not able to compile even an empty program.
I use the default compiler settings.
i have no problems with other microchips.
Does anyone know what's going wrong.
Thanks in advance,
Lucas
Compiling for 16F505
Moderator: Benj
-
- Posts: 444
- Joined: Tue Apr 15, 2014 4:19 pm
- Location: Kajaani, Finland
- Has thanked: 345 times
- Been thanked: 227 times
- Contact:
Re: Compiling for 16F505
Hi!
Could you try these files and see does it help? I put the backup files there too, if it doesnt help.
Changelog:
Flowcode will still give you a reminder about the low ram mode:
I cant say its bug free. I think the Port definitions need some work too...
Could you try these files and see does it help? I put the backup files there too, if it doesnt help.
Changelog:
Code: Select all
CAL\internals.c: line 71, see comment on line 70.
FCD \PIC\16F505.fcdx: line 70, see comment on line 69.
Code: Select all
C:\Program Files (x86)\Flowcode 7\CAL\internals.c:
75: #warning "String temporary variables not defined to save on limited RAM space on your current target device"
(162) #warning: "String temporary variables not defined to save on limited RAM space on your current target device" ^ (warning)
Code: Select all
82: FCV_TEST = (FC_CAL_Port_In_DDR__x((&PORTC), (&TRISC), (0xFF), (0)));
^ (1418) attempt to read "control" qualified object which is Write-Only
(908) exit status = 1
(908) exit status = 1
- Attachments
-
- 16F505_patch.zip
- (9.96 KiB) Downloaded 248 times
Ill just keep the good work up!
- 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: Compiling for 16F505
Hello,
I think I fixed this problem a few weeks back but haven't posted it yet. I'll get it up on the forums for you tomorrow.
The device has very limited resources so no string manipulation using the current buffer. The io is also more like a 10f than a 16f with a command for the tris rather than a register.
I think I fixed this problem a few weeks back but haven't posted it yet. I'll get it up on the forums for you tomorrow.
The device has very limited resources so no string manipulation using the current buffer. The io is also more like a 10f than a 16f with a command for the tris rather than a register.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- 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: Compiling for 16F505
Hello,
I've now posted all the latest updates here which should solve the problem for you.
viewtopic.php?f=63&t=18760
Let me know how you get on.
I've now posted all the latest updates here which should solve the problem for you.
viewtopic.php?f=63&t=18760
Let me know how you get on.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel