Search found 130 matches

by Desdewit
Sun Jan 19, 2014 11:16 am
Forum: Flowcode V5
Topic: Pic18f46j50 problem
Replies: 7
Views: 5660

Program run only when powered from usb

Hi Kenrix2 After changing the ConfigAddress I’ve noticed some other problems. When my board is powered by usb only the first ASCII string send to LCD “Starting” display correct but the second ASCII string display as “PULLILE” instead of “running” When powered from normal 12V power supply the program...
by Desdewit
Tue Jan 14, 2014 5:24 am
Forum: Flowcode V5
Topic: Pic18f46j50 problem
Replies: 7
Views: 5660

Re: Pic18f46j50 problem

Hi Kenrix Thanks for the reply. I found that there is a clock speed difference even though both pics are using the same 8Mhz crystal & same rtcc crystal. I also found that for some reason even when I remove the 8Mhz crystal the program keeps on running like nothing has changed. Please have a look at...
by Desdewit
Sun Jan 12, 2014 11:29 am
Forum: Flowcode V5
Topic: Pic18f46j50 problem
Replies: 7
Views: 5660

Pic18f46j50 problem

Hi Guys

Could this be a compiler error?
When I compile my rtcc test program to a pic18f25j50 the usb to serial sends the data to my pc as expected but when I compile to pic18f46j50 the data send to my pc is different and mixed around. :?
by Desdewit
Wed Dec 11, 2013 6:36 pm
Forum: Flowcode V6
Topic: Download & save training video's
Replies: 5
Views: 6042

Download & save training video's

Hi

How can I download and save the fc6 training video's to watch later?
by Desdewit
Mon Nov 18, 2013 8:36 pm
Forum: Flowcode V5
Topic: Reasign gsm pinout
Replies: 2
Views: 2915

Re: Reasign gsm pinout

Hi Ben

If I understand correctly then port c 6 & 7 of my pic18f45k22 wil be assigned when I choose hw channel 1 in ext.
Are there any other pins that must be connected except for power, rts & cts?
by Desdewit
Sat Nov 16, 2013 11:06 am
Forum: Flowcode V5
Topic: Reasign gsm pinout
Replies: 2
Views: 2915

Reasign gsm pinout

How do I change the port used in the GSM test program to a different port :?:
by Desdewit
Tue Apr 02, 2013 6:53 pm
Forum: C and ASM Programming
Topic: 18F25J50 RTCC not running
Replies: 2
Views: 11000

Re: 18F25J50 RTCC not running

Hi Benj

Thanks.. That did the trick :D
I'm so use to fc doing most of the setup these days that I over look the simple things.
I'm uploading the code as a basis to start from, for other asm users.
by Desdewit
Mon Apr 01, 2013 1:09 pm
Forum: C and ASM Programming
Topic: 18F25J50 RTCC not running
Replies: 2
Views: 11000

18F25J50 RTCC not running

Hi Guys

What else can I do to get the RTCC working.
The second counter keep giving me the same value "0x52 0x42" :cry: :cry: :cry:
by Desdewit
Sun Mar 31, 2013 5:26 pm
Forum: Flowcode V5
Topic: How can I read register values into flowcode
Replies: 5
Views: 3057

Re: How can I read register values into flowcode

Hi Martin Thanks for pointing out my noob mistake, getting the clock to run is even more difficult than I thought it would be. I tried to do most of the setup in asm but now I’m stuck getting the date and time data into flowcode Do you know of anyone that managed to get the on chip RTCC running in f...
by Desdewit
Sat Mar 30, 2013 3:32 pm
Forum: Flowcode V5
Topic: How can I read register values into flowcode
Replies: 5
Views: 3057

Re: How can I read register values into flowcode

Hi Martin

Thanks for the reply.
Not sure what I'm doing wrong but I keep getting errors like below.
Breeze RTCC.c(735:26): error: error in built-in assembly
Breeze RTCC.c(737:2): error: error in built-in assembly
by Desdewit
Sat Mar 30, 2013 1:31 pm
Forum: Flowcode V5
Topic: How can I read register values into flowcode
Replies: 5
Views: 3057

How can I read register values into flowcode

Hi

How can I read the values of RTCVALL & RTCVALH into flowcode to send it via USBSerial?
I,m trying to setup the RTCC to display via USBSerial but don't know how to read the values from within flowcode. :cry:
by Desdewit
Wed Mar 06, 2013 6:09 pm
Forum: Flowcode V5
Topic: Serial to USB "FTDI"
Replies: 13
Views: 6660

Re: Serial to USB "FTDI"

Hi kersing

Thanks for the reply, Changed the baud to 38400 now it's working.

This is a link to the web page of the board I'm using
The board comes with sample filles to test the hardware.

http://www.mikroe.com/ready/pic/
by Desdewit
Tue Mar 05, 2013 3:44 pm
Forum: Flowcode V5
Topic: Serial to USB "FTDI"
Replies: 13
Views: 6660

