Search found 665 matches

by Rudi
Mon Apr 07, 2014 5:04 pm
Forum: User Components
Topic: Append/New/Edit Macro Function for new Compo (new/copied)
Replies: 9
Views: 6366

Re: Append/New/Edit Macro Function for new Compo (new/copied

Hi Rudi, Generally speaking, you shouldn't have any problem using the Strings the way that you want to. The given size only sets a minimum size for the String in order to reserve some memory inside the chip. If your String grows longer, extra space will automatically be allocated so that the String...
by Rudi
Mon Apr 07, 2014 2:44 pm
Forum: User Components
Topic: Append/New/Edit Macro Function for new Compo (new/copied)
Replies: 9
Views: 6366

Re: Append/New/Edit Macro Function for new Compo (new/copied

Then there is no way to change the return variable size. You would have to ask the the members of the MM team to try and help you. Regards Jordy Thank You Jordy!... ..is this a future or a bug ;-) ;-) ah.. i allways want go on and allways must stop again.. ;-) ok.... Dear MM Team ;-) ;-) ;-) ******...
by Rudi
Mon Apr 07, 2014 1:19 pm
Forum: User Components
Topic: Append/New/Edit Macro Function for new Compo (new/copied)
Replies: 9
Views: 6366

Re: Append/New/Edit Macro Function for new Compo (new/copied

Hi, A question: If i make a new Macro in Project explorer, and i set te Return to Type "String", the return String is set automatic to String[20]. can i set the size by myself ? because the Size of Return ( String[20] ) is fixed.. If i try to edit the return String, the Variable Name is gr...
by Rudi
Mon Apr 07, 2014 10:20 am
Forum: User Components
Topic: Component Creation Tutorials
Replies: 6
Views: 5702

Re: Component Creation Tutorials

Hi Jordy,

this is that what i search for!

Best Thank You for Your Work!
^^^^^^^^^^^^^^^^^^^^^^^^^^

Now is clear!

Best wishes!

Rudi
;-)
by Rudi
Sun Apr 06, 2014 5:22 pm
Forum: Flowcode V6
Topic: !Ray of hope!: PIC24FJ256GB106 USB Serial not initialize
Replies: 26
Views: 7086

Re: FC6 PIC24FJ256GB106 USB Serial / HID / Slave not initial

Sorry for Push, Hi Benj, i have read more this weekend in Datasheets and USB Framework but i am not sure.. Benj - is it possible. that the PIC24FJ256GB106 for USB need a "USBWakeFromSuspend" in the Macro Initialise, too? I read from USBSuspend() and USBWakeFromSuspend() in the StarterKit D...
by Rudi
Sun Apr 06, 2014 4:28 pm
Forum: User Components
Topic: Append/New/Edit Macro Function for new Compo (new/copied)
Replies: 9
Views: 6366

Re: Append/New/Edit Macro Function for new Compo (new/copied

If you have copied the properties of a component into your own properties, and you want to reflect the changes that you have made on the "copied" properties to the component properties you have copied from then you need to use the simulation macro to do this. The function I always use is ...
by Rudi
Sun Apr 06, 2014 10:15 am
Forum: User Components
Topic: Append/New/Edit Macro Function for new Compo (new/copied)
Replies: 9
Views: 6366

Append/New/Edit Macro Function for new Compo (new/copied)

Hi, i watched Benj's Video http://www.matrixmultimedia.com/mmforums/viewtopic.php?f=58&t=12735 ...after i copy properties from a Component for the new.. is it possibel to edit/change the macro function by user for a change, a append or a remove. Example: if i create a new "RS232" compo...
by Rudi
Fri Apr 04, 2014 4:46 am
Forum: General Programming
Topic: Writing to mysql from a pic... possible?
Replies: 8
Views: 7983

Re: Writing to mysql from a pic... possible?

I have written a script on the pc, that detects incoming serial data. If data is detected, it adds a record to the database over the internet (mysql community server)... Client accesses a website to check data (php) hi.. this "command" simple send over the UART from the PIC.. PIC...UART -...
by Rudi
Fri Apr 04, 2014 4:17 am
Forum: Flowcode V6
Topic: FC6 PIC24FJ256GB106 HW UART / SW UART Timing Bug?
Replies: 19
Views: 5440

Re: FC6 PIC24FJ256GB106 HW UART / SW UART P P S

Hi, i have make one more tests with HW Uart and Software Uart... i see a Reversal Handle at clk speed 32000000 with MX_CLKS_PER_INST = 2... this is the option as the 1s delay in software is 1s delay at hardware.. so i think the timing is ok... have a look to the pics... sorry for the big... i do not...
by Rudi
Thu Apr 03, 2014 6:27 pm
Forum: Flowcode V6
Topic: !Ray of hope!: PIC24FJ256GB106 USB Serial not initialize
Replies: 26
Views: 7086

Re: FC6 PIC24FJ256GB106 USB Serial / HID / Slave not initial

Hi Benj...sorry ;-)... now HID -.... but i think we will catch this ghost... ;-) ;-) ;-) i am sure.. ... // Benj can you please check this... // here stops the compiler with error.. H:\Internet\_____B~2\benj\PIC24>pic30-gcc -c -mcpu="24FJ256GB106" -funsigned-char -fno-short-double -Os -I&q...
by Rudi
Thu Apr 03, 2014 5:50 pm
Forum: General Programming
Topic: compile to chip (pickit3) tools option i need Parameter
Replies: 1
Views: 2474

