Snippets

hiromitu Transcend Photo Frame

Created by hiromitu
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
%3456Booo1ScC$.....................................................%
ProcessMonitor:100de  -> 3005e
NFE Driver : Read default device info.
NFE Driver : Read default device info.
NFE Driver : Search CIS Block. Found
NFE Driver : Set ECC Mode. 4bits
NFE Driver : Device number. 1
NFE Driver : Device module. Single die
NFE Driver : Total size. 980MB
Find valid CFG in SPI ROM
Uncompressing...Done.
Starting from 8000050c
+
enrolled successfuly:ACTIVEKEY[65292]  RESOURCE ATTR:[2]

enrolled successfuly:ACTIVEKEY[65299]  RESOURCE ATTR:[1]

enrolled successfuly:ACTIVEKEY[65296]  RESOURCE ATTR:[1]

enrolled successfuly:ACTIVEKEY[65282]  RESOURCE ATTR:[514]

enrolled successfuly:ACTIVEKEY[65305]  RESOURCE ATTR:[1]

enrolled successfuly:ACTIVEKEY[65281]  RESOURCE ATTR:[1]

enrolled successfuly:ACTIVEKEY[65316]  RESOURCE ATTR:[1]
 FATFS v0.5c 2005/06/22
GPIO v0.3 2007/03/22 Released
USB_HOST v1.2 2005/07/01
USB_DEVICE v1.02 2005/06/10Yuwen,add flash rom manager
nandflash_driver v1.0 2005/11/16 Coree
NAND_Disk v1.00 2006/01/03
MemoryStick_driver v0.9 2005/09/20 Yuwen
SD_Card_Reader v1.0 2006/01/05 Kevin
Ata_driver v1.1 2005/06/22 Yuwen
APMP_Hal v1.01 2005/05/23
OSAL v1.01 2005/05/31
SystemExplorer v0.9 2005/04/22
I2C_MASTER v1.0 2005/06/01
NLS_Unicode v1.01 2005/06/06
spiee v0.3 2005/09/21 Release
System_Shell v1.00 2005/1/1 Yuwen
rscmgr v1.0 2006/11/7 Jonas; Support miniRAM version
Gdi_Components v0.81 2005/06/27 Release
vout v0.6 2006/07/11 Eric62
AUDECODE v2.4a 2007/10/22 Kidd
APMP_Lradc v0.7 2005/07/07 Yuwen
VOCOLORLCD v1.0 2005/08/19
IMAGEBASE v1.1 2005/08/16 Andrew
PIC_VIEW v1.0 2005/08/16 Andrew
JPEG v1.01 2005/07/14 Andrew
BMP v1.01 2005/07/14 Andrew
TIFF v1.01 2005/09/21 Andrew
pwm v0.2 2007/02/14
AVI v1.01 2005/08/09 Andrew
MOV v1.01 2005/07/14 Andrew
VIDEO_VIEW v1.0 2005/08/16 Andrew
MENU_AP v1.0 2006/8/15 Asen Huang
MEDIAPLAY v1.03 2005/08/04 Singer Add playlist
PHOTO_APP v1.00 2005/10/30 Andrew
THUMBPHOTO_APP v1.00 2005/10/30 Andrew
spihx v0.2 2007/03/15
gdi v0.7 2005/05/31 Release
FM v1.1 2006/04/04
FileCopy_Dialog v1.7 2005/06/22 Release
AUDIO_LIB v3.2e 2008/01/28 Kidd
AUENCODE v0.6d 2007/04/04 Kidd


 CConfig constructor!
Check sum ok
System shell init!
InitPMU()
Init PMU: Create IdeSem:1
PLL set to job:0x9
index:12
PMU Jumps to SRAM
change CPU freq ok
PMU Set default Job OK!(HYPER_JOB)
AUD: Malloc Audio DRAM Pool 102400 Bytes.
AUD: Total API/APO Byte Size = 265472
AUD: Malloc Audio DRAM Pool 102400 Bytes.
AUD: Total API/APO Byte Size = 265472
System::Init() , rtn = 0, m_MsgQueID=0
 Global Spiee Obj = 0x8015CF4C
