http://satellite-board.de
http://www.satellite-board.de/board/

USB Stick Tests
http://www.satellite-board.de/board/viewtopic.php?f=45&t=20094
Seite 1 von 1

Autor:  oli [ Fr 1. Feb 2008, 09:42 ]
Betreff des Beitrags:  USB Stick Tests

SanDisk Cruzer Micro 1GB: (JPEG-App geht nicht!)
Code:
unplugged
USB_DeviceRemoved Addr:03
unplug complete
Resetting Port
Enabling Port
=====================================================
USB_AttachnewDevice Fullspeed:1
USB_SetAddress 04
Reading Device Descriptor
This endpoint supports a maxtransfersize of 40
Device Descriptor:
  UsbSpec 0200 Class 00 SubClass 00 Prot 00 MaxPacket 40
  Vendor 0781 Product 5151 Release 0200
  ManuString 01 ProductString 02 SerialString 03
  NumConfigs 01

Manufacturer:    
Product:    
Serial:    
Config 0:
Interfaces: 01 ConfigVal 01 StringInfo 00 Bus-powered  94mA
  IF: Num 00 Alt 00 EPs 02 Class 08 SubClass 06 Prot 50 StringIdx 00
    EP: Addr 81 Bulk    MaxSize 0040 PollInterval 00
    EP: Addr 02 Bulk    MaxSize 0040 PollInterval 00
=====================================================
Interfaces: 01 ConfigVal 01 StringInfo 00 Bus-powered  94mA
  IF: Num 00 Alt 00 EPs 02 Class 08 SubClass 06 Prot 50 StringIdx 00
    EP: Addr 81 Bulk    MaxSize 0040 PollInterval 00
    EP: Addr 02 Bulk    MaxSize 0040 PollInterval 00


Teclast CoolFlash 4GB: (JPEG-App geht nicht!)
Code:
unplugged
USB_DeviceRemoved Addr:05
unplug complete
Resetting Port
Enabling Port
=====================================================
USB_AttachnewDevice Fullspeed:1
USB_SetAddress 06
Reading Device Descriptor
This endpoint supports a maxtransfersize of 40
Device Descriptor:
  UsbSpec 0200 Class 00 SubClass 00 Prot 00 MaxPacket 40
  Vendor 1307 Product 0163 Release 0100
  ManuString 01 ProductString 02 SerialString 03
  NumConfigs 01

Manufacturer: USBest Technology
Product: USB Mass Storage Device
Serial: 00000000000B8E
Config 0:
Interfaces: 01 ConfigVal 01 StringInfo 00 Bus-powered  80mA
  IF: Num 00 Alt 00 EPs 03 Class 08 SubClass 06 Prot 50 StringIdx 00
    EP: Addr 01 Bulk    MaxSize 0040 PollInterval 01
    EP: Addr 82 Bulk    MaxSize 0040 PollInterval 01
    EP: Addr 83 Inter.  MaxSize 0040 PollInterval 08
=====================================================
Interfaces: 01 ConfigVal 01 StringInfo 00 Bus-powered  80mA
  IF: Num 00 Alt 00 EPs 03 Class 08 SubClass 06 Prot 50 StringIdx 00
    EP: Addr 01 Bulk    MaxSize 0040 PollInterval 01
    EP: Addr 82 Bulk    MaxSize 0040 PollInterval 01
    EP: Addr 83 Inter.  MaxSize 0040 PollInterval 08


Joy-it 2GB ("memory USB2.0"): (JPEG-App geht nicht!)
Code:
unplugged
USB_DeviceRemoved Addr:03
unplug complete

Resetting Port
Enabling Port
=====================================================
USB_AttachnewDevice Fullspeed:1
USB_SetAddress 04
Reading Device Descriptor
This endpoint supports a maxtransfersize of 40
Device Descriptor:
  UsbSpec 0200 Class 00 SubClass 00 Prot 00 MaxPacket 40
  Vendor 1516 Product 8628 Release 0200
  ManuString 01 ProductString 02 SerialString 03
  NumConfigs 01

Manufacturer: memory
Product: USB2.0
Serial: 000000000000000000000022
Config 0:
Interfaces: 01 ConfigVal 01 StringInfo 00 Bus-powered  100mA
  IF: Num 00 Alt 00 EPs 02 Class 08 SubClass 06 Prot 50 StringIdx 00
    EP: Addr 81 Bulk    MaxSize 0040 PollInterval 00
    EP: Addr 02 Bulk    MaxSize 0040 PollInterval 00
=====================================================
Interfaces: 01 ConfigVal 01 StringInfo 00 Bus-powered  100mA
  IF: Num 00 Alt 00 EPs 02 Class 08 SubClass 06 Prot 50 StringIdx 00
    EP: Addr 81 Bulk    MaxSize 0040 PollInterval 00
    EP: Addr 02 Bulk    MaxSize 0040 PollInterval 00


