Search found 6795 matches

by medelec35
Wed Nov 13, 2019 6:29 pm
Forum: Bug reports
Topic: Pic16F1618 UART Remap
Replies: 15
Views: 174

Re: Pic16F1618 UART Remap

No problem,
I have moved topic to the V7 bugs section.
Out of curiosity,
Have you got the latest V7 update posted here?
by medelec35
Wed Nov 13, 2019 3:38 pm
Forum: Bug reports
Topic: Pic16F1618 UART Remap
Replies: 15
Views: 174

Re: Pic16F1618 UART Remap

C:\Program Files (x86)\Flowcode 7\CAL\PIC\PIC_CAL_UART.c: Woops, Thought you was using V8, sorry. 206: #error "Software UART Baud Rate Not Available At This Clock Speed" Software mode has limitations and is not as good as hardware mode. I don't believe that is a bug as 115200 in software ...
by medelec35
Wed Nov 13, 2019 2:53 pm
Forum: Bug reports
Topic: Pic16F1618 UART Remap
Replies: 15
Views: 174

Re: Pic16F1618 UART Remap

Hi Brian,
Just wanted to make sure as much is covered as possible.

So long as you have checked you are using the latest version (8.2.1.14), sounds like you have gone as far as you can go.
This possibly requires a fix from Martix.
by medelec35
Wed Nov 13, 2019 11:39 am
Forum: Bug reports
Topic: Pic16F1618 UART Remap
Replies: 15
Views: 174

Re: Pic16F1618 UART Remap

I have moved this topic from the "Tips and Tricks" section as that is meant for sharing your knowledge
Not for starting off with asking questions.

Another thing I have thought of.
Can you measure the voltage on the TX output whilst sending data and not sending data?
by medelec35
Wed Nov 13, 2019 10:36 am
Forum: Bug reports
Topic: Pic16F1618 UART Remap
Replies: 15
Views: 174

Re: Pic16F1618 UART Remap

If the 1sec flash test is ok,
Have you tried moving send string function to before the decision branch to eliminate connection issues?
Do you have a scope or logic analyser?
If no then this is what I do if terminal not displaying correct text.
by medelec35
Sun Nov 03, 2019 1:46 am
Forum: Flowcode V7
Topic: Compiler settings
Replies: 2
Views: 170

Re: Compiler settings

Hi John, Compiler will be running in free mode as that is shipped with all Flowcode versions 7 and above. If you have got professional version of Flowcode then you will be licenced to use it at work, even though the compiler will be in free mode. If you want the professional version of XC8 compiler,...
by medelec35
Fri Nov 01, 2019 2:35 pm
Forum: Flowcode V8
Topic: FC 8 do not open/start
Replies: 10
Views: 305

Re: FC 8 do not open/start

Hi Abhi,
I have not experienced the same issue.
Are you able to post your flowchart and I can try with that?
by medelec35
Thu Oct 31, 2019 2:42 pm
Forum: Flowcode V8
Topic: FC 8 do not open/start
Replies: 10
Views: 305

Re: FC 8 do not open/start

Hi Abhi,
You're welcome.
AbhijitR wrote:Once again I will repeat, coping flowchart (partially) from written/created in FC6 to FC8 could be the problem

I'm not sure, but if you would prefer I can convert V6 to V8.
If you want me to do that for you, just pm flowchart and I will pm you the V8 version.
by medelec35
Thu Oct 31, 2019 1:54 pm
Forum: Flowcode V8
Topic: FC 8 do not open/start
Replies: 10
Views: 305

Re: FC 8 do not open/start

Hi Abhi, I am not able to open your second link (on the line number 2, says "You are not authorised to read this forum.") Sorry wrong link it should have been this link . Stupid question, where can I find the latest version of FC8 Pro Within the link it's suggested to delete the registry k...
by medelec35
Thu Oct 31, 2019 1:24 pm
Forum: Flowcode V8
Topic: FC 8 do not open/start
Replies: 10
Views: 305

Re: FC 8 do not open/start

Hi Abhi,
It looks like this is the official line on that bug.
by medelec35
Wed Oct 30, 2019 9:27 am
Forum: 8-Bit PIC
Topic: PIC18F47J53 ICD (Flowkit ) Not working
Replies: 11
Views: 2291

Re: PIC18F47J53 ICD (Flowkit ) Not working

Hi Ben, We've come across the INTOSC + ICD problem before in v5, here we fixed it by adding a custom override to one of the components which was a bit easier to do but a bit more hidden and less intuitive. I wanted to do something similar with the INTOSC helper but I think it requires API changes to...
by medelec35
Tue Oct 29, 2019 1:55 pm
Forum: Flowcode V8
Topic: 18F27K40 Silicon issue with rev a002 [Resolved].
Replies: 16
Views: 650

Re: 18F27K40 Silicon issue.

Update, After changing: #include <xc.inc> GLOBAL powerup, start PSECT powerup, class=CODE, delta=1, reloc=2 powerup: BSF NVMCON1, 7 GOTO start end To #include <xc.inc> GLOBAL powerup, start PSECT powerup, class=CODE, delta=1, reloc=2 powerup: BSF NVMCON1, 7 GOTO start end Flowcode compiles and hardw...
by medelec35
Mon Oct 28, 2019 4:39 pm
Forum: Flowcode V8
Topic: 18F27K40 Silicon issue with rev a002 [Resolved].
Replies: 16
Views: 650