Enable Write Protect...
Enable Power Save Mode...
CStorMgr Disks: 0 1 2 3 4 5 6 7 8
STM: Find the dev: /dev/hda/
STM: Find the dev: /dev/hda/
STM: Find the dev: /dev/cfa/
STM: Find the dev: /dev/csda/
STM: Find the dev: /dev/csda/
STM: Find the dev: /dev/msa/
STM: Find the dev: /dev/sda/
STM: Find the dev: /dev/sda/
ATA_Init();
ASYNSEM: 7
Create FLAG OK
OK
NFE Driver : Read default device info.
NFE Driver : Read default device info.
NFE Driver : Search CIS Block. Found
NFE Driver : Set ECC Mode. 4bits
NFE Driver : Device number. 1
NFE Driver : Device module. Single die
NFE Driver : Total size. 980MB
No valid partitions defined in MBR
CRscMgr::Init(Bpp:0x18)
Send FM chip to suspend!
Init Software Timer ok
: starting CPE EHCI USB Controller
ehci_hcd (CPE_AMBA) at 0x0xc2000000, irq 40
Product: CPE_AMBA EHCI
Manufacturer: Non-OS 1.0 ehci_hcd
SerialNumber: cpe_ehci
FOTG200 OTGD Initialization
fotg200_driver (CPE_AMBA) at 0x0xc2000080, irq 40
CfgTableSize: 131Config table checksum:51->51
VID:174c
PID:5301
Vendor String:PF710   Photo Frame     1.00シ
Product String:Photo Frame     1.00シ
Revision String:1.00シSearching the dev: /dev/hda/
Find the dev: /dev/hda/, Share: 0
Searching the dev: /dev/cfa/
Find the dev: /dev/cfa/, Share: 0
Searching the dev: /dev/csda/
Find the dev: /dev/csda/, Share: 0
Searching the dev: /dev/csdb/
Searching the dev: /dev/msa/
Find the dev: /dev/msa/, Share: 0
Searching the dev:
InitLUNDevList Exit,  4 valid devices, 4 LUNs
t_cont reset by 3153 stanely addition
after t_cont reset
SPIHX Init OK
SPIHX_WriteReg 0x00: 0x67
SPIHX_WriteReg 0x01: 0x57
SPIHX_WriteReg 0x02: 0xff
SPIHX_WriteReg 0x03: 0x00
SPIHX_WriteReg 0x04: 0x00
SPIHX_WriteReg 0x05: 0x00
SPIHX_WriteReg 0x06: 0x0f

 LCD_FG070060_SetContrast: 5
SPIHX_WriteReg 0x07: 0x06
SPIHX_WriteReg 0x08: 0x13
SPIHX_WriteReg 0x09: 0x1c
SPIHX_WriteReg 0x0a: 0x11
SPIHX_WriteReg 0x0b: 0x15
SPIHX_WriteReg 0x0c: 0x0a
SPIHX_WriteReg 0x0d: 0x0f
SPIHX_WriteReg 0x0e: 0x16
SPIHX_WriteReg 0x0f: 0x44
SPIHX_WriteReg 0x06: 0x4f
 GDI_InitBaseComp Init...
 CGDICompBase = 16 Bytes
 CGDICompWin = 18 Bytes
 CGDICompString = 29 Bytes
 CGDICompImage = 29 Bytes
 CGDICompImageWithText = 37 Bytes
 CGDICompList = 39 Bytes
 CGDICompMenuBox = 63 Bytes
 CGDICompBar = 83 Bytes
 _GDI_LOCINFO = 6 Bytes
GetVideoMgrRef().Init()
PWM_Init PWM0 divider 0
GetVideoMgrRef().Init(1)
after GetVideoMgrRef().Init()
LED On

back light on 65535
CBackLight::On()

 LCD_FG070060_SetContrast: 3
