Hi
I am having trouble with programming PIC 16F18877, I am using EB023 and unable to get this working using 16FPIC18877 but switched to PIC 18F2680 and it works fine. I also have problems with this chip using SPI and I2C. but other chips work fine. Any idea why?
BL0080 and PIC18877
Moderator: Benj
-
- Posts: 93
- Joined: Mon Sep 23, 2013 4:33 pm
- Has thanked: 5 times
- Been thanked: 6 times
- 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: BL0080 and PIC18877
Hello,
Does the 16F18877 work ok with simple none comms based programs e.g. a 1 second flasher?
Can you post a program that is currently not working on the 16F18877 device?
Is your copy of v8 fully up to date? e.g. 8.2 with all the latest updates?
Does the 16F18877 work ok with simple none comms based programs e.g. a 1 second flasher?
Can you post a program that is currently not working on the 16F18877 device?
Is your copy of v8 fully up to date? e.g. 8.2 with all the latest updates?
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: 93
- Joined: Mon Sep 23, 2013 4:33 pm
- Has thanked: 5 times
- Been thanked: 6 times
Re: BL0080 and PIC18877
V8 not up to date I will test it later with update and let you know.
The older the boy the bigger the toy
-
- Posts: 93
- Joined: Mon Sep 23, 2013 4:33 pm
- Has thanked: 5 times
- Been thanked: 6 times
Re: BL0080 and PIC18877
OK Flowcode 8 fully up to date ver 8.2.0.12.
The attached program works fine with 18F2680, But not with 16F18877. This is still the case it hangs on first call to EB023.
My guess is that there may be something not correct with remap pins, but its only a guess.
The attached program works fine with 18F2680, But not with 16F18877. This is still the case it hangs on first call to EB023.
My guess is that there may be something not correct with remap pins, but its only a guess.
- Attachments
-
- TransponderInterfaceUDPTestTX.fcfx
- (24.43 KiB) Downloaded 204 times
The older the boy the bigger the toy
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
Re: BL0080 and PIC18877
Could you try setting SPI to read sample point middle.
I cannot check the project at the moment.
You might need to configure Flowcode to expose the component property tree
I cannot check the project at the moment.
You might need to configure Flowcode to expose the component property tree
-
- Posts: 93
- Joined: Mon Sep 23, 2013 4:33 pm
- Has thanked: 5 times
- Been thanked: 6 times
Re: BL0080 and PIC18877
I tried SPI component on middle and end. There was no difference
The older the boy the bigger the toy
-
- Posts: 93
- Joined: Mon Sep 23, 2013 4:33 pm
- Has thanked: 5 times
- Been thanked: 6 times
Re: BL0080 and PIC18877
On other devices it was working sometimes but not others so added Rx::setdestination and its reliable on other devices. but not on PIC18877.
The older the boy the bigger the toy
-
- Posts: 93
- Joined: Mon Sep 23, 2013 4:33 pm
- Has thanked: 5 times
- Been thanked: 6 times
Re: BL0080 and PIC18877
Here is working code, I am using. works fine.
- Attachments
-
- TransponderInterfaceTest.fcfx
- (35.21 KiB) Downloaded 217 times
The older the boy the bigger the toy