Re: Serial to USB "FTDI"

Hi Mathy

I'm using the ready for pic board from mikro electronika.
The hardware are working with the hex file from pic basic but not with the hex file from flowcode so this looks like it might be a flowcode error.
by Desdewit
Mon Mar 04, 2013 6:59 pm
Forum: Flowcode V5
Topic: Serial to USB "FTDI"
Replies: 13
Views: 6660

Re: Serial to USB "FTDI"

Hi medelec Unfortunately I don’t have a scope but I’ve done the one second test again and it seems pretty close to my pc clock with the c block and pll enabled but still no success. I’m running a 8MHz Crystal Almost forgot “I’m also using the second Rx & TX channel of the pic for rs232 to pc and the...
by Desdewit
Mon Mar 04, 2013 6:23 pm
Forum: Flowcode V5
Topic: Serial to USB "FTDI"
Replies: 13
Views: 6660

Re: Serial to USB "FTDI"

Hi Enamul & Kersing

I'm trying to send data from my pic serial port to pc via usb.
I know the hardware is working, I've tested it with a program written in basic so the problem must be my setup in flowcode or flowcode self.
I've also done the 1 second test and the timing is ok.
by Desdewit
Mon Mar 04, 2013 5:44 pm
Forum: Flowcode V5
Topic: Serial to USB "FTDI"
Replies: 13
Views: 6660

Serial to USB "FTDI"

Hi There I've connected my serial to usb board to my pc via an FTDI chip, installed the FTDI driver and tested the communication with a test program written in basic so I know the hardware is working. When I use my test program from FC5 the data received by the pc is corrupt. I've tested both with: ...
by Desdewit
Mon Feb 25, 2013 6:39 pm
Forum: General Programming
Topic: Gyro support
Replies: 4
Views: 3395

Gyro support

Hi Guys

Will there be any support or custom code for Gyro devices like the L3GD20 from ST in flowcode V6? :cry:
by Desdewit
Sun Feb 24, 2013 6:49 pm
Forum: Flowcode V5
Topic: Help needed with Pic18F25J50 RTCC Setup
Replies: 4
Views: 2645

Re: Help needed with Pic18F25J50 RTCC Setup

Hi Enamul

Thanks for the reply. This is a great chip with lots of usefull features :P
by Desdewit
Sun Feb 24, 2013 5:39 pm
Forum: Flowcode V5
Topic: Help needed with Pic18F25J50 RTCC Setup
Replies: 4
Views: 2645

Re: Help needed with Pic18F25J50 RTCC Setup

Hi Guys

How can I set & clear the RTCC CONFIGURATION bits from within flowcode without using a c block :?:
Is it possible to simulate the Pic18F25J50 internal RTCC in flowcode :?:
by Desdewit
Sun Feb 17, 2013 10:12 am
Forum: Flowcode V5
Topic: Help needed with Pic18F25J50 RTCC Setup
Replies: 4
Views: 2645

Help needed with Pic18F25J50 RTCC Setup

Hi Guys

I want to use the rtcc function of a pic18f25j50 with an external 32.768 kHz clock crystal to keep time & date for a project I'm working on but have no idea on how to set the config bits in flowcode, please point me in the right direction on where and how to start :?:
by Desdewit
Wed Nov 28, 2012 5:44 pm
Forum: Flowcode V5
Topic: RB0int from delay
Replies: 3
Views: 2382

Re: RB0int from delay

Hi Enamul


Thanks for the demo.
So I guess collecting rs232 data from within a delay should be possible on a software Rx port.
by Desdewit
Tue Nov 27, 2012 7:20 pm
Forum: Flowcode V5
Topic: RB0int from delay
Replies: 3
Views: 2382

RB0int from delay

Hi

Will RB0int for rs232 work from within a 5min delay. :?
by Desdewit
Mon Nov 26, 2012 9:17 am
Forum: Electronics products
Topic: Is this a good regulator.
Replies: 17
Views: 24460

Re: Is this a good regulator.

Hi Guys

I'm using this switching regulator from RS components; it's a bit expensive but works like a dream 6.5V to 36V input with 5V 9W output. (Search for switching regulator from Traco Power on rs web site) :wink:
by Desdewit
Fri Nov 23, 2012 11:43 am
Forum: Flowcode V5
Topic: Copy data from byte to byte in array
Replies: 2
Views: 2351

Copy data from byte to byte in array

Is there a better way to copy data from one byte in an array to another in a different array?
I'm currently using "DataIn [5] = BYTE [40]" .
by Desdewit
Fri Nov 23, 2012 11:30 am
Forum: General Programming
Topic: Calculate time between received bytes
Replies: 2
Views: 2168

Re: Calculate time between received bytes

Hi Ben

Thanks for the reply.
4.9152MHz / (9600 / 10) = 20480 instructions between byte receptions.
19660800 /960 = 20480 :?