SPIHX_WriteReg 0x07: 0x06
SPIHX_WriteReg 0x08: 0x12
SPIHX_WriteReg 0x09: 0x1a
SPIHX_WriteReg 0x0a: 0x0e
SPIHX_WriteReg 0x0b: 0x12
SPIHX_WriteReg 0x0c: 0x06
SPIHX_WriteReg 0x0d: 0x0b
SPIHX_WriteReg 0x0e: 0x11
Set PWM0 Duty 50
Usb Vbus off
UnmountLun: DiskID: 0, LUN: 0, Async: 1
ProcessLun: MsgID: 2, DiskID: 0, LUN: 0, Async: 1
Send Msg: ModuleID: 0, uDPara: 0x80000002, uWPara: 0x0
ProcessLun Sleep
StorMsg: 0, 80000002, 0
uDisk: 0, uLun: 0 bAsync: 1
GetLunItem: 0x0
GetPartItem: 0x0
Wakeup caller task
ProcessLun Wakeup
MountLun: DiskID: 0, LUN: 0, Async: 1
ProcessLun: MsgID: 1, DiskID: 0, LUN: 0, Async: 1
Send Msg: ModuleID: 0, uDPara: 0x80000001, uWPara: 0x0
ProcessLun Sleep
StorMsg: 0, 80000001, 0
uDisk: 0, uLun: 0 bAsync: 1
MountPart:: Enter
ProcessPart:: Enter
AllocPartItem: 0x804C8110
DevName:: /dev/hda/1
MntPath:: /HD1
AddPartItem:  Enter
GetLunItem: 0x0
AddLunItem:  Enter
AddLunItem: OK pLunItem: 0x804C8140
GetLunItem: 0x804C8140
AddPartItem: 0x804C8110, DiskID: 0, Lun: 0, PartItem: 0x804C8110
ProcessPart:: Exit 0
MountPart:: Exit
MountPart:: Enter
ProcessPart:: Enter
AllocPartItem: 0x806ADD80
DevName:: /dev/hda/2
MntPath:: /HD2
mount errProcessPart:: Exit -1
MountPart:: Exit
MountPart:: Enter
ProcessPart:: Enter
AllocPartItem: 0x806ADD80
DevName:: /dev/hda/3
MntPath:: /HD3
mount errProcessPart:: Exit -1
MountPart:: Exit
MountPart:: Enter
ProcessPart:: Enter
AllocPartItem: 0x806ADD80
DevName:: /dev/hda/4
MntPath:: /HD4
mount errProcessPart:: Exit -1
MountPart:: Exit
MountPart:: Enter
ProcessPart:: Enter
AllocPartItem: 0x806ADD80
DevName:: /dev/hda/5
MntPath:: /HD5
mount errProcessPart:: Exit -1
MountPart:: Exit
MountPart:: Enter
ProcessPart:: Enter
AllocPartItem: 0x806ADD80
DevName:: /dev/hda/6
MntPath:: /HD6
mount errProcessPart:: Exit -1
MountPart:: Exit
MountPart:: Enter
ProcessPart:: Enter
AllocPartItem: 0x806ADD80
DevName:: /dev/hda/7
MntPath:: /HD7
mount errProcessPart:: Exit -1
MountPart:: Exit
MountPart:: Enter
ProcessPart:: Enter
AllocPartItem: 0x806ADD80
DevName:: /dev/hda/8
MntPath:: /HD8
mount errProcessPart:: Exit -1
MountPart:: Exit
MountPart:: Enter
ProcessPart:: Enter
AllocPartItem: 0x806ADD80
DevName:: /dev/hda/9
MntPath:: /HD9
mount errProcessPart:: Exit -1
MountPart:: Exit
MountPart:: Enter
ProcessPart:: Enter
AllocPartItem: 0x806ADD80
DevName:: /dev/hda/10
MntPath:: /HD10
mount errProcessPart:: Exit -1
MountPart:: Exit
MountPart:: Enter
ProcessPart:: Enter
AllocPartItem: 0x806ADD80
DevName:: /dev/hda/11
MntPath:: /HD11
mount errProcessPart:: Exit -1
MountPart:: Exit
Wakeup caller task
ProcessLun Wakeup
GetLunItem: 0x804C8140
GetPartItem: 0x804C8110
GetPartMntPath: /HD1
AUD: Vol = 90
AUD: EQ mode = 11
AUD: Vol = 0
AUD: Balance = 0
GetLunItem: 0x804C8140
GetPartItem: 0x804C8110
GetPartMntPath: /HD1

 CalibrationLRADC() END..val:35
