Hi all,
I cant able to use the SS pin ( RF7 ) in PIC18F86J60 when using flow code. I referred data sheet about it and that was only for slave set bit. Kindly help me in order to use that IO pin where I'm in short of Io pins for my project.
Thanks in advance !
SS bit not able to use on PIC18F86J60-i/pt in flow code
-
- Posts: 24
- Joined: Tue Feb 12, 2013 9:03 am
- Contact:
-
- Flowcode v5 User
- Posts: 211
- Joined: Tue Feb 19, 2013 9:51 pm
- Has thanked: 72 times
- Been thanked: 177 times
- Contact:
Re: SS bit not able to use on PIC18F86J60-i/pt in flow code
You can try this. Open the file 18F86J60.fcd located in C:\Program Files\Flowcode\v5\FCD with a text editor. Just below [PortMasks] is PortMask5=0x7E. Change it to PortMask5=0xFE. Save the change, close it and restart Flowcode.
-
- Posts: 24
- Joined: Tue Feb 12, 2013 9:03 am
- Contact:
Re: SS bit not able to use on PIC18F86J60-i/pt in flow code
Thabks kenrix And it's working. Same I'm struggling with the pin "RJ4" that I cannot use. Help me out pls.
-
- Flowcode v5 User
- Posts: 211
- Joined: Tue Feb 19, 2013 9:51 pm
- Has thanked: 72 times
- Been thanked: 177 times
- Contact:
Re: SS bit not able to use on PIC18F86J60-i/pt in flow code
Change PortMask9=0x20 to PortMask9=0x30. If you convert the hex to binary you can see what is going on. 0x20 = 0b100000, just bit 5 is set.
0x30 = 0b110000, bits 5 and 4 are set.
0x30 = 0b110000, bits 5 and 4 are set.
- 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: SS bit not able to use on PIC18F86J60-i/pt in flow code
Hello,
Thanks for posting the fixes. I have applied these mods to the source so these bugs should not re-appear.
Thanks for posting the fixes. I have applied these mods to the source so these bugs should not re-appear.
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
-
- Posts: 24
- Joined: Tue Feb 12, 2013 9:03 am
- Contact:
Re: SS bit not able to use on PIC18F86J60-i/pt in flow code
HI Benj & kenrix
After editing the.FCD file with above values the flow code is not getting compile. It showing the error that PIC doesn't hape eeprom memory and c code error. Where I'm not using C code anywhere in flow code file..
Help me out pls.
After editing the.FCD file with above values the flow code is not getting compile. It showing the error that PIC doesn't hape eeprom memory and c code error. Where I'm not using C code anywhere in flow code file..
Help me out pls.
- Attachments
-
- ENTRY.fcf
- (106.25 KiB) Downloaded 241 times
-
- Posts: 24
- Joined: Tue Feb 12, 2013 9:03 am
- Contact:
Re: SS bit not able to use on PIC18F86J60-i/pt in flow code
Request a reply on above flow code file error
- 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: SS bit not able to use on PIC18F86J60-i/pt in flow code
Hello,
Which version of Flowcode are you using? Maybe you could post up your edited FCD and I will have a look.
Which version of Flowcode are you using? Maybe you could post up your edited FCD and I will have a look.
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