Search found 190 matches
- Thu Jul 20, 2017 10:20 am
- Forum: General Programming
- Topic: Third party programmers
- Replies: 10
- Views: 9689
Third party programmers
I have read through the next help info Flowcode 7 wiki pages: https://www.matrixtsl.com/wikiv7/index.php?title=Supporting_Third_Party_Programming_Tools https://www.matrixtsl.com/wikiv7/index.php?title=Selecting_Compiler_Options_(PICmicro) https://www.matrixtsl.com/wikiv7/index.php?title=Selecting_Co...
- Wed Jul 19, 2017 10:11 pm
- Forum: General Programming
- Topic: XC compilers optimization level
- Replies: 3
- Views: 8620
Re: XC compilers optimization level
The probelm is solved. For XC8: FC7 – BUILD – Compiler Options – PIC – Compiler Location: C:\Program Files (x86)\Microchip\xc8\v1.42\bin\xc8.exe Parameters: --chip=$(chip) "$(target).c" --MSGDISABLE=359,1273,1388 --OPT=all It asked me to save with a new name these settings, I named it xc8 and appear...
- Wed Jul 19, 2017 7:53 pm
- Forum: General Programming
- Topic: XC compilers optimization level
- Replies: 3
- Views: 8620
Re: XC compilers optimization level
Thank you very much for the explanations. If I install the latest versions of the XC compilers and I do not install with overwrite in Flowcode 7 folder, but in Microchip folder, then I need your help to show how to point to the compilers. I think for XC8 was explained in one of the links above, but ...
- Wed Jul 19, 2017 2:38 pm
- Forum: General Programming
- Topic: XC compilers optimization level
- Replies: 3
- Views: 8620
XC compilers optimization level
How do I set the XC compilers optimization level in FC7? Having the license for professional version of XC8 and XC16 compilers, I need to know how to setup the compilers for PRO version in case of XC8 and different other levels of XC16. XC8 compiler has 3 levels: free, standard and pro. How do I set...
- Tue Jul 18, 2017 10:09 am
- Forum: General Programming
- Topic: Assembler Errors
- Replies: 10
- Views: 8529
Re: Assembler Errors
XC16 C Compiler - User’s Guide Page 42 2.5.16.2 DIFFERENCES The 8-bit compilers have used either the asm() or #asm ... #endasm constructs to insert in-line assembly code. This is the same syntax used by the 16- and 32-bit compilers . Then page 227 onwards. http://ww1.microchip.com/downloads/en/Devic...
- Tue Jul 18, 2017 9:29 am
- Forum: General Programming
- Topic: Assembler Errors
- Replies: 10
- Views: 8529
Re: Assembler Errors
If you can provide any example with #asm and #endasm with or without # or { } or ( ) and then in between only ASM instruction without any additional “” and/or ; or \n, then I think it should work. Did you test one? My case is PIC24 family, particular PIC24HJ64GP202. I have tested the ASM code also w...
- Tue Jul 18, 2017 8:41 am
- Forum: General Programming
- Topic: Assembler Errors
- Replies: 10
- Views: 8529
Re: Assembler Errors
Could you please provide an example for multiple ASM instructions to prove that? For example, what works for me is this: asm ( //multiply x*x "MOV _FCV_X,W0, \n" "MOV _FCV_X,W1, \n" "MUL.UU W0,W1,W2, \n" //get the result from W3 in y "MOV W3,_FCV_Y" ); But next code does not work: #asm //multiply x*...
- Tue Jul 18, 2017 8:05 am
- Forum: General Programming
- Topic: Assembler Errors
- Replies: 10
- Views: 8529
Re: Assembler Errors
The example modified above is compiled without any problems. It seems a syntax problem due to the fact that Flowcode 7 uses Microchip XC compilers and Flowcode 6 uses BoostC compilers. Is that right? The example that was provided uses one asm inline instruction: asm ("INCF _FCV_COUNT2, F"); But, wha...
- Mon Jul 17, 2017 3:02 pm
- Forum: General Programming
- Topic: Assembler Errors
- Replies: 10
- Views: 8529
Assembler Errors
I downloaded and tested “Embedding C and Assembler code.fcfx” from here: https://www.matrixtsl.com/flowcode/support/ During compilation in HEX I have errors. I have tried other assembly code too and I have similar errors mostly related with expected ")" and ";" Target folder: C:\FC7 Source name: C:\...
- Mon Jul 17, 2017 1:16 pm
- Forum: General Programming
- Topic: PIC24 DMA SPI
- Replies: 0
- Views: 6963
PIC24 DMA SPI
I am using PIC24HJ64GP202 with SPI DAC MCP4921 to generate an analog signal. I have tried several approaches: CORDIC, lookup table and polynomial approximation (even ASM). I would like to speed up the process in order to provide more samples per second to the DAC by using DMA. Do you have any exampl...
- Wed Jun 21, 2017 12:30 pm
- Forum: Flowcode V7
- Topic: Flowcode 8?
- Replies: 1
- Views: 2675
Flowcode 8?
I am on the verge of buying Flowcode 7 full professional version with all the options and I have some questions. - Is it at any chance to release a new version (Flowcode 8 ) in the very next future or at least to see it at horizon? I ask this question because I do not want to spend 1000€ on Flowcode...
- Sun Jun 04, 2017 11:36 pm
- Forum: General Programming
- Topic: Fixed point math library
- Replies: 0
- Views: 7446
Fixed point math library
Now Flowcode 7 can use XC16 compiler. I would like to generate a sine using a fixed point math library as Microchip has in „libq.h” with _Q15sinPI on page 232 next file: http://ww1.microchip.com/downloads/en/DeviceDoc/50001456J.pdf http://ww1.microchip.com/downloads/en//softwarelibrary/fixed%20point...
- Tue May 30, 2017 3:02 pm
- Forum: General Programming
- Topic: 24HJ64GP202 – Clock settings – Internal oscillator
- Replies: 2
- Views: 3836
Re: 24HJ64GP202 – Clock settings – Internal oscillator
The PLLFBD above value is not quite right. According with PIC24H Oscillator manual page 22, next settings are better to get 80Mhz: N1=2, N2=2, M=43 as value which corresponds to 41 as setting, which is 0x29 in hex. Page 126 datasheet (M is PLLDIV): http://ww1.microchip.com/downloads/en/DeviceDoc/702...
- Tue May 30, 2017 2:14 pm
- Forum: General Programming
- Topic: 24HJ64GP202 – Clock settings – Internal oscillator
- Replies: 2
- Views: 3836
Re: 24HJ64GP202 – Clock settings – Internal oscillator
In mean time the problem is solved by specifying manual the clock settings according with datasheet formula (N1, N2, M). N1=3 (PLLPRE, Input/3) would mean FCR/3=7.37MHz/3=2.456MHz, which is in the required range 0.8MHz-8MHz Then M=63 (PLLDIV=0x3F) then we get 2,456MHz*63=154.77MHz for VCO, which is ...
- Tue May 30, 2017 8:37 am
- Forum: General Programming
- Topic: 24HJ64GP202 – Clock settings – Internal oscillator
- Replies: 2
- Views: 3836
24HJ64GP202 – Clock settings – Internal oscillator
I use FC6. I just make a simple 10ms on and 10ms off test with 1 pin and I get 17.2ms in reality. I want to set the internal clock to 80MHz using PLL and I need clock out function. I have the 28 pin SPDIP package, so that should be pin 10, RA3 where is OSC2/CLKO, but I see no signal there. I have an...
- Fri Apr 28, 2017 10:53 am
- Forum: General Programming
- Topic: Panacea library component
- Replies: 10
- Views: 11916
Re: Panacea library component
Another idea of a simple tutorial that just crossed to my mind would be some DAC or Digital Potentiometers from Microchip that use I2C or SPI. For example DAC I2C MCP4725 from Microchip I have tested it and works fine with FlowCode 6 using the code from the end of next topic: https://www.matrixtsl.c...
- Thu Apr 27, 2017 10:24 am
- Forum: General Programming
- Topic: Panacea library component
- Replies: 10
- Views: 11916
Re: Panacea library component
These are good news. Few things noticed: - The page https://www.matrixtsl.com/wikiv7/index.php?title=Creating_a_two_wheeled_robot contains videos and I am not able to see them in Firefox or Chrome, but OK with Internet Explorer, but maybe is only my PC with Win7. - I do not have any specific compone...
- Wed Apr 26, 2017 2:50 pm
- Forum: General Programming
- Topic: Panacea library component
- Replies: 10
- Views: 11916
Re: Panacea library component
Now FlowCode version is 7.2.1. Does this version include the improved component creation features or not yet ? If yes, are any tutorials or examples, guides how to use those features? I know it seems I am impatient and that “improved component creation” seems “far away” as donkey from Sherk2 asks ht...
- Sat Apr 15, 2017 1:31 pm
- Forum: General Programming
- Topic: Flowcode V7
- Replies: 122
- Views: 586708
Re: Flowcode V7
Now Flowcode 7 uses XC compilers from Microchip. Still, not all MCU are listed that will be complied when using Flowcode 7. If I would use MPLABX + XC compliers would be no problem, but using Flowcode 7 + XC complier seems to be a problem as long as specific PIC parts are not listed. How do we solve...
- Thu Feb 23, 2017 1:42 pm
- Forum: Feature requests
- Topic: KNX communication
- Replies: 8
- Views: 7015
Re: KNX communication
No, you do not understand. You need to purchase the standard to be able to read the information inside, the protocols of communications, specifications and so on...only to get knowledge. After you have the knowledege, then you have no restriction to use it. You can implement any code, software, stac...
- Wed Feb 22, 2017 4:47 pm
- Forum: Feature requests
- Topic: KNX communication
- Replies: 8
- Views: 7015
Re: KNX communication
You must buy the standards listed above to have access at the needed info.
- Tue Feb 21, 2017 8:56 am
- Forum: Feature requests
- Topic: KNX communication
- Replies: 8
- Views: 7015
Re: KNX communication
DMX-512 and DALI components from FlowCode are only the seen part of the iceberg. If someone wants to implement a slave to control a lighting device, then a lot of code must be written. Let’s take for example DALI. We can find on dali-ag.org the user manual free, where a lot of parameters are describ...
- Mon Feb 20, 2017 1:51 pm
- Forum: Feature requests
- Topic: KNX communication
- Replies: 8
- Views: 7015
KNX communication
I have seen that since a while are included in FlowCode special communications as DMX-512 and DALI.
Is it any chance to have also KNX?
Is it any chance to have also KNX?
- Mon Feb 20, 2017 1:29 pm
- Forum: General Programming
- Topic: Panacea library component
- Replies: 10
- Views: 11916
Re: Panacea library component
I have only one question for the moment and hopefully you can help me. I am not a daily programmer, but once in a while I write some code, mostly in C, but I like FlowCode. We have a license for FlowCode 6 and we plan to buy one for FlowCode 7. When we buy that new Flowcode 7 license, I would like t...
- Wed Feb 15, 2017 1:13 pm
- Forum: General Programming
- Topic: Panacea library component
- Replies: 10
- Views: 11916
Re: Panacea library component
Now we are in the middle of Feb 2017.
Was it by any chance released that promised " free update to Flowcode which makes it a lot easier to create new components." ?
If not, when do you estimate a real date?
Was it by any chance released that promised " free update to Flowcode which makes it a lot easier to create new components." ?
If not, when do you estimate a real date?