TO SET activeMedia CF CARD 0..
SetMediaActive::SetMeida->2
devstatus is 3,iSize is 5
find the dev toset active!
SetMediaActive::SetMeida->5
devstatus is 3,iSize is 5
find the dev toset active!
TO SET activeMedia sd CARD 0..
SetMediaActive::SetMeida->3
devstatus is 3,iSize is 5
find the dev toset active!
GetLunItem: 0x804C8140
GetPartItem: 0x804C8110
GetPartMntPath: /HD1
SetMediaActive::SetMeida->0
devstatus is 2,iSize is 5
find the dev toset active!
GetLunItem: 0x804C8140
GetPartItem: 0x804C8110
GetPartMntPath: /HD1
GetLunCount: 1
GetLunNum: 0
GetLunItem: 0x804C8140
GetPartCount: 1
GetLunItem: 0x804C8140
GetPartItem: 0x804C8110
GetPartMntPath: /HD1
GetLunCount: 1
GetLunNum: 0
GetLunItem: 0x804C8140
GetPartCount: 1
GetMediaIsInit:: Media Init is 255
GetActiveMedia:: ActiveMedia is 255
GetMediaIsInit:: Media Init is 255
GetActiveMedia:: ActiveMedia is 255
GetMediaIsInit:: Media Init is 255
GetActiveMedia:: ActiveMedia is 255
GetMediaIsInit:: Media Init is 255
GetActiveMedia:: ActiveMedia is 255
GetMediaIsInit:: Media Init is 255
GetActiveMedia:: ActiveMedia is 255
GetMediaIsInit:: Media Init is 255
GetActiveMedia:: ActiveMedia is 255
GetMediaIsInit:: Media Init is 255
GetActiveMedia:: ActiveMedia is 255
GetMediaIsInit:: Media Init is 255
GetActiveMedia:: ActiveMedia is 255
GetMediaIsInit:: Media Init is 255
GetActiveMedia:: ActiveMedia is 255
GetMediaIsInit:: Media Init is 255
GetActiveMedia:: ActiveMedia is 255
GetMediaIsInit:: Media Init is 255
GetActiveMedia:: ActiveMedia is 255
GetMediaIsInit:: Media Init is 255
GetActiveMedia:: ActiveMedia is 255
GetMediaIsInit:: Media Init is 255
GetActiveMedia:: ActiveMedia is 255
GetMediaIsInit:: Media Init is 255
GetActiveMedia:: ActiveMedia is 255
GetMediaIsInit:: Media Init is 255
GetActiveMedia:: ActiveMedia is 255
SetMediaActive::Init to default value
GetMediaIsInit:: Media Init is 255
GetActiveMedia:: ActiveMedia is 0
LLLLLLLast loop: iCurDevInit = 0, iCurActiveDev = 0
GetActiveMedia:: ActiveMedia is 0
GetActiveMedia:: ActiveMedia is 0
GetActiveMedia:: ActiveMedia is 0
GetActiveMedia:: ActiveMedia is 0
GetActiveMedia:: ActiveMedia is 0
GetActiveMedia:: ActiveMedia is 0
GetLunItem: 0x804C8140
GetPartItem: 0x804C8110
GetPartMntPath: /HD1
pFile is /HD1/SYSTEM/CALENDAR.INI
open file ok!

New[0x806ae8f0]CAppPhoto

LoadApp[adr:0x806ae8f0]...
System::LoadApp( MsgQueID:6 )
System::LoadApp( TASK ID:7 )


LoadApp[adr:0x806ae8f0] successfully

DefAppProcess( 7 )
GetActiveMedia:: ActiveMedia is 0
GetLunItem: 0x804C8140
GetPartItem: 0x804C8110
GetPartMntPath: /HD1
SYS_GetActiveMeida::the path to return is /HD1/.
CPicView :: (0 0) len 480 height 234
iShowModeNum is 2
iShowModeNum is 1
iShowModeNum is 0
*** ___ PLAYRECBASE  BuildDirTravelBase Time::  use  510724 ms ___***

New[0x8078ff90]CMPLAYAPP
StopAppsToFreeResource():


LoadApp[adr:0x8078ff90]...
System::LoadApp( MsgQueID:7 )
System::LoadApp( TASK ID:8 )


LoadApp[adr:0x8078ff90] successfully

DefAppProcess( 8 )
GetLunItem: 0x804C8140
GetPartItem: 0x804C8110
GetPartMntPath: /HD1
pFile is /HD1/SYSTEM/MPF.INF
open file ok!
GetLunItem: 0x804C8140
GetPartItem: 0x804C8110
GetPartMntPath: /HD1
TravelDirFromFile: File read open fail /HD1/SYSTEM/HD1-MP.INI ! will create/scan it
GetLunItem: 0x804C8140
GetPartItem: 0x804C8110
GetPartMntPath: /HD1
MP_BuildDirTravelBase: freesize : 0
GetLunItem: 0x804C8140
GetPartItem: 0x804C8110
GetPartMntPath: /HD1
Travel Base fail! Total file account = 0!
NFE Disk : Job 8 done.

Comments (0)

HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.