Re: 18F27K40 Silicon issue.

Hi Ben. All the steps I have taken. 1. Named a directory to FC on the root drive. 2. Placed within the FC directory a file called powerup.as Contents of powerup.as: #include <xc.inc> GLOBAL powerup, start PSECT powerup, class=CODE, delta=1, reloc=2 powerup: BSF NVMCON1, 7 GOTO start end 3. Modifed b...
by medelec35
Sat Oct 26, 2019 2:29 pm
Forum: Flowcode V8
Topic: Stuck in a while loop
Replies: 3
Views: 208

Re: Stuck in a while loop

Hi Abhi,
Thank you for the nice comments.
You are very welcome.
Glad we have helped you to learn new things :)
by medelec35
Sat Oct 26, 2019 10:51 am
Forum: Flowcode V8
Topic: Stuck in a while loop
Replies: 3
Views: 208

Re: Stuck in a while loop

Hi panuj417 , I have moved your post, so not hijacking a members topic. One issue is you are reading the value of a button, if the value is true, then the loop is accessed. There is not a button to read within the loop, so the value will never go from 1 to 0. You can just place another Button ReadSt...
by medelec35
Fri Oct 25, 2019 3:31 pm
Forum: Flowcode V8
Topic: 18F27K40 Silicon issue with rev a002 [Resolved].
Replies: 16
Views: 650

Re: 18F27K40 Silicon issue.

Thanks Ben.
Won't be able to test until Monday.
Once tested, will let you know the results.
by medelec35
Fri Oct 25, 2019 1:31 pm
Forum: Flowcode V8
Topic: 18F27K40 Silicon issue with rev a002 [Resolved].
Replies: 16
Views: 650

Re: 18F27K40 Silicon issue.

I have had a reply from Microchip on this, In order to see how to call the powerup.as file you can do a small test. For example, if you generate an empty project in MPLABX, with only while(1); loop in main and include the powerup.as file, you can build the project and see what you have to call in th...
by medelec35
Fri Oct 25, 2019 12:15 pm
Forum: Bug Reports
Topic: PIC18F27K42 - UART
Replies: 11
Views: 517

Re: PIC18F27K42 - UART

Hi Ben,
Thank you
Yes UART is now working with the latest update.
Benj wrote:I'll try and get onto those interrupts for you too.

That's great thanks.
by medelec35
Thu Oct 24, 2019 3:32 pm
Forum: Bug Reports
Topic: PIC18F27K42 - UART
Replies: 11
Views: 517

Re: PIC18F27K42 - UART

Hi Ben, Something has gone wrong with pushing the update on the system. The file you posted compiles ok. When compile with V6.0, The following errors occur: M:\Flowcode Testing>"C:\Program Files (x86)\Microchip\xc8\v2.05\bin\xc8-cc.exe" -mcpu=18F27K42 "PIC18f27K42.c" -w=359,1273,...
by medelec35
Thu Oct 24, 2019 8:12 am
Forum: Flowcode V8
Topic: Integrate PICKIT into flowcode
Replies: 2
Views: 223

Re: Integrate PICKIT into flowcode

2019_10_24_08_07_41_Integrate_PICKIT_into_flowcode_Matrix_user_forums.png You need to have the Default compiler for the platform C for PIC selected. Flowcode will compile and program using whatever Compiler option is ticked (which is shown as a bold font). In your case the Default is selected, henc...
by medelec35
Tue Oct 22, 2019 3:44 pm
Forum: E-blocks
Topic: ICSP cable length
Replies: 3
Views: 560

Re: ICSP cable length

Hi Jan,
Have you tried placing a small load of about 4K7 between data & 0V + clock & 0V?
Not sure if it will make a difference, but it could be electrical noise is changing the programming waveform with longer lengths of cable?
by medelec35
Tue Oct 22, 2019 8:30 am
Forum: Bug Reports
Topic: PIC18F27K42 - Interrupts
Replies: 0
Views: 99

PIC18F27K42 - Interrupts

The following interrupts fail to compile:
IOC PortB
INT0
Timer 1
Timer 2
Timer 3
Timer 4
Timer 5
Timer 6
SPI 1
SPI RX 1
SPI TX 1

Not sure if cosmetic bug or deliberate?
All I2C & SPI selections show a different value then within drop-down list.
For example:
2019_10_22_08_25_44_PIC18f27K42.png
2019_10_22_08_25_44_PIC18f27K42.png (21.22 KiB) Viewed 99 times
by medelec35
Mon Oct 21, 2019 5:48 pm
Forum: Bug Reports
Topic: PIC18F27K42 - UART
Replies: 11
Views: 517

Re: PIC18F27K42

Hi Ben,
Thank you.
RX and TX are now working perfect.
Tested at 9600 and 38400 BPS
by medelec35
Mon Oct 21, 2019 3:51 pm
Forum: Bug Reports
Topic: PIC18F27K42 - UART
Replies: 11
Views: 517

Re: PIC18F27K42

You're welcome.
Baud dropped to 151 bits per sec
by medelec35
Mon Oct 21, 2019 3:30 pm
Forum: Bug Reports
Topic: PIC18F27K42 - UART
Replies: 11
Views: 517

Re: PIC18F27K42

Hi Ben,
the baud is set to 9600
Measured baud is 38.5K
Internal Osc speed is correct @ 48MHz as UART works in software mode.
Will Test RX after TX confirmed working.