Code:
 pszTempPath: ÿÿÿÿô
 pszPath:a:

 pszTempPath: a:\*.*
 pszPath:a:



 INVALID_FIND_HANDLE

Autor:  oli [ Sa 2. Feb 2008, 11:50 ]
Betreff des Beitrags:  Re: USB Stick Tests

SanDisk Cruzer Micro 1GB:

Code:
 Resetting Port
Enabling Port
=====================================================
USB_AttachnewDevice Fullspeed:1
USB_SetAddress 03
Reading Device Descriptor
This endpoint supports a maxtransfersize of 40
Device Descriptor:
  UsbSpec 0200 Class 00 SubClass 00 Prot 00 MaxPacket 40
  Vendor 0781 Product 5151 Release 0200
  ManuString 01 ProductString 02 SerialString 03
  NumConfigs 01

Manufacturer:    
Product:    
Serial:    
Config 0:
Interfaces: 01 ConfigVal 01 StringInfo 00 Bus-powered  94mA
  IF: Num 00 Alt 00 EPs 02 Class 08 SubClass 06 Prot 50 StringIdx 00
    EP: Addr 81 Bulk    MaxSize 0040 PollInterval 00
    EP: Addr 02 Bulk    MaxSize 0040 PollInterval 00
=====================================================
Interfaces: 01 ConfigVal 01 StringInfo 00 Bus-powered  94mA
  IF: Num 00 Alt 00 EPs 02 Class 08 SubClass 06 Prot 50 StringIdx 00
    EP: Addr 81 Bulk    MaxSize 0040 PollInterval 00
    EP: Addr 02 Bulk    MaxSize 0040 PollInterval 00
Filesys Mount
Bootsect
Partition Table
Boot StartCHS Type EndCHS StartSect  EndSect Filesystem
 80   010100  0E   03C83E  00000008 001EE7F7 FAT16/LBA
 00   000000  00   000000  00000000 00000000 Empty
 00   000000  00   000000  00000000 00000000 Empty
 00   000000  00   000000  00000000 00000000 Empty
Filesys Wait

 
 pszTempPath: ÿÿÿÿô
 pszPath:a:

 pszTempPath: a:\*.*
 pszPath:a:
File_FindFirst: a:\*.* 003EA9A4



 INVALID_FIND_HANDLE

 pszTempPath: a:\*.*
 pszPath:a:

 pszTempPath: a:\*.*
 pszPath:a:
File_FindFirst: a:\*.* 003EA9A4



 INVALID_FIND_HANDLE
 

Autor:  oli [ Sa 2. Feb 2008, 11:58 ]
Betreff des Beitrags:  Re: USB Stick Tests

Teclast CoolFlash 4GB:

Code:
Resetting Port
Enabling Port
=====================================================
USB_AttachnewDevice Fullspeed:1
USB_SetAddress 03
Reading Device Descriptor
This endpoint supports a maxtransfersize of 40
Device Descriptor:
  UsbSpec 0200 Class 00 SubClass 00 Prot 00 MaxPacket 40
  Vendor 1307 Product 0163 Release 0100
  ManuString 01 ProductString 02 SerialString 03
  NumConfigs 01

Manufacturer: USBest Technology
Product: USB Mass Storage Device
Serial: 00000000000B8E
Config 0:
Interfaces: 01 ConfigVal 01 StringInfo 00 Bus-powered  80mA
  IF: Num 00 Alt 00 EPs 03 Class 08 SubClass 06 Prot 50 StringIdx 00
    EP: Addr 01 Bulk    MaxSize 0040 PollInterval 01
    EP: Addr 82 Bulk    MaxSize 0040 PollInterval 01
    EP: Addr 83 Inter.  MaxSize 0040 PollInterval 08
=====================================================
Interfaces: 01 ConfigVal 01 StringInfo 00 Bus-powered  80mA
  IF: Num 00 Alt 00 EPs 03 Class 08 SubClass 06 Prot 50 StringIdx 00
    EP: Addr 01 Bulk    MaxSize 0040 PollInterval 01
    EP: Addr 82 Bulk    MaxSize 0040 PollInterval 01
    EP: Addr 83 Inter.  MaxSize 0040 PollInterval 08
Filesys Mount
Bootsect
Partition Table
Boot StartCHS Type EndCHS StartSect  EndSect Filesystem
 80   010100  0B   FE7FF4  0000003F 007AFFC0 FAT32
 00   000000  00   000000  00000000 00000000 Empty
 00   000000  00   000000  00000000 00000000 Empty
 00   000000  00   000000  00000000 00000000 Empty
VolMgr_SendPNPEvent 04 0029F84C 00000000
Filesys Wait

