CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Write once run anywhere: USB GUI.

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
MiniMe



Joined: 17 Nov 2009
Posts: 50

View user's profile Send private message

Write once run anywhere: USB GUI.
PostPosted: Thu Apr 19, 2012 2:17 pm     Reply with quote

Hi!

Yeah ... java.

Is it a "wise" move to choose java for user interface software that is only about some data from PIC USB device.

I like the idea of software that run on web ... a browser application. Because it is executable program that is bookmark-able, there is no install files and less mess.

If this sounds very cheesy, there is an examle:
http://www.walking-productions.com/jsserial/new/JSSerial.html

Is it java web applet that reads COM ports. The problem is it needs
"run this time" -OK or
install java -worse and
there is a requirement to add extra files to jdk folder -disaster :D.

Im not sure about this web applet can handle PIC cdc usb driver installation.

I heard on java FX that is very attractive choice for my problem... advanced applet... ? is it good for my purpose?

Why java? Because iv been studying it at school for 2 year and i got to do an application as a school task. I like to combine it with work project. (only personal reasons, sorry Embarassed)

What is the easiest way to create a PIC USB application?


Thank you in advance!
asmboy



Joined: 20 Nov 2007
Posts: 2128
Location: albany ny

View user's profile Send private message AIM Address

PostPosted: Thu Apr 19, 2012 2:43 pm     Reply with quote

as far as Java goes - how about using a virtual ( VCOM) port approach?
unless you need data rates greater than 460800 baud
i suggest and use the FTDI FT232R

a HARDWARE solution that is very effective and cheap

I do all my USB output with CCS low overhead printf() , putc() operations at the baud rate of my choice ( needs)

IMHO - the integrated PIC USB features are not worth the TROUBLE or the program MEMORY they suck up - to bother with

just my 2 cents worth
temtronic



Joined: 01 Jul 2010
Posts: 9173
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Fri Apr 20, 2012 8:35 am     Reply with quote

I second asmboy's opinion of USB equipped PICs...WAYYY to much overhead(software and program space) for no real increase in performance or overall cost.

I've gone the FTDI route as well as using 'generic' USB<->RS232 dongles. Though not all of them are equal....

I easily get 1megabaud going this route with no loss of data.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group