Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QCA7500: Unable to flash firmware: "Failure (0xFF): Device refused request" #178

Open
AndersTrier opened this issue Oct 8, 2023 · 1 comment

Comments

@AndersTrier
Copy link

AndersTrier commented Oct 8, 2023

For some reason, I'm unable to flash my TL-WPA8630P V1 EU with a new firmware. The same command worked for flashing QCA75XX-2.13.0030.nvm, and the device works as it should, but I would like to upgrade the firmware.
Any suggestions on how to make it accept the new firmware? Or how to make boot into bootloader mode so I can try with plcboot?

# plctool -P WPA8630P_V1_EU_2.2.3_unknown_origin.pib -N QCA75XX-2.13.0053.nvm
eth1 00:B0:52:00:00:01 Start Module Write Session
eth1 00:B0:52:00:00:01 Flash WPA8630P_V1_EU_2.2.3_unknown_origin.pib
RESERVED 0x00000000
NUM_OP_DATA 1
MOD_OP 0x11
MOD_OP_DATA_LEN 1423
RESERVED 0x00000000
MODULE_ID 0x7002
MODULE_SUB_ID 0x0000
MODULE_LENGTH 1400
MODULE_OFFSET 0x00000000
MSTATUS 0x0000
ERROR_REC_CODE 0
[...]
eth1 00:B0:52:00:00:01 Flash QCA75XX-2.13.0053.nvm
RESERVED 0x00000000
NUM_OP_DATA 1
MOD_OP 0x11
MOD_OP_DATA_LEN 1423
RESERVED 0x00000000
MODULE_ID 0x7001
MODULE_SUB_ID 0x0000
MODULE_LENGTH 1400
MODULE_OFFSET 0x00000000
MSTATUS 0x0000
ERROR_REC_CODE 0
RESERVED 0x00000000
NUM_OP_DATA 1
MOD_OP 0x00
MOD_OP_DATA_LEN 23
[...]
ERROR_REC_CODE 0
RESERVED 0x00000000
NUM_OP_DATA 1
MOD_OP 0x00
MOD_OP_DATA_LEN 23
RESERVED 0x00000000
MODULE_ID 0x7001
MODULE_SUB_ID 0x0000
MODULE_LENGTH 672
MODULE_OFFSET 0x02A00000
eth1 00:B0:52:00:00:01 Close Session
eth1 00:80:31:08:13:01 Failure (0xFF): Device refused request

If I dump the current PIB using -p, and try to flash with that one instead, I get the same:

# plctool -p dump.pib local
eth1 00:B0:52:00:00:01 Read Module from Memory
# plctool -P dump.pib -N QCA75XX-2.13.0053.nvm
[...]
eth1 00:B0:52:00:00:01 Close Session
eth1 00:80:31:08:13:01 Failure (0xFF): Device refused request
# plctool --version
plctool open-plc-utils-0.0.6 OSRQCA-929 ISO C Qualcomm Atheros, San Jose CA, USA
# plctool -a
eth1 00:B0:52:00:00:01 Fetch Device Attributes
eth1 00:80:31:08:13:01 QCA7500-MAC-QCA7500-2.13.0.30-01-20221117-CS (128mb)
# plctool -I
	PIB 0-0 21384 bytes
	MAC 00:80:31:08:13:01
	DAK 68:9F:07:4B:8B:02:75:A2:71:0B:0B:57:79:AD:16:30 (HomePlugAV)
	NMK 50:D3:E4:93:3F:85:5B:70:40:78:4D:F8:15:AA:8D:B7 (HomePlugAV)
	NID B0:F2:E6:95:66:6B:03
	Security level 0
	NET Qualcomm Atheros Enabled Network
	MFG Qualcomm Atheros HomePlug AV Device
	USR tpver_863111_170511_901
	CCo Auto
	MDU N/A

The pib and nvm files are both from this dropbox folder:
https://www.dropbox.com/sh/hvl9jx1bj82xpne/AACdnHJIMq1ZD9gkHDlB_ykoa?dl=0
pib: QCA_Firmware/QCA75XX/pib_collection/Unknown_Origin/WPA8630P_V1_EU_2.2.3_unknown_origin.pib
nvm: QCA_Firmware/QCA75XX/Firmware/2.13.0/QCA75XX-2.13.0053.nvm

@Uranium2010
Copy link

Uranium2010 commented Oct 21, 2023

Hello,
Same problem with TL-WPA8630P V1 EU, previously flashed with QCA75XX-2.13.0020.nvm and WPA8630P_V1_EU_2.2.3_unknown_origin.pib.

Failure (0xFF): Device refused request

I found a workaround: I updated to QCA75XX-2.13.0053_modules5-6_stripped.nvm with TRENDnet Powerline Utility Version v7.3 Build 0009.

Now it's OK with plctool, i don't know why.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants