Search found 52 matches

by Gypo
Fri Oct 01, 2010 12:27 pm
Forum: Flowcode V4
Topic: Free VID & PID
Replies: 3
Views: 2611

Re: Free VID & PID

Sorry Steve

Didn't mean to tread on toes.....


Regards
by Gypo
Fri Oct 01, 2010 10:35 am
Forum: Flowcode V4
Topic: Free VID & PID
Replies: 3
Views: 2611

Free VID & PID

Hi all Just a quick bit of info for all those that are developing & building USB programs / products and have a dilemma about what PID & VID values to use…. Microchip will (at their choice) let you use their VIDs & PIDs without having to pay for them. Others like Texas do too but it's more difficult...
by Gypo
Fri Oct 01, 2010 8:02 am
Forum: Flowcode V4
Topic: USB Device Not Recognized
Replies: 5
Views: 4048

Re: USB Device Not Recognized

Marty, Great,

It's good to know I can help someone else for a change.

:P
by Gypo
Wed Sep 29, 2010 11:42 am
Forum: Flowcode V4
Topic: USB Serial Write Problem
Replies: 2
Views: 2592

USB Serial Write Problem

Hi I have plugged a GPS unit to a PIC 18F4550 and was hoping (for now) to get the raw GPS data into the PIC and them send it out on a USB serial connection. This is research into what other things / data strings I can manipulate from the GPS unit, Hence the reason for not using the GPS component. I ...
by Gypo
Wed Sep 29, 2010 7:57 am
Forum: Flowcode 4 Bugs
Topic: Flowcodes Popup Windows
Replies: 0
Views: 2619

Flowcodes Popup Windows

Hi I Have had some problems with the pop-up windows of Flowcode 1. I have on occasion had Flowcode’s popup windows remain after shutting the program down. I’m not sure what all the actions are that cause it as it has happened at different times but it has happened when I have done this • Opened a se...
by Gypo
Wed Sep 29, 2010 7:28 am
Forum: Flowcode V4
Topic: USB Device Not Recognized
Replies: 5
Views: 4048

Re: USB Device Not Recognized

Marty I have changed a few things and this one works I have used a 4550 with a 20Mhz crystal, if you use a different crystal you will have to change things Things to look for is; (View/Project Options) the clock speed I have put it up to 48000000 (Chip/Configure/Switch To Expert Config Screen) I may...
by Gypo
Tue Sep 28, 2010 2:31 pm
Forum: Flowcode V4
Topic: GPS Component
Replies: 4
Views: 2801

Re: GPS Component

Benj I have found the unit settings for the Time component, though I'm sure you won't need it but for those that don't know it and can't find where it is shown.... Unit Value - Part of Time - Part of Date 0 Seconds Day (date) 1 Minutes Month 2 Hours Year (last 2 digits only) Is there a way of gettin...
by Gypo
Tue Sep 28, 2010 2:01 pm
Forum: Flowcode V4
Topic: GPS Component
Replies: 4
Views: 2801

Re: GPS Component

Benj

Thanks, put that on in place of the existing file and now got seconds comming through.

I just need to work out what unit number relates to what part of the time and date..

Thanks
again
by Gypo
Tue Sep 28, 2010 12:27 pm
Forum: Flowcode V4
Topic: GPS Component
Replies: 4
Views: 2801

Re: GPS Component

Does the GPS component only give the data back if it is valid?
by Gypo
Tue Sep 28, 2010 12:20 pm
Forum: Flowcode V4
Topic: GPS Component
Replies: 4
Views: 2801

GPS Component

Hi What is the unit(byte) parameter in the GPS component when reading Time or Date? I have a GPS unit kicking out the standard GPS formmated data in TTL RS232 format into the pic (18F4520) but it seems whatever number I put in that field it returns either 0 or 255. I know the GPS is sending out the ...
by Gypo
Tue Sep 28, 2010 12:02 pm
Forum: Flowcode 4 Suggestions
Topic: A Write Only Icon
Replies: 6
Views: 9565

Re: A Write Only Icon

Benj

Thanks, I not thought of that but again it's another way of doing it.

It's possible that it may have less of a demand on the PC than going out into the Pickit software. I'll give it a try.

Thanks again.
by Gypo
Sat Sep 25, 2010 2:58 pm
Forum: Flowcode 4 Suggestions
Topic: A Write Only Icon
Replies: 6
Views: 9565

Re: A Write Only Icon

Guys, thanks for your replies..... but You have all missed the point!!! or choose not to read my posts fully! I have to do exactly what you all are suggesting! And that is what I'd rather not do, when I have the kit set up, making changes in flowcode and testing it, I'd rather stay in the same progr...
by Gypo
Mon Sep 20, 2010 9:29 pm
Forum: Flowcode 4 Suggestions
Topic: A Write Only Icon
Replies: 6
Views: 9565

Re: A Write Only Icon

Hi Yes of course I can and that is one of the ways I have to do it at present. I have put together several programs recently that need the same code on more than 1 pic (in the same circuit). And when I am in the middle of putting the program together and testing it the last thing I want to do is go ...
by Gypo
Mon Sep 20, 2010 4:22 pm
Forum: Flowcode 4 Suggestions
Topic: A Write Only Icon
Replies: 6
Views: 9565

