找回密码
 立即注册

使用微信账号登录

只需一步,快速开始

查看: 19658|回复: 9

[QCC3系列] 请教一下各位,QCC3005的ptn怎么修改成16M的flash?

[复制链接]
连续签到天数:1天
签到总天数:127天
签到总奖励:869金币
发表于 2019-10-7 11:27:44 | 显示全部楼层 |阅读模式
悬赏10金币已解决
用默认的这个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)


附件: 您需要 登录 才可以下载或查看,没有账号?立即注册

最佳答案

查看完整内容

如果你是用這個設定的話,可以試試修改以下內容,看可不可行 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。 先確保能正常開機,再解決後續的問題嘍 ...
楼主热帖
积分商城 - 让您的金币更有价值!||官方Q群 - 让您的沟通更加及时!
连续签到天数:1天
签到总天数:574天
签到总奖励:4901金币
发表于 2019-10-7 11:27:45 | 显示全部楼层
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。

先確保能正常開機,再解決後續的問題嘍


积分商城 - 让您的金币更有价值!||官方Q群 - 让您的沟通更加及时!
回复

使用道具 举报

连续签到天数:1天
签到总天数:127天
签到总奖励:869金币
 楼主| 发表于 2019-10-7 11:51:44 | 显示全部楼层
我又改成下面这个PTN就可以下载进去了,但是开不了机
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)

积分商城 - 让您的金币更有价值!||官方Q群 - 让您的沟通更加及时!
回复

使用道具 举报

连续签到天数:1天
签到总天数:574天
签到总奖励:4901金币
发表于 2019-10-7 13:12:07 | 显示全部楼层
我是用這樣的配置

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)
积分商城 - 让您的金币更有价值!||官方Q群 - 让您的沟通更加及时!
回复

使用道具 举报

连续签到天数:1天
签到总天数:127天
签到总奖励:869金币
 楼主| 发表于 2019-10-7 13:35:41 | 显示全部楼层
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: *** [flash_sqif] Error 1
Finished.
积分商城 - 让您的金币更有价值!||官方Q群 - 让您的沟通更加及时!
回复

使用道具 举报

连续签到天数:1天
签到总天数:574天
签到总奖励:4901金币
发表于 2019-10-7 15:31:36 | 显示全部楼层
lulu7320198 发表于 2019-10-7 13:35
用你这个配置也是出现一样的错误欸。。

a,太奇妙了,我上一個案子就是3005 16M的,用這個設定都是正常OK的。

第一次看到這樣的錯誤...

那用你說可以載進去但開不了機的設定,有修改qcc3005.psr 和 Target SQIF Partition for VM app to run from 的值嗎?
积分商城 - 让您的金币更有价值!||官方Q群 - 让您的沟通更加及时!
回复

使用道具 举报

连续签到天数:1天
签到总天数:127天
签到总奖励:869金币
 楼主| 发表于 2019-10-7 17:29:17 | 显示全部楼层
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
积分商城 - 让您的金币更有价值!||官方Q群 - 让您的沟通更加及时!
回复

使用道具 举报

连续签到天数:1天
签到总天数:127天
签到总奖励:869金币
 楼主| 发表于 2019-10-8 20:38:35 | 显示全部楼层
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
按这个修改了还是报错,不匹配是不是还有别的地方要改呢?



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.
积分商城 - 让您的金币更有价值!||官方Q群 - 让您的沟通更加及时!
回复

使用道具 举报

连续签到天数:2天
签到总天数:458天
签到总奖励:4604金币
发表于 2019-10-9 08:14:21 | 显示全部楼层
PTN要根据你实际的语音,系统xuv大小配置,分区的pskey也要与其对应,含erase ota部分可以去掉
积分商城 - 让您的金币更有价值!||官方Q群 - 让您的沟通更加及时!
回复

使用道具 举报

连续签到天数:1天
签到总天数:96天
签到总奖励:2116金币
发表于 2021-2-25 21:50:37 | 显示全部楼层
Thank you landlord for starting the discussion and sharing the information. This was very useful.
积分商城 - 让您的金币更有价值!||官方Q群 - 让您的沟通更加及时!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册  

本版积分规则

小黑屋|手机版|我爱蓝牙网 - 52Bluetooth

GMT+8, 2024-4-19 08:32 , Processed in 0.182473 second(s), 21 queries , Gzip On, MemCached On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表