Autor:  oli [ Sa 2. Feb 2008, 15:04 ]
Betreff des Beitrags:  Re: USB Stick Tests

Den Stick SanDisk Cruzer Micro 1GB neu in FAT formatiert und mit einem Foto.jpg im root:

Code:
Resetting Port
Enabling Port
=====================================================
USB_AttachnewDevice Fullspeed:1
USB_SetAddress 03
Reading Device Descriptor
This endpoint supports a maxtransfersize of 40
Device Descriptor:
  UsbSpec 0200 Class 00 SubClass 00 Prot 00 MaxPacket 40
  Vendor 0781 Product 5151 Release 0200
  ManuString 01 ProductString 02 SerialString 03
  NumConfigs 01

Manufacturer:    
Product:    
Serial:    
Config 0:
Interfaces: 01 ConfigVal 01 StringInfo 00 Bus-powered  94mA
  IF: Num 00 Alt 00 EPs 02 Class 08 SubClass 06 Prot 50 StringIdx 00
    EP: Addr 81 Bulk    MaxSize 0040 PollInterval 00
    EP: Addr 02 Bulk    MaxSize 0040 PollInterval 00
=====================================================
Interfaces: 01 ConfigVal 01 StringInfo 00 Bus-powered  94mA
  IF: Num 00 Alt 00 EPs 02 Class 08 SubClass 06 Prot 50 StringIdx 00
    EP: Addr 81 Bulk    MaxSize 0040 PollInterval 00
    EP: Addr 02 Bulk    MaxSize 0040 PollInterval 00
Filesys Mount
Bootsect
Partition Table
Boot StartCHS Type EndCHS StartSect  EndSect Filesystem
 80   010100  06   03C83E  00000008 001EE7F7 FAT16b
 00   000000  00   000000  00000000 00000000 Empty
 00   000000  00   000000  00000000 00000000 Empty
 00   000000  00   000000  00000000 00000000 Empty