A Write Only Icon

Hi Flowcode V4 (Pic) We have compile to Hex, C and to PIC buttons...... but when the program is already compiled and maybe just needs programming again to the same or another Pic we have to go through the compile again. Being able to just program again would save me time loading up Pickit program re...
by Gypo
Wed Sep 15, 2010 7:10 pm
Forum: Flowcode V4
Topic: Searching for a string within a string
Replies: 5
Views: 3276

Re: Searching for a string within a string

Ben I took the code and put it into a new project to test the ability to change FC values in C code. I created 3 variables (result, var1 & var2) assigned "A0123456789A" to var1 and "6" to var2 in FC using a string function. I addded a C function to the project and put what I thought would be what wa...
by Gypo
Wed Sep 15, 2010 3:15 pm
Forum: Flowcode V4
Topic: Searching for a string within a string
Replies: 5
Views: 3276

Re: Searching for a string within a string

Ben

Thanks, the first part was what I was thinking of, however, I'd forgot about the pointers and so the second bit is a great help as I'd have missed that.

I'm going to try it out on a new FC project just to try and build the function then import it...

Thanks again
by Gypo
Wed Sep 15, 2010 10:35 am
Forum: Flowcode V4
Topic: Searching for a string within a string
Replies: 5
Views: 3276

Re: Searching for a string within a string

Ben

Many thanks 8) , I'll make use of that command.

I take it I can access the variables that I use in FC within the C code as long as I use the full name given to it by FC (not tried that yet!).

Thanks again Ben

Regards
by Gypo
Wed Sep 15, 2010 9:52 am
Forum: Flowcode V4
Topic: Searching for a string within a string
Replies: 5
Views: 3276

Searching for a string within a string

Hi Is there a function in FC 4 (PIC) that would do the same as the visual basic command instr? Basically instr is used to see if one string exists anywhere within another string. It returns the position where the string is found. If it is not found then it returns 0. I have attempted in FC to search...
by Gypo
Tue Sep 14, 2010 7:34 pm
Forum: Flowcode 4 Suggestions
Topic: Drag, Drop Copy
Replies: 1
Views: 5855

Drag, Drop Copy

Hi A lot of my projects rely on making use of the icons in the project that I have proved to work. I copy them to the place I am working and then if needs be change the properties, it makes for faster work but what would be a great help is to be able to work as most windows programs do. That is by u...
by Gypo
Wed Sep 08, 2010 7:19 pm
Forum: Flowcode V4
Topic: PIC Serial USB & PC Comports
Replies: 4
Views: 3034

Re: PIC Serial USB & PC Comports

Hi medelec35 Thanks for your reply. The PC side of things I have got covered as I am controlling the port from visual basic and so I can have it do prety much as I want. The main thing was having the serial usb going at the right rate for the settings I give the PCs com port (virtual com port). I ha...
by Gypo
Sat Sep 04, 2010 9:28 pm
Forum: Flowcode V4
Topic: PIC Serial USB & PC Comports
Replies: 4
Views: 3034

Re: PIC Serial USB & PC Comports

Update.... On the net there is a hack that seems to have worked with the VB6 problem in not being able to see any ports above com 16 and that is to edit the MSCOMM32.OCX in C:\WINDOWS\system32. Use a hex editor and look for the following unique three bytes sequence in the OCX: 3D 10 00 The middle he...
by Gypo
Sat Sep 04, 2010 5:50 pm
Forum: Flowcode V4
Topic: PIC Serial USB & PC Comports
Replies: 4
Views: 3034

Re: PIC Serial USB & PC Comports

Hi again guys This is what I got from Microchip a while ago **** A USB CDC device provided with a serial number string descriptor prevents unwanted "COM port proliferation", meaning that it retains its COM port number if it is moved to a different USB port on a Windows® PC. A USB CDC device that doe...
by Gypo
Sat Sep 04, 2010 2:48 pm
Forum: Flowcode V4
Topic: PIC Serial USB & PC Comports
Replies: 4
Views: 3034

PIC Serial USB & PC Comports

Hi If I can a couple of questions in one but both very related (for me anyway). I have with the help of you guys got my pic18F2550's talking to a PC over USB (serial USB configuration), it works great with the following exceptions that I hope someone can help me out... The when I send serial data ov...
by Gypo
Fri Aug 27, 2010 5:51 pm
Forum: Flowcode V4
Topic: USB, pulling my hair out
Replies: 8
Views: 4908

Re: USB, pulling my hair out

Guys Thank You Very Much.... I took the first changed file and loaded it up to the PIC and BINGO! Computer asked for the drivers and when pointed to them loaded them first time and all was great. Opened up terminal and it's all there. Though it's not exactly as it needs to be, now I have the bit I j...
by Gypo
Fri Aug 27, 2010 3:29 pm
Forum: Flowcode V4
Topic: USB, pulling my hair out
Replies: 8
Views: 4908

Re: USB, pulling my hair out

Thanks for looking, It was just another try, I had the osc set for 8Mhz at the start and then went through the various settings of all osc options to see if there was anything that would work. This one was pu together from the latest try, but I have to admit it was just a finger in the air try. I ha...