compile to chip (pickit3) tools option i need Parameter

Hi, .. i have seen a nice Option in FC.. ty for this!!! i have try the Tool Option "compile to Pic.. i have read in at http://www.matrixmultimedia.com/wiki/index.php?title=Supporting_Third_Party_Programming_Tools but i get a return code with the examples .. Can someone give me construct for thi...
by Rudi
Thu Apr 03, 2014 1:30 pm
Forum: Flowcode V6
Topic: !Ray of hope!: PIC24FJ256GB106 USB Serial not initialize
Replies: 26
Views: 7086

Re: FC6 PIC24FJ256GB106 USB Serial / HID / Slave not initial

Hi Benj - ty.. ..i go on next time with this.. Benj pls can u help me in this.. i will set manually config bit like and test it with unchecked "write config on download"... like this /* Enter C code below this comment */ #pragma config ?? _CONFIG2(IESO_OFF & PLL_96MHZ_ON & PLLDIV_D...
by Rudi
Thu Apr 03, 2014 12:04 pm
Forum: General Programming
Topic: NewString = toString$(msg[0]) + toString$(msg[1])
Replies: 5
Views: 4182

Re: NewString = toString$(msg[0]) + toString$(msg[1])

what make i wrong with this Code: Select all NewString = toString$(msg[0]) + toString$(msg[1]) + toString$(msg[2]) + toString$(msg[3]) + toString$(msg[4]) Hi Rudi, As found by another user , it seems that there is a bug in Flowcode which is sometimes not allowing Strings to be added correctly - so ...
by Rudi
Thu Apr 03, 2014 11:42 am
Forum: General Programming
Topic: 16x1 LCD GENERIC 8 First Character..next 8 Character
Replies: 0
Views: 2170

16x1 LCD GENERIC 8 First Character..next 8 Character

Hi, i am now working at the LCD side. I have found a little thing that have me make at begin with the work confuse. For my Board I have setup a Generic 16x1 LCD at PortB0 ( 8 Databit ) with Register Select PortA.1 and Enable PortA.2 In First time i simple make a initialise at start by call the macro...
by Rudi
Thu Apr 03, 2014 1:07 am
Forum: Flowcode V6
Topic: !Ray of hope!: PIC24FJ256GB106 USB Serial not initialize
Replies: 26
Views: 7086

Re: FC6 PIC24FJ256GB106 USB Serial / HID / Slave not initial

Hi... Sorry for this... but i think with config bits in FC6 goes wrong with PIC24... i posted early post the same... i have test now with MPLAPX again... p l e a s e have a look to the config bits at FC with the PIC24FJ256GB106 the Config2 i set with 0x43FE like the original Demo with Microchip Code...
by Rudi
Wed Apr 02, 2014 7:14 pm
Forum: Flowcode V6
Topic: FC6 PIC24FJ256GB106 HW UART / SW UART Timing Bug?
Replies: 19
Views: 5440

Re: FC6 PIC24FJ256GB106 HW UART / SW UART P P S

Hi Benj, if i make a RS232 with 9600 the delay 1s = 1s usb serial works.. but in terminal i must set to 19200..then i get right message "Hello World!\r\n" do you know just in time whats going on with baudrate? Ok.. a short list..all other not runs i cut... runs at 32000 only 2400, 4800 an...
by Rudi
Wed Apr 02, 2014 5:57 pm
Forum: Flowcode V6
Topic: !Ray of hope!: PIC24FJ256GB106 USB Serial not initialize
Replies: 26
Views: 7086

Re: FC6 PIC24FJ256GB106 USB Serial / HID / Slave not initial

Hi Rudi, Try adding a couple of seconds delay in the loop just above the send string. It could be that your filling and overflowing the USB data buffer by constantly sending new data in a tight loop. If this works then you can start to reduce the delay to something a bit more acceptable. Hi Benj i ...
by Rudi
Wed Apr 02, 2014 5:46 pm
Forum: General Programming
Topic: NewString = toString$(msg[0]) + toString$(msg[1])
Replies: 5
Views: 4182

