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 CCS Technical Support

OT - PIC / Microchip News

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



Joined: 03 Aug 2009
Posts: 1067
Location: Panama

View user's profile Send private message

OT - PIC / Microchip News
PostPosted: Sat Mar 12, 2016 8:45 am     Reply with quote

Hi,

I thought this would be interesting to some here:
http://hackaday.com/2016/03/11/microchips-publishes-usb-mass-storage-loader/

G.
_________________
CCS PCM 5.078 & CCS PCH 5.093
Ttelmah



Joined: 11 Mar 2010
Posts: 19545

View user's profile Send private message

PostPosted: Sat Mar 12, 2016 9:50 am     Reply with quote

A very minor thing.
Useful, if more target chips can be added, on systems where you don't want the overhead of USB on the main chip, and (of course) a very quick solution to implement.
temtronic



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

View user's profile Send private message

PostPosted: Sat Mar 12, 2016 2:40 pm     Reply with quote

Gee I wonder how it compares, overall, to just using a $2 USB<>TTL module? After all, their way you need the USB connector, a PIC, some 'interface' devices (resistors, caps, etc.) and of course correct wiring of the PCB !
Just curious....
I'm probably missing 'why' it's such a great thing....
then again I ran a forklift over my foot today so not thinking 100% !

Jay
gpsmikey



Joined: 16 Nov 2010
Posts: 588
Location: Kirkland, WA

View user's profile Send private message

PostPosted: Sat Mar 12, 2016 7:13 pm     Reply with quote

Shocked how the heck do you run a forklift over your foot? All of the ones I have ever used, I was sitting up on them driving and there was no way to get my foot near the wheels. Hopefully nothing is broken (but it may result in some wonderful colors - I remember my foot when I dropped my motorcycle on it - gee I didn't know I had that many colors in me!!.

mikey
_________________
mikey
-- you can't have too many gadgets or too much disk space !
old engineering saying: 1+1 = 3 for sufficiently large values of 1 or small values of 3
Ttelmah



Joined: 11 Mar 2010
Posts: 19545

View user's profile Send private message

PostPosted: Sun Mar 13, 2016 2:53 am     Reply with quote

The point is that it appears as an MSD, and requires no code in the main processor.

Even the USB-TTL module will be a CDC, which then involves using a terminal program or something to send it, and will then require a bootloader in the main chip.

What's being done here, is the small processor is programmed as a PIC programmer, which accepts it's input file as an MSD device. So you can just drag and drop the file to this device, and it then programs the main chip.

So it is quite neat.
It is designed for 'plug in and update' type use though, since otherwise leaving the MSD programmer 'exposed' on the system, could easily lead to disasters.

I must admit the 'how' on the forklift, had me puzzled too....
temtronic



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

View user's profile Send private message

PostPosted: Sun Mar 13, 2016 6:14 am     Reply with quote

Thanks Mr. T for the 'how it works'..seems to make more sense, guess growing up with REAL comports and ASR33s I'm a bit 'gun shy' of 'new fangled' technology. I assume next month they'll announce a wireless version? That I can see being more useful, allowing you to update remote devices. Though I can see 'security' issues like 'unwanted' updates(hack,hack,hack) !

Jay


Last edited by temtronic on Sun Mar 13, 2016 9:59 am; edited 1 time in total
Gabriel



Joined: 03 Aug 2009
Posts: 1067
Location: Panama

View user's profile Send private message

PostPosted: Sun Mar 13, 2016 8:49 am     Reply with quote

Ttelmah is spot on the use of this "trick"/feature.

Its nothing new... the mBed platform has been using this for years.
I though it was cool that now microchip has it too.... limited, but its a start.

G.
_________________
CCS PCM 5.078 & CCS PCH 5.093
Ttelmah



Joined: 11 Mar 2010
Posts: 19545

View user's profile Send private message

PostPosted: Sun Mar 13, 2016 2:56 pm     Reply with quote

temtronic wrote:
Thanks Mr. T for the 'how it works'..seems to make more sense, guess growing up with REAL comports and ASR33s I'm a bit 'gun shy' of 'new fangled' technology. I assume next month they'll announce a wireless version? That I can see being more useful, allowing you to update remote devices. Though I can see 'security' issues like 'unwanted' updates(hack,hack,hack) !

Jay


Then they'll have one of those newfangled robotic forklift trucks that'll be _really_ dangerous....
newguy



Joined: 24 Jun 2004
Posts: 1909

View user's profile Send private message

PostPosted: Mon Mar 14, 2016 6:52 am     Reply with quote

Ttelmah wrote:
Then they'll have one of those newfangled robotic forklift trucks that'll be _really_ dangerous....


Only if it was developed using the gcc compiler. Wink
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