| 是启动设置成LDROM 含IAP功能吧??然后把程序烧写到APROM吧?烧写到LDROM说程序太大, U盘更目录下有个IP.bin程序.插U盘上电后,观看串口输出的信息,无任何输出.
 再把启动塞罕至成APROM,重启后,可以看到串口输出
 
 UDetecting USB disk...
 
 Device connected.
 
 Port reset OK.
 
 USB device enabled (Full-speed).
 
 
 [Device Descriptor]
 
 ----------------------------------------------
 
 Length              = 18
 
 DescriptorType      = 01
 
 USB version         = 2.00
 
 Vendor:Product      = 1043:8012
 
 MaxPacketSize0      = 64
 
 NumConfigurations   = 1
 
 Device version      = 1.00
 
 Device Class:SubClass:Protocol = 00:00:00
 
 
 [Configuration Descriptor]
 
 ----------------------------------------------
 
 Length              =  9
 
 DescriptorType      = 02
 
 wTotalLength        = 32
 
 bNumInterfaces      = 1
 
 bConfigurationValue = 1
 
 iConfiguration      = 0
 
 bmAttributes        = 0x80
 
 MaxPower            = 50
 
 
 [Interface Descriptor]
 
 ----------------------------------------------
 
 Length              =  9
 
 DescriptorType      = 04
 
 bInterfaceNumber    = 0
 
 bAlternateSetting   = 0
 
 bNumEndpoints       = 2
 
 bInterfaceClass     = 0x08
 
 bInterfaceSubClass  = 0x06
 
 bInterfaceProtocol  = 0x50
 
 iInterface          = 0
 
 
 [Endoint Descriptor]
 
 ----------------------------------------------
 
 Length              =  7
 
 DescriptorType      = 05
 
 bEndpointAddress    = 0x81
 
 bmAttributes        = 0x02
 
 wMaxPacketSize      = 64
 
 bInterval           = 0
 
 bRefresh            = 7
 
 bSynchAddress       = 5
 
 
 [Endoint Descriptor]
 
 ----------------------------------------------
 
 Length              =  7
 
 DescriptorType      = 05
 
 bEndpointAddress    = 0x02
 
 bmAttributes        = 0x02
 
 wMaxPacketSize      = 64
 
 bInterval           = 0
 
 bRefresh            = 0
 
 bSynchAddress       = 0
 
 USB Mass Storage device found.
 
 Max lun is 0
 
 
 
 
 ******* Read lun 0 ******
 
 
 INQUIRY...
 
 INQUIRY command success.
 
 TEST_UNIT_READY...
 
 CSW status error.
 
 REQUEST_SENSE...
 
 REQUEST_SENSE command success.
 
 READ CAPACITY ==>
 
 USB disk found: size=2046 MB, uTotalSectorN=4190208
 
 g_disk_lun = 0
 
 rc=0
 
 Firmware AP.BIN file not found.
 
 Data file data.bin not found.
 
 Will branch to user application...
 
 In Hard Fault Handler
 
 r0  = 0x18
 
 r1  = 0x20026
 
 r2  = 0x2e
 
 r3  = 0xa
 
 r12 = 0x0
 
 lr  = 0x201
 
 pc  = 0x790
 
 psr = 0x21000000
 
 最终都没有更新,是什么原因?????
 |