@Martin yes that should have been obvious to me
Fixed, thanks.
Jan
Search found 82 matches
- Tue Aug 02, 2022 2:11 pm
- Forum: General
- Topic: PIC 8bit toolchain nor gecognized
- Replies: 5
- Views: 1358
- Mon Aug 01, 2022 4:38 pm
- Forum: General
- Topic: PIC 8bit toolchain nor gecognized
- Replies: 5
- Views: 1358
Re: PIC 8bit toolchain nor gecognized
Hi Ben, thanks for chiming in.
They are there but not under Common but rather under Common>V9.
I did not change any of the default folder locations during install.
Jan
They are there but not under Common but rather under Common>V9.
I did not change any of the default folder locations during install.
Jan
- Mon Aug 01, 2022 4:10 pm
- Forum: General
- Topic: PIC 8bit toolchain nor gecognized
- Replies: 5
- Views: 1358
PIC 8bit toolchain nor gecognized
Hi, Moving to a new laptop, installed FC9 succesfully, then downloaded and ran the toolchain for the 8bit PICs. When trying to compile the project I get the message Toolchain not installed. I repeated a few times, with FC9 not open during the toolchain install. Toolchain is installed, when re-instal...
- Fri Jun 24, 2022 7:28 am
- Forum: General
- Topic: Help with XC compiler problem
- Replies: 9
- Views: 4917
Re: Help with XC compiler problem
This had stumped me some time: how to name a bit called (overbar)WPPU in the data sheet.
Of course: OPTION_REGbits.nWPPU = 1 !
Thanks (again) Martin.
Jan Didden
Of course: OPTION_REGbits.nWPPU = 1 !
Thanks (again) Martin.
Jan Didden
- Thu Jun 16, 2022 9:16 am
- Forum: General
- Topic: Dynamically remapping output pins
- Replies: 8
- Views: 2002
Re: Dynamically remapping output pins
I found this video on the subject from Microchip: https://www.youtube.com/watch?v=tf2SfSm6fQg Anyway, finally got it to work. It appears that if you redirect to another pin, you have to 'reset' the redirection that was in place before. For example, if you redirect first to RB2 and then to RB3, you s...
- Wed Jun 15, 2022 7:19 pm
- Forum: General
- Topic: Dynamically remapping output pins
- Replies: 8
- Views: 2002
Re: Dynamically remapping output pins
Latest version, not sure what else to try.
jan
jan
- Wed Jun 15, 2022 3:27 pm
- Forum: General
- Topic: Dynamically remapping output pins
- Replies: 8
- Views: 2002
Re: Dynamically remapping output pins
No change. I also tried to re-enable the PWM after each redirect command, thinking that redirection might stop it. But that didn't make a difference either. But! The plot thickens, see attached. I did reset the config bit that allows only a one-time redirection (for instance at init, but not when th...
- Wed Jun 15, 2022 12:08 pm
- Forum: General
- Topic: Dynamically remapping output pins
- Replies: 8
- Views: 2002
Re: Dynamically remapping output pins
I'll check, but the flashing as such works correctly, so I don't think thats the issue, also it is defined with initial value 0.
Jan
Jan
- Wed Jun 15, 2022 11:18 am
- Forum: General
- Topic: Dynamically remapping output pins
- Replies: 8
- Views: 2002
Re: Dynamically remapping output pins
Hi Ben, that does not appear to work, see attached.
I can select which LED is flashing by selecting the appropriate port/pin in the PWM component property dialog,
(which confirms the correct hardware connections), but it doesn't redirect due to the code.
Jan
I can select which LED is flashing by selecting the appropriate port/pin in the PWM component property dialog,
(which confirms the correct hardware connections), but it doesn't redirect due to the code.
Jan
- Wed Jun 15, 2022 9:33 am
- Forum: General
- Topic: Dynamically remapping output pins
- Replies: 8
- Views: 2002
Dynamically remapping output pins
I need to dynamically (under program control) remap the output of the PWM3 channel to different output pins, like B2, B3, B4. In the PWM component properties dialog I can select an initial output pin, like B3. But then later in the program I need to redirect it to for instance B4. Studying the data ...