I'm developing a product with low cost low power 24F16KA family and I'm not able to use full I/O in port functions. RB2 and RB7 are unselectable.
Would prefer not to use supplementary code if at all possible.
Can someone check for me, start a new project and add an LED and try to attach it to either of these pins.
Is there anywhere I can edit the pin maps?
Thanks.
Kevin.
24FxxKA10x missing RB2 and RB7
Moderator: Benj
- 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: 24FxxKA10x missing RB2 and RB7
Hi Kevin,
Yes the pins are editable by loading the .fcd definition file into a text editor.
FCD files are located here: "Flowcode 5\dsPIC\FCD"
The file contains sections like this.
Ports section - lets you assign a chip pin to a port
portmasks section - indicates which bits of a port are available.
Yes the pins are editable by loading the .fcd definition file into a text editor.
FCD files are located here: "Flowcode 5\dsPIC\FCD"
The file contains sections like this.
Pins section - lets you set the user label of the pin[Pins]
Pin1 = "MCLR / RA5"
Pin2 = "AN0 / VREF+ / RA0"
....
[Ports]
PortPin1=0x0005
PortPin2=0x0000
....
[PortMasks]
PortMask0=0x007F
PortMask1=0xF313
Ports section - lets you assign a chip pin to a port
portmasks section - indicates which bits of a port are available.
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
Re: 24FxxKA10x missing RB2 and RB7
Thank you Benj for your reply, I'll give it a go, and thanks also for the help you gave here, viewtopic.php?f=54&t=15269&p=62505&hilit=Nvmadr#p62505
I couldn't compile because of this error also, after adding the type2 version to the eprom.c file all worked OK.
Pitty a compile error search doesn't cover all forums at once.
Cheers
Kev.
I couldn't compile because of this error also, after adding the type2 version to the eprom.c file all worked OK.
Pitty a compile error search doesn't cover all forums at once.
Cheers
Kev.