Search found 1030 matches

by QMESAR
Fri Jul 19, 2019 3:22 pm
Forum: Flowcode V8
Topic: Assembly code
Replies: 2
Views: 90

Re: Assembly code

Why assembly a C function call with normal C code is perfect

here I am using a C icon and C code to use Timer1 on dsPIC as an example

P1.jpg
P1.jpg (65.2 KiB) Viewed 83 times


P2.jpg
P2.jpg (64.01 KiB) Viewed 83 times
by QMESAR
Wed Jul 17, 2019 1:16 pm
Forum: Flowcode V8
Topic: C Code conversion to Icon
Replies: 6
Views: 100

Re: C Code conversion to Icon

Hi Steve,
Wow that would be great ,
Thank you very much for your support today :D
by QMESAR
Wed Jul 17, 2019 11:08 am
Forum: Flowcode V8
Topic: C Code conversion to Icon
Replies: 6
Views: 100

Re: C Code conversion to Icon

Hi Steve, Thank so much yes it is clear what is happening and it not an big issue or game changer at the moment by uing a mix of the abilities i will get some realistic flowchart It would be perfect if the converter could converts the bit field(dot notations) and the registers but I guess that is a ...
by QMESAR
Wed Jul 17, 2019 10:33 am
Forum: Flowcode V8
Topic: C Code conversion to Icon
Replies: 6
Views: 100

Re: C Code conversion to Icon

Hello Steve.
Thank you for your reply.
I have made a simple project and I tried our T1CONbits.TON as you mentioned it seems I am doing something wrong as
flowcode does not understand it ,sorry for my stupidity

P1.jpg
P1.jpg (79.7 KiB) Viewed 84 times
by QMESAR
Wed Jul 17, 2019 8:29 am
Forum: Flowcode V8
Topic: C Code conversion to Icon
Replies: 6
Views: 100

C Code conversion to Icon

Hi Team. Please help me out in understanding the C code conversion engine at present It seems that only C code that is listed in the FC8 function table can be converted to an Icon /simulated. C ode that contains general C and access directly to mcu registers can not be converted or am I understandin...
by QMESAR
Tue Jul 02, 2019 8:05 pm
Forum: Flowcode V8
Topic: dsPIC33EP Timer1 Custom Interrupt
Replies: 2
Views: 108

Re: dsPIC33EP Timer1 Custom Interrupt

Hi All.

Ok the posted Interrupt syntax seems to work fine just for those who has or will have the same confusion as me :D
by QMESAR
Tue Jul 02, 2019 9:34 am
Forum: Flowcode V8
Topic: dsPIC33EP Timer1 Custom Interrupt
Replies: 2
Views: 108

Re: dsPIC33EP Timer1 Custom Interrupt

Guys
it seems it is done this way :D Can you confirm this if possible

Code: Select all

void __attribute__((__interrupt__, no_auto_psv)) _T1Interrupt()
{
 // code in here
}
by QMESAR
Tue Jul 02, 2019 9:00 am
Forum: Flowcode V8
Topic: dsPIC33EP Timer1 Custom Interrupt
Replies: 2
Views: 108

dsPIC33EP Timer1 Custom Interrupt

Hi Ben /leigh, Do you guys have a small example how to setup the Timer1 interrupt as a custom code in FC8 ,(dsPIC33EP) I do not need the bit values of the registers my problem is the ISR function with the vector . I have it in mikroC but that is not as it should be in Flowcode In mikroC it look like...
by QMESAR
Tue Jul 02, 2019 8:05 am
Forum: Flowcode V8
Topic: PK3 Errors with dsPIC in V8
Replies: 3
Views: 144

Re: PK3 Errors with dsPIC in V8

HI Stephan.

Erasing the chip and then try to program with FC does not work on this chip,any case thank again for your help,
I will just keep going with MPE for now :D
by QMESAR
Mon Jul 01, 2019 4:18 pm
Forum: Flowcode V8
Topic: PK3 Errors with dsPIC in V8
Replies: 3
Views: 144

Re: PK3 Errors with dsPIC in V8

Thanks Stefan I will try :)
by QMESAR
Mon Jul 01, 2019 6:26 am
Forum: Flowcode V8
Topic: Cannot get 16F1507 working with Flowcode 8 and PicKit 3.
Replies: 7
Views: 259

Re: Cannot get 16F1507 working with Flowcode 8 and PicKit 3.

:) You are welcome I always do the same things that's why I recognize the error
by QMESAR
Sun Jun 30, 2019 8:13 pm
Forum: Flowcode V8
Topic: Cannot get 16F1507 working with Flowcode 8 and PicKit 3.
Replies: 7
Views: 259

Re: Cannot get 16F1507 working with Flowcode 8 and PicKit 3.

HI The error you are getting imply that you have no connection to the chip and PICkit just a question did you switch the bridge connection on the EB006V9 to ICSP ,if it is in the USB position you the connection is to the ON board Ghost chip and not to the ICSP connection(PICKIT connection) Hope this...
by QMESAR
Sun Jun 30, 2019 8:29 am
Forum: Flowcode V8
Topic: PK3 Errors with dsPIC in V8
Replies: 3
Views: 144

PK3 Errors with dsPIC in V8

