Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 12:10 17 Jul 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Still Problem with MM+ WIN10/ USB Console

     Page 2 of 2    
Author Message
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3285
Posted: 08:52pm 04 Feb 2016
Copy link to clipboard 
Print this post

Yes, I agree that a serial console is better than a USB console and I use it in preference. This is why I left the serial console in the Micromite Plus.

Interestingly, when I released the original Micromite I got more than a few complaints because a USB console was not supported. Thinking back on it I believe that the complainers were basing their thoughts on the Maximite which was a computer and they are rebooted rarely. The Micromite is more controller orientated and the constant reboots make it difficult to use a USB console.

However the Micromite Plus is different, for a start it was intended to be much more sophisticated than the standard Micromite and USB was a natural feature. Also a lot of people will be using it as just a computer and a USB console works fine in that environment. Another factor is that the USB console is entirely optional and you can continue to use a serial console with only the loss of three pins which is of little consequence when you have up to 100.

Finally, I have more plans for USB on the MM+ including using it for USB keyboard support. I have the code for this, it is just a big job to integrate it into the interpreter and other priorities have pushed it back.

Geoff
Geoff Graham - http://geoffg.net
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2934
Posted: 08:58pm 04 Feb 2016
Copy link to clipboard 
Print this post

@Geoff

If you were to integrate a USB keyboard, would it interface with the PICs D+, D- and Vusb pins only or would it use other pins instead/also?

Thanks
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3285
Posted: 12:27am 05 Feb 2016
Copy link to clipboard 
Print this post

I think that it can be done using the existing socket and a USB OTG adapter (often used with mobile phones).
Geoff Graham - http://geoffg.net
 
isochronic
Guru

Joined: 21/01/2012
Location: Australia
Posts: 689
Posted: 02:11am 05 Feb 2016
Copy link to clipboard 
Print this post

  Quote  i like a separate USB-Serial as then you can just reset the uMite and keep the USB connection alive.


I use mcp2200's which works well, at 115kbps I can leave the pickit3 connected
to the icsp pins and reprogram the pic32 on-line without the usb dropping state.
When the pic32 is reset by the pickit3 it cheerfully displays the start banner/menu/prompt and is good to go, you don't have to disconnect etc.

The mcp2200 use extra components eg a crystal but then again they also have
the usb termination resistors etc deliberately to handle usb cabling. I have
a concern with using ordinary micros to connect usb as the usb has all sorts of hash, spikes, etc let alone someone getting a static charge from walking across a room and accidentally zapping it - the pic ports were not designed for that.

I am probably biased... but I once bought a batch of eight 2200's or so, from a third
party, and on receipt I found that some well-intentioned soul had stuck them into ordinary polystyrene
- and then stuck them in with sellotape. When I removed them and peeled back the tape, there was so much static
that little bits of the polystyrene jumped to the chips and held there..Like an "electrophorous"
of old. I didn't think the ics would have a chance. But they worked fine. (!!!)Edited by chronic 2016-02-06
 
MicroBlocks

Guru

Joined: 12/05/2012
Location: Thailand
Posts: 2209
Posted: 02:19am 05 Feb 2016
Copy link to clipboard 
Print this post

'ordinary' chips like the mcp2200 which is just a standard pic controller have a USB device built in which have all the required parts to protect and handle usb cables.

Microblocks. Build with logic.
 
isochronic
Guru

Joined: 21/01/2012
Location: Australia
Posts: 689
Posted: 04:55am 05 Feb 2016
Copy link to clipboard 
Print this post

Microchip make a point of 4kv static protection for the 2200.
I don't know if that is the usb module or not though.
Nuts and Volts magazine had a 1455 project and I considered it then,
but some people had problems - I gather the "cycle stealing"
approach was a bit prone to usb noise (that was the impression
at least). Your projects look pretty reliable though, I'll try them
as my 2200's run out
 
Chris Roper
Senior Member

Joined: 19/05/2015
Location: South Africa
Posts: 280
Posted: 09:15pm 05 Feb 2016
Copy link to clipboard 
Print this post

  chronic said   Nuts and Volts magazine had a 1455 project


Do you know which issue of Nuts & Volts that was?
I would be interested to read it.

Cheers
Chris

http://caroper.blogspot.com/
 
isochronic
Guru

Joined: 21/01/2012
Location: Australia
Posts: 689
Posted: 02:00am 06 Feb 2016
Copy link to clipboard 
Print this post


I'll try to find it, it was over a few years ago though
so it may take a while. I had a printout of the (minimalist)
circuit diagram but not the magazine
 
Chris Roper
Senior Member

Joined: 19/05/2015
Location: South Africa
Posts: 280
Posted: 02:18am 06 Feb 2016
Copy link to clipboard 
Print this post

Thanks,

I did a search on the Nuts & Volts website but the only reference to 16f1455 I could find was to the December 2015 issue where it was mentioned as one of the devices compatible with the Curiosity Development Board.


http://caroper.blogspot.com/
 
isochronic
Guru

Joined: 21/01/2012
Location: Australia
Posts: 689
Posted: 03:41pm 08 Feb 2016
Copy link to clipboard 
Print this post

I am sorry to say I can't find it (yet). The website has been
rebuilt since I used it, the previous version had a "preview" function that I used
at the time. There were a few articles based on it, and similar with 18f's,
the idea was that instead of a crystal as a frequency source
the chip was largely passive until usb data arrived, and the data was
then used as signal to set up the frequency etc (I assume the initial data
packet was then re-sent?). I think the problem
was when the usb was also used as a power source, particularily without
realistic caps, and so noise impacted both the power and the signal. The forums had some code at the time but I haven't looked recently.
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9594
Posted: 08:38pm 08 Feb 2016
Copy link to clipboard 
Print this post

EDIT: Whoops! Posted on the wrong thread. Removed....Edited by Grogster 2016-02-10
Smoke makes things work. When the smoke gets out, it stops!
 
     Page 2 of 2    
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025