Teh 52211 EVB

View: New views
2 Messages — Rating Filter:   Alert me  

Teh 52211 EVB

by Sanjay Morab :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Dear Mark
 
 
I am using the 52211 EVB. All examples provided along with the EVB are more or less working some problems I am facing
1. When I run Host demos with mass sorage device, I can view the "DIR" ,Dump" etc command only on first time after downloading.That if I load the Mass Storage host demo. on terminaI get all relavent messages. If connect USB PEN drive it detects and if I type "dir " I am getting the list of files. If again I type the "dir" I get " Unknown Command".
 
2. I like to use MAX3353 portion of the EVB and run all the sample instead of on Chip USB. How can I do it.
 
regards
Sanjay Morab
coldfire@... Send a post to the list. coldfire-join@... Join the list. coldfire-digest@... Join the list in digest mode. coldfire-leave@... Leave the list.

AW: Teh 52211 EVB

by Mark Butcher :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi Sanjay

 

I haven’t used the 52211 myself, only the 52223. I expect the EVBs to be very similar.

Presently I have a stack to work in HID mode (still being developed – with some delay do to other work though) – I have started a sort-of blog here: http://www.utasker.com/forum/index.php?topic=176.0

This means that I don’t have any information concerning your first question.

 

To the second question: The MAX3353 is also on the 52223EVB  - here is an extract from my development notes using it:
The M52223EVB served as development board but to complicate matters it does allow a configurable OTG interface using a chip called the MAX3353. This is controlled by I2C interface and can switch power to the USB bus when it is operating in OTG mode. It also has switchable pull-down resistors for host mode operation an switchable pull-up resistor for device mode operation. Although not absolutely necessary for the device mode operation the USB driver was prepared to allow automatic setting of this device with the thought that this may well be necessary with other USB controllers with this capability.”

You can bypass this with a jumper on the board and in any case you need to use the internal USB controller – the MAX3353 is used to optionally power the USB bus and configure pull ups/downs. It thus allows switching between device and OTG bus modes.

To use the device it needs to be configured via I2C to be set to the working state that you require. All info required to do this is available in the MAX3353 data sheet. To work in high speed device mode I had to send just 2 configuration bytes:

Write 0x00 to config register 2
Write 0x14 to config register 1

Regards

 

Mark

 

 

 

Mark Butcher Bsc (Hons) MPhil MIEE

 

M.J.Butcher Consulting               

Obere Bahnhofstr. 13,  CH-5507 Mellingen,

Switzerland         www.mjbc.ch / www.uTasker.com

056 491 48 10 / 079 402 26 37 / Skype: M_J_Butcher

 

 

 

-----Ursprüngliche Nachricht-----
Von: coldfire-bounce@... [mailto:coldfire-bounce@...] Im Auftrag von Sanjay Morab
Gesendet: Donnerstag, 21. Februar 2008 14:12
An: mark@...
Betreff: [ColdFire] Teh 52211 EVB

 

Dear Mark

 

 

I am using the 52211 EVB. All examples provided along with the EVB are more or less working some problems I am facing

1. When I run Host demos with mass sorage device, I can view the "DIR" ,Dump" etc command only on first time after downloading.That if I load the Mass Storage host demo. on terminaI get all relavent messages. If connect USB PEN drive it detects and if I type "dir " I am getting the list of files. If again I type the "dir" I get " Unknown Command".

 

2. I like to use MAX3353 portion of the EVB and run all the sample instead of on Chip USB. How can I do it.

 

regards

Sanjay Morab

coldfire@... Send a post to the list. coldfire-join@... Join the list. coldfire-digest@... Join the list in digest mode. coldfire-leave@... Leave the list. coldfire@... Send a post to the list. coldfire-join@... Join the list. coldfire-digest@... Join the list in digest mode. coldfire-leave@... Leave the list.