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.
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 )
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
Posted: Thu Apr 19, 2012 2:43 pm
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
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.
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