Mounting Drive A:
Bootsect
FAT12/16 BPB
Sig16 found
Mount_FAT_12_16 00000008
PartInfo: 004AC448
Byte per Sector 0200
Sector per Cluster 32
Res Sectors 0008
Num FATs 2
FatEntries 0200
TotalSectors 0000
Media Descriptor 248
Sectors per Fat 00F8
Sectors per Track 003F
Number of Heads FF00
Hidden Sectors 08000000
TotalSectors(Large) F7E71E00
Extended BPB present
Volume Serial 20548E48
Volume Label NO NAME    FAT16   3ɎѼð{ŽÙ¸
FOTO    .JPG <     A > Foto.jpgÿÿÿÿ
ret PartInfo: 004AC448
Volume successfully mounted
VolMgr_SendPNPEvent 05 0029F84C 00000008
Filesys Wait


 pszTempPath: ÿÿÿÿô
 pszPath:a:

 pszTempPath: a:\*.*
 pszPath:a:
File_FindFirst: a:\*.* 003EA9A4
Searching the root dir
open
Attempt to open root directory


Dateianhänge:
jpeg.jpg
jpeg.jpg [ 41.72 KiB | 3694-mal betrachtet ]

Autor:  oli [ Sa 2. Feb 2008, 15:16 ]
Betreff des Beitrags:  Re: USB Stick Tests

Code:
 pszTempPath: %7
 pszPath:a:

 pszTempPath: a:\*.*
 pszPath:a:
File_FindFirst: a:\*.* 003EA9A4
Searching the root dir
open
Attempt to open root directory

 +++ nr_of_jpg_files :1 file_name:TEST1  Size:0
 pszTempPath: a:\*.*
 pszPath:a:

 pszTempPath: a:\*.*
 pszPath:a:
File_FindFirst: a:\*.* 003EA9A4
Searching the root dir
open
Attempt to open root directory

 +++ nr_of_jpg_files :2 file_name:TEST1  Size:0
 [!first_loop] 1 nr_of_jpg_files :2
 file_name:TEST1
  Size:0

 [!first_loop] 2 GOAL_JPEG_DIR ->_this->num_item :2
 GOAL_JPEG_DIR->items:\TEST1

 pszTempPath:
 pszPath:a:\TEST1\

 pszTempPath: a:\TEST1\*.*
 pszPath:a:\TEST1\
File_FindFirst: a:\TEST1\*.* 003EA7C4
open TEST1

 +++ nr_of_jpg_files :0 file_name:..  Size:0
 pszTempPath: a:\TEST1\*.*
 pszPath:a:\TEST1\

 pszTempPath: a:\TEST1\*.*
 pszPath:a:\TEST1\
File_FindFirst: a:\TEST1\*.* 003EA7C4
open TEST1

 +++ nr_of_jpg_files :3 file_name:..  Size:0
 [!first_loop] 1 nr_of_jpg_files :3
 file_name:..
  Size:0

 [!first_loop] 2 GOAL_JPEG_DIR ->_this->num_item :3
 GOAL_JPEG_DIR->items:\..


Scheinbar mag er keine Bilder *.jpg nur Bolder mit *.JPG im root??? In unterordnern gehen *.jpg Bilder aber???

cu Oli

Dateianhänge:
jpeg_win1.jpg
jpeg_win1.jpg [ 63.98 KiB | 3698-mal betrachtet ]
jpeg2.jpg
jpeg2.jpg [ 36.25 KiB | 3694-mal betrachtet ]
jpeg1.jpg
jpeg1.jpg [ 34.23 KiB | 3694-mal betrachtet ]

Autor:  oli [ Sa 2. Feb 2008, 15:42 ]
Betreff des Beitrags:  Re: USB Stick Tests

Das Bildformat stimmt aber nicht ganz (Ernie)?

cu oli

Dateianhänge:
jpeg3.jpg
jpeg3.jpg [ 50.25 KiB | 3696-mal betrachtet ]
jpeg4.jpg
jpeg4.jpg [ 70.3 KiB | 3694-mal betrachtet ]

Autor:  oli [ Sa 2. Feb 2008, 20:34 ]
Betreff des Beitrags:  Re: USB Stick Tests

zur Info

Dateianhänge:
jpeg5jpg.jpg
jpeg5jpg.jpg [ 34.95 KiB | 3695-mal betrachtet ]

Autor:  Hightech Master [ Sa 2. Feb 2008, 22:01 ]
Betreff des Beitrags:  Re: USB Stick Tests

welche version ist das denn? also firmware?

Autor:  oli [ So 3. Feb 2008, 12:33 ]
Betreff des Beitrags:  Re: USB Stick Tests

Die letzte, ich hatte dann nur das Design an den JPEG Fenster geändert.

cu Oli

Autor:  cccs [ So 3. Feb 2008, 18:18 ]
Betreff des Beitrags:  Re: USB Stick Tests

sollte dann auch eine festplatte gehn oder?

Autor:  oli [ Mo 4. Feb 2008, 07:47 ]
Betreff des Beitrags:  Re: USB Stick Tests

cccs hat geschrieben:
sollte dann auch eine festplatte gehn oder?


Wenn sie in FAT formatiert ist, sollte sie gehen. Aber eben nur mit USB1.1

cu Oli

Autor:  oli [ Sa 9. Feb 2008, 09:50 ]
Betreff des Beitrags:  Re: USB Stick Tests

Die Anzeige von jpeg ist in der Qzallität ja etwas grenzwertig? Ich könnte mir aber vorstellen über ein ähnliches fenster eine Flashfunktion umzusetzen. So das z.B. Programmlisten oder Firmware gefasht werden könnten. Hätte man darüber wieder eine alte Firmware gefasht müßte man wieder über Seriell gehen. Der Bootloader scheint keine flashfunktion über usb zu bieten.

cu oli

Autor:  jimjack [ So 10. Feb 2008, 15:54 ]
Betreff des Beitrags:  Re: USB Stick Tests

Nein, der Bootloader kann kein USB. Da müsste dann der ganze USB-teil rein. Dann wird der Bootloader viel grösser.

Eventuelle wäre es auch machbar das Image per USB einzulesen und dann zu flashen? Wobei dann der code irgendwie im RAM laufen müsste. Damit kenne ich mich aber nicht so sehr gut aus. man kann sich ja nicht wärend der Laufzeit das eigene Flash-Programm überschreiben...

Autor:  oli [ So 10. Feb 2008, 16:14 ]
Betreff des Beitrags:  Re: USB Stick Tests

Zitat:
man kann sich ja nicht wärend der Laufzeit das eigene Flash-Programm überschreiben...


Doch das sollte gehen, wird ja so bein OTA gemacht. Auch wird ja nicht aus dem ROM die Firmware gebootet, sondern die gesamte Firmware wird an eine stelle im RAM kopiert und dort gestartet. Also nur beim hochfahren der Software wird auf ROM zugegriffen.

cu Oli

Autor:  jimjack [ Mo 11. Feb 2008, 06:07 ]
Betreff des Beitrags:  Re: USB Stick Tests

Sorry stimmt. Hab ich garnicht dran gedacht, i.a. habe ich auf Arbeit immer nur mit kleinen Controllern zu tun, die vom Flash laufen.

Bei den grossen Controllern (ARM, MIPS) wird das Flash ins RAM kopiert und läuft dann von dort. Ist auch viel schneller. Dann ist das natürlich kein Problem ins Flash zu schreiben. Die OTA-Routine müsste ja einen Puffer anlegen und der wird dann ins Flash geschrieben.

Seite 1 von 1 Alle Zeiten sind UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/