NewString = toString$(msg[0]) + toString$(msg[1])

Hi info: msg is a variable type of String[100] that i read in from RS232.. i try simple this NewString = toString$(msg[0]) + toString$(msg[1]) + toString$(msg[2]) + toString$(msg[3]) + toString$(msg[4]) but the NewString ( in #char ) is false.. i try this LC1..LC2 are String Variables [20] LC1 = toS...
by Rudi
Wed Apr 02, 2014 2:37 pm
Forum: Flowcode V6
Topic: !Ray of hope!: PIC24FJ256GB106 USB Serial not initialize
Replies: 26
Views: 7086

Re: FC6 PIC24FJ256GB106 USB Serial / HID / Slave not initial

Hi Benj..sorry ..

PIC24FJ256GB106
20MHz on Board
Clock Set 32000000 Hz
delay 1s = 1s
Config Bits
Config3: 0xFFFF
Config2: 0x43BE
Config1: 0x3E7F

USB Serial initialise.. at windows ok
USB SendString.. not arrieved..

Best wishes

Rudi
;-)
by Rudi
Wed Apr 02, 2014 2:10 pm
Forum: Flowcode V6
Topic: FC6 PIC24FJ256GB106 HW UART / SW UART Timing Bug?
Replies: 19
Views: 5440

Re: FC6 PIC24FJ256GB106 HW UART / SW UART P P S

Edit: Only Initialize Benj... sorry for fast submit..
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The SendString "Hello World!\r\n" is not arrival .. no data arrival at Terminal..
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ênd edit


;-)..

rudi
by Rudi
Wed Apr 02, 2014 1:43 pm
Forum: Flowcode V6
Topic: !Ray of hope!: PIC24FJ256GB106 USB Serial not initialize
Replies: 26
Views: 7086

Re: FC6 PIC24FJ256GB106 USB Serial / HID / Slave not initial

Hi Benj, ok USB Serial now Work.. EDIT: Initialize only at windows... but no data receive... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Bit Set: CONFIG2: 0x43BE 32000000HZ but please... please check the bit settings in original hex i attached in the hex.are bit setting to CONFIG2 that not poss...
by Rudi
Wed Apr 02, 2014 1:38 pm
Forum: Flowcode V6
Topic: FC6 PIC24FJ256GB106 HW UART / SW UART Timing Bug?
Replies: 19
Views: 5440

Re: FC6 PIC24FJ256GB106 HW UART / SW UART P P S

Hi Benj, at First Again!!! Best Thank You for your Best Service i ever have seen!!! You are a hardwork liner! I wish to meet you in future at next FC Demonstration in Germany if you will be there..for a Technical discussion.. ok.. Benj, One things go wrong here .. i think the baudrate generator is n...
by Rudi
Wed Apr 02, 2014 11:21 am
Forum: Flowcode V6
Topic: FC6 PIC24FJ256GB106 HW UART / SW UART Timing Bug?
Replies: 19
Views: 5440

Re: FC6 PIC24FJ256GB106 HW UART / SW UART P P S

Hi Rudi, The FCD sets the MX_CLKS_PER_INST definition, however not all FCDs have this define. So the internals file is used as a catch all and says if not defined (#ifndef) then define it as divide by 2. As long as the PIC24FJ FCDs set the #define MX_CLKS_PER_INST 1 then all should be ok. Hi Benj, ...
by Rudi
Wed Apr 02, 2014 10:25 am
Forum: Flowcode V6
Topic: FC6 PIC24FJ256GB106 HW UART / SW UART Timing Bug?
Replies: 19
Views: 5440

Re: FC6 PIC24FJ256GB106 HW UART / SW UART P P S

Hello Rudi, Please can you try the attached FCD for me. Hopefully it should work correctly for you. 24FJ256GB106.fcdx 24FJ128GB106.fcdx Hi Benj, ty for your great service! I have try today again, please have a look to the second fcdx i have read in this file without see the name of file, i have thi...
by Rudi
Tue Apr 01, 2014 7:18 pm
Forum: Flowcode V6
Topic: FC6 PIC24FJ256GB106 HW UART / SW UART Timing Bug?
Replies: 19
Views: 5440

Re: FC6 PIC24FJ256GB106 HW UART / SW UART P P S

Sorry for Push, 1sDelay FC6 TERM HWDelay INT Clock Config Bit ----------------------------------------------------------------------- 9600 2400 can read 1.031 INT 16 32MHz div5 ( 20MHz ) 9600 2400 can read 2.031 INT 8 32MHz div5 ( 20MHz ) 9600 2400 can read 4.031 INT 4 32MHz div5 ( 20MHz ) 9600 ----...