请教一下各位,QCC3005的ptn怎么修改成16M的flash?
用默认的这个ptn下载进去好像flash容量不够:0, 8K, PS, (none) # For PS Store
1, 32K, RO, qcc3005_patch_bundle.xuv # Logical #0 : For DSP & firmware patches #0,1
2, 32K, RO, (erase) # Logical #0 : For DSP & firmware patches #0,2
3, 612K, RO, audio_prompts.xuv # Logical #1 Audio prompts #1,1
4, 612K, RO, (erase) # Logical #1 Audio prompts #1,2
5, 300K, RO, qcc3005.xuv # Logical #2 Main application image and other files. #2,1
6, 300K, RO, (erase) # Logical #2 Main application image and other files. #2,2
7, 8K, RO, sink_system_qcc300x.xuv # Logical #3 PSFS#3,1
8, 8K, RO, (erase) # Logical #3 PSFS #3,2
9, *, RS, (erase)
然后按照网上的资料修改成下面这个ptn,下载进去又出现新的问题:
0, 8K, PS, (none) # For PS Store
1, 32K, RO, qcc3005_patch_bundle.xuv # Logical #0 : For DSP & firmware patches #0,1
2, 32K, RO, (erase) # Logical #0 : For DSP & firmware patches #0,2
3, 128K, RO, audio_prompts.xuv # Logical #1 Audio prompts #1,1
4, 128K, RO, (erase) # Logical #1 Audio prompts #1,2
5, 300K, RO, qcc3005.xuv # Logical #2 Main application image and other files. #2,1
6, 300K, RO, (erase) # Logical #2 Main application image and other files. #2,2
7, 8K, RO, sink_system_qcc300x.xuv # Logical #3 PSFS#3,1
8, 8K, RO, (erase) # Logical #3 PSFS #3,2
9, *, RS, (erase)
lulu7320198 发表于 2019-10-7 11:51
我又改成下面这个PTN就可以下载进去了,但是开不了机
0, 8K, PS, (none) # For PS Store
1, 2K, RO, qc ...
如果你是用這個設定的話,可以試試修改以下內容,看可不可行
qcc3005.psr 裡面的 &25e6 改成 1001 1002 1003 1004 0000
project > General > Target SQIF Partition for VM app to run from改成 3
如果還是不行的話,把上述兩個值修改回預設的,再照文件說明的先用PSTool 去 Merge sink_system_qcc300x.psr 和 QCC3005.psr。
先確保能正常開機,再解決後續的問題嘍
我又改成下面这个PTN就可以下载进去了,但是开不了机:L
0, 8K, PS, (none) # For PS Store
1, 2K, RO, qcc3005_patch_bundle.xuv # Logical #0 : For DSP & firmware patches #0,1
#2, 2K, RO, (erase) # Logical #0 : For DSP & firmware patches #0,2
2, 20K, RO, audio_prompts.xuv # Logical #1 Audio prompts #1,1
#4, 20K, RO, (erase) # Logical #1 Audio prompts #1,2
3, 480K, RO, qcc3005.xuv # Logical #2 Main application image and other files. #2,1
#6, 80K, RO, (erase) # Logical #2 Main application image and other files. #2,2
4, 8K, RO, sink_system_qcc300x.xuv # Logical #3 PSFS#3,1
#5, 8K, RO, (erase) # Logical #3 PSFS #3,2
5, *, RS, (erase)
我是用這樣的配置
0, 8K, PS, (none) # For PS Store
1, 10K, RO, qcc3005_patch_bundle.xuv # Logical #0 : For DSP & firmware patches #0,1
2, 10K, RO, (erase) # Logical #0 : For DSP & firmware patches #0,2
3, 160K, RO, audio_prompts.xuv # Logical #1 Audio prompts #1,1
4, 160K, RO, (erase) # Logical #1 Audio prompts #1,2
5, 300K, RO, qcc3005.xuv # Logical #2 Main application image and other files. #2,1
6, 300K, RO, (erase) # Logical #2 Main application image and other files. #2,2
7, 10K, RO, sink_system_qcc300x.xuv # Logical #3 PSFS#3,1
8, 10K, RO, (erase) # Logical #3 PSFS #3,2
9, *, RS, (erase)
miko 发表于 2019-10-7 13:12
我是用這樣的配置
0, 8K, PS, (none) # For PS Store
用你这个配置也是出现一样的错误欸。。
Program the partition table and data from the file into the flash...
Flash identity: 256 sectors (16 Mbit), man_id=0x00c2, dev_id=0x2535
Attempting to read input file: "qcc3005.ptn"...
==============================================================================
ERROR: Actual size of file (0x000622cc words) is greater than the space reserved (0x0004b000 words) for partition index 5.
==============================================================================
Failed
make: *** Error 1
Finished. lulu7320198 发表于 2019-10-7 13:35
用你这个配置也是出现一样的错误欸。。
a,太奇妙了,我上一個案子就是3005 16M的,用這個設定都是正常OK的。
第一次看到這樣的錯誤...
那用你說可以載進去但開不了機的設定,有修改qcc3005.psr 和 Target SQIF Partition for VM app to run from 的值嗎? miko 发表于 2019-10-7 15:31
a,太奇妙了,我上一個案子就是3005 16M的,用這個設定都是正常OK的。
第一次看到這樣的錯誤...
我用的ADK_QCC300x.WIN.1.0.167安装之后里面默认的psr,其他东西都没动过,只修改了ptn文件。
成功把ptn下载进去会出现下面这个错误:
Program the partition table and data from the file into the flash...
Flash identity: 256 sectors (16 Mbit), man_id=0x00c2, dev_id=0x2535
Attempting to read input file: "qcc3005.ptn"...
......
Success
C:/ADK_QCC300x.WIN.1.0.167/tools/bin/pscli -trans 'SPITRANS=USB SPIPORT=0' cold_reset
pscli, version 2.6.8.1467 Release
Copyright (c) 2001-2017 Qualcomm Technologies International, Ltd.
All Rights Reserved.
Qualcomm Technologies International, Ltd. Confidential and Proprietary.
pscli -trans "SPITRANS=USB SPIPORT=0" cold_reset : concluded with Success
C:/ADK_QCC300x.WIN.1.0.167/tools/bin/pscli -trans 'SPITRANS=USB SPIPORT=0' @usb_vm @hci_onchip -m qcc3005.psr_
pscli, version 2.6.8.1467 Release
Copyright (c) 2001-2017 Qualcomm Technologies International, Ltd.
All Rights Reserved.
Qualcomm Technologies International, Ltd. Confidential and Proprietary.
pscli -trans "SPITRANS=USB SPIPORT=0" @usb_vm @hci_onchip -m qcc3005.psr_ : concluded with Success
Finished.
Initialising execution environment for project 'vm - 'headset_qcc300x''
Connecting...
No application image on chip miko 发表于 2019-10-8 15:31
如果你是用這個設定的話,可以試試修改以下內容,看可不可行
qcc3005.psr 裡面的 &25e6 改成 1001 100 ...
qcc3005.psr改成 1001 1002 1003 1004 0000
project > General > Target SQIF Partition for VM app to run from改成 3
按这个修改了还是报错,不匹配:L:L是不是还有别的地方要改呢?
Program the partition table and data from the file into the flash...
Flash identity: 256 sectors (16 Mbit), man_id=0x00c2, dev_id=0x2535
Attempting to read input file: "qcc3005.ptn"...
....
Success
C:/ADK_QCC300x.WIN.1.0.167/tools/bin/pscli -trans 'SPITRANS=USB SPIPORT=0' cold_reset
pscli, version 2.6.8.1467 Release
Copyright (c) 2001-2017 Qualcomm Technologies International, Ltd.
All Rights Reserved.
Qualcomm Technologies International, Ltd. Confidential and Proprietary.
pscli -trans "SPITRANS=USB SPIPORT=0" cold_reset : concluded with Success
C:/ADK_QCC300x.WIN.1.0.167/tools/bin/pscli -trans 'SPITRANS=USB SPIPORT=0' @bcsp @hci_onchip
pscli, version 2.6.8.1467 Release
Copyright (c) 2001-2017 Qualcomm Technologies International, Ltd.
All Rights Reserved.
Qualcomm Technologies International, Ltd. Confidential and Proprietary.
pscli -trans "SPITRANS=USB SPIPORT=0" @bcsp @hci_onchip : concluded with Success
Finished.
Initialising execution environment for project 'vm - 'headset_qcc300x''
Connecting...
The application image on chip does not match the application on disk.
PTN要根据你实际的语音,系统xuv大小配置,分区的pskey也要与其对应,含erase ota部分可以去掉 Thank you landlord for starting the discussion and sharing the information. This was very useful.:):)
页:
[1]