Hi Team. I am working with and ECIOP16 with no bootloader on it as I am using PK3 to program it from MPLAB and now I am doing a project with it in FC8 however when compile to chip everything works fine except that the Programming window reports the chip is not empty and FC abort the programming. Usi...
by QMESAR
Thu May 30, 2019 4:32 pm
Forum: Bug reports
Topic: PIC18F26K80 LCD wont work on PORTC
Replies: 3
Views: 299

Re: PIC18F26K80 LCD wont work on PORTC

Please see this topic,
I am quite sure your pin RC0 and RC1 is not working and the lcd also not :D
On the 26K80 you have to set one settings as digital in the configuration to get RCO and RC1 to work as digital pins !

viewtopic.php?f=76&t=21157
by QMESAR
Thu May 16, 2019 5:22 am
Forum: Flowcode V8
Topic: ECIO40P16 ADC
Replies: 2
Views: 179

Re: ECIO40P16 ADC

Hi

Yes it is possible you use a C Icon and configure the ADC to your needs and Do the reads also by a C Icon,
FC does not support the advanced features directly with an Component.
by QMESAR
Wed May 01, 2019 4:42 pm
Forum: Flowcode V8
Topic: P16F1615 RX Interrupt PPS wrong
Replies: 2
Views: 250

Re: P16F1615 RX Interrupt PPS wrong

Hi Ben.
Thanks a million I will give it ago :D
by QMESAR
Tue Apr 30, 2019 9:24 am
Forum: Flowcode V8
Topic: P16F1615 RX Interrupt PPS wrong
Replies: 2
Views: 250

P16F1615 RX Interrupt PPS wrong

Hi Ben /Leigh. I am using a PIC16F1615 UART the PPS settings from the component properties does not work the RX pin never get alocated to the pin you select I have for now just add the below code after the UART Init Call and it is working fine now . I have see similar issues on other P16F1xx devices...
by QMESAR
Fri Apr 19, 2019 9:01 am
Forum: Flowcode V8
Topic: PORT RC0 PIC18F26K80 never get output[Solved]
Replies: 4
Views: 348

Re: PORT RC0 PIC18F26K80 never get output[Solved]

Hi Team.

Just as an info for others the P18F26K80 is a bit tricky with the configuration bits to get the RC0 and RC1 pins to work as digital you have to set
the SOSC Power bit to Digital :wink:
:D

2019-04-19_11-49-44.jpg
2019-04-19_11-49-44.jpg (153.3 KiB) Viewed 313 times
by QMESAR
Tue Apr 16, 2019 3:54 pm
Forum: Feature Requests
Topic: Bluetooth Modul RN4870 RN4871
Replies: 6
Views: 368

Re: Bluetooth Modul RN4870 RN4871

Thanks a million Ben :D
by QMESAR
Tue Apr 16, 2019 2:33 pm
Forum: Flowcode V8
Topic: PORT RC0 PIC18F26K80 never get output[Solved]
Replies: 4
Views: 348

Re: PORT RC0 PIC18F26K80 never get output

Update: Hi Ben. Ok getting to run at 64Mhz I have to add manually in C code or set the PLL bit to 1 OSCTUNE = 0x40; This activate the PLL and the Chip run at 64Mhz from the 16MHZ internal oscillator. Using the PLL bit in the Configuration settings(FC) has no effect just to let you know However that ...
by QMESAR
Tue Apr 16, 2019 1:56 pm
Forum: Flowcode V8
Topic: PORT RC0 PIC18F26K80 never get output[Solved]
Replies: 4
Views: 348

Re: PORT RC0 PIC18F26K80 never get output

Hi Ben,
Thank for your advice :D
To be honest I am an old man and born before computers so I never scratch inside the machine of FC .
I can try to use the MPLAB X compiler version but help me to do that :oops:
by QMESAR
Tue Apr 16, 2019 12:18 pm
Forum: Flowcode V8
Topic: PORT RC0 PIC18F26K80 never get output[Solved]
Replies: 4
Views: 348

PORT RC0 PIC18F26K80 never get output[Solved]

Hi Team. I have an issue with the Output Icon on PIC18F26K80 RC0 and RC 1 I never get an output on these pins I then used MPLAB and toggel these pins in Code working fine no problem the HW it seems to be something with the FC component on PIC18F26K80. p1.jpg Secondly Ben /leigh Please help :oops: I ...
by QMESAR
Fri Apr 12, 2019 3:08 pm
Forum: Feature Requests
Topic: Bluetooth Modul RN4870 RN4871
Replies: 6
Views: 368

Re: Bluetooth Modul RN4870 RN4871

Hi Team.

I have to support Stephan here it would be great if you can help with the board connector for the Eblocks 2 it will help us
to place these connectors on our boards and plug the eblocks in directly :D
Type,partnomber and supplies :D
by QMESAR
Fri Apr 12, 2019 8:44 am
Forum: Flowcode V8
Topic: Send Number over UART
Replies: 2
Views: 246

Re: Send Number over UART

Thanks a million Leigh
:D
I appreciate you pulling me out of the endless loop :D :D
by QMESAR
Fri Apr 12, 2019 7:50 am
Forum: Flowcode V8
Topic: Send Number over UART
Replies: 2
Views: 246

Send Number over UART

Hi Team, I am struggeling to understand what I am doing wrong, I have the Voltage of AN0 in a Float variable example 3.338xxx then I load the value into a Long variable for the component macro SendNumber in the debugger I see now iin the LoadSignal(the ANO Voltage) 3.338 but in the TestNumber Variab...