µTasker Forum

µTasker Forum => µTasker general => Topic started by: mark on May 10, 2011, 12:26:56 AM

Title: New USB MSD Boot Loader
Post by: mark on May 10, 2011, 12:26:56 AM
Hi All

The uTasker serial boot loader project has been extended to support USB MSD (mass storage device) software loading.

This has been added to the Kinetis project and can be seen in action here:
http://www.youtube.com/watch?v=H4TYM9jY2-g

This is compatible to all uTasker processor projects supporting USB device and so will be included in these projects as new versons become available.

Regards

Mark



Title: Re: New USB MSD Boot Loader
Post by: mhoneywill on May 10, 2011, 07:31:11 AM
Very Nice, now I must get a Kinetis demo kit.

I'm looking at new processors at the moment and am either going towards the Kinetis or NXP LPC17xx. Not sure how avaliable Kinetis K60 parts are yet.

Cheers

Martin
Title: Re: New USB MSD Boot Loader
Post by: mark on May 14, 2011, 03:18:50 PM
Hi Martin

I have just added this to the Coldfire project.

Generally the code is not processor specific and so, as long as the processor package support USB device, it will be able to work in all projects.

Regards

Mark
Title: Re: New USB MSD Boot Loader
Post by: mark on June 03, 2011, 04:30:58 PM
Hi All

The following video shows additional software protection in the USB-MSD boot loader: http://www.youtube.com/watch?v=e4oFBn_M5wo

As can be seen, when the protection is enabled it is not possible to copy back the software from the device (the content is simply all zeros) but, by dragging a suitable password file onto the disk-drive, the protection can be temporarily removed (until next reset) so that password owners can retrive the software if desired.

Regards

Mark
Title: Re: New USB MSD Boot Loader
Post by: mark on June 04, 2011, 01:43:38 PM
Hi All

The utasker Serial Loader documentation has been updated to include the USB-MSD option:
http://www.utasker.com/docs/uTasker/uTaskerSerialLoader.PDF

Regards

Mark
Title: Re: New USB MSD Boot Loader
Post by: phomann on June 06, 2011, 01:45:51 AM
Hi Mark,

Does this work with the TI LM3s9B92 processors?

Cheers,

Peter.
Title: Re: New USB MSD Boot Loader
Post by: mark on June 06, 2011, 07:33:49 PM
Hi Peter

Not yet. I am presently trying to get it operational on the LPC2XXX (then it should automaticalyl work also for the LPC17XX).
Following that I will add it to the LM3Sxxx package - which however means the older devices (not the 9Bxx) since these have USB support and the newer ones not yet. If that all runs smoothly I will look at upgrading the USB driver for the 9Bxx parts; I don't know how much work this will be though.

Regards

Mark
Title: Re: New USB MSD Boot Loader
Post by: phomann on June 07, 2011, 01:18:03 AM
Very Nice, now I must get a Kinetis demo kit.

I'm looking at new processors at the moment and am either going towards the Kinetis or NXP LPC17xx. Not sure how avaliable Kinetis K60 parts are yet.

Cheers

Martin

Hi Martin,

Are you changing from the LM3 parts due to supply issues? I ask as I am looking at dumping the TI  parts and changing to another processor.

Cheers,

Peter.
Title: Re: New USB MSD Boot Loader
Post by: phomann on June 07, 2011, 01:23:07 AM
Hi Peter

Not yet. I am presently trying to get it operational on the LPC2XXX (then it should automaticalyl work also for the LPC17XX).
Following that I will add it to the LM3Sxxx package - which however means the older devices (not the 9Bxx) since these have USB support and the newer ones not yet. If that all runs smoothly I will look at upgrading the USB driver for the 9Bxx parts; I don't know how much work this will be though.

Regards

Mark


Hi Mark,

Thanks for that. With the non availability of the new TI parts, it may be time to change processors. I liked the TI as it is a single chip Ethernet solution. I think that the Coldfire is the only other single chip solution.

Cheers,

Peter.
Title: Re: New USB MSD Boot Loader
Post by: mark on June 07, 2011, 12:53:07 PM
Peter

The problems with the B9xx parts are the main reason why the Luminary development has been given a low priority. The older parts are still very interesting - simpler but stable.

The M5223x devoices are the only others in the uTasker project with integrated Ethernet PHY. These are very good chips - and rather more popular than the Luminary ones in the project. The PHY is however not as good in terms of power consumption (needs about 300mA at 100Mb/s) but itherwise rock-solid.

Unfortunately the newer Freescale devices (like Kinetis) will no longer have uinternal PHY. The technique requires a lot of chip space and complicates the production due to its mixed signal needs - the trend is moving back to external PHYs so that the micros can have much more other features.

Regards

Mark
Title: Re: New USB MSD Boot Loader
Post by: mark on June 07, 2011, 05:18:39 PM
Hi All

Please note that a new demo for the LPC2XXX has been added to the SW page - the USB-MSD loader is included in the latest LPC2XXX version V1.4-5: http://www.utasker.com/forum/index.php?topic=1324.msg5589#msg5589

Regards

Mark
Title: Re: New USB MSD Boot Loader
Post by: mhoneywill on June 12, 2011, 10:14:43 PM

Hi Martin,

Are you changing from the LM3 parts due to supply issues? I ask as I am looking at dumping the TI  parts and changing to another processor.

Cheers,

Peter.

Hi Peter,

Sorry for the delay in replying, There are a few reasons I'm looking at other chips.

1. Sometimes I need more that the 3 Uarts supplied on the Luminary Chips

2. I too am worried about supply, but I'm also not sure how available the Kinetis K60 parts are?

3. Some designs I'm looking at having dual Ethernet ports, to allow products to be daisy chained. This is easier to do with a MMII or RMMII interface, see the following links for possible chips to use http://www.asix.com.tw/products.php?op=pItemdetail&PItemID=102;65;107&PLine=65 or http://www.micrel.com/_PDF/Ethernet/KS8893ML-pb.pdf or http://www.dacomwest.de/eng/e_etherics_switch_dm8603.htm

4. Mark seems to be very fond of the Kinetis chips, so it seems that a lot of uTasker development is focused in this direction at the moment.

Regards

Martin
Title: Re: New USB MSD Boot Loader
Post by: mark on June 12, 2011, 11:08:11 PM
Hi

The USB-MSD boot loader has now been added to the LPC17XX project [see http://www.utasker.com/forum/index.php?topic=1285.msg5634#msg5634] - demo for Olimex LPC1766-STK on the SW/Live demos page.

I am going to have a go at USB-device for the AVR32 next - this will probably take a bit more effort though since it needs to be started from scratch...

Regards

Mark