Koenkk / Z-Stack-firmware

Compilation instructions and hex files for Z-Stack firmwares
MIT License
2.35k stars 645 forks source link

Unknown Record Type 3 Error #495

Closed AngeloAna closed 6 months ago

AngeloAna commented 7 months ago

I am trying to flash a Sonoff Zigbee Dongle P that I just purchased using the TI SmartRF Flash Programmer 2. It keeps failing with the following errors:

Initiate access to target: COM3 using 2-pin cJTAG. Reading file: C:/Users/Angelo/Downloads/CC1352P2_CC2652P_launchpad_coordinator_20230507/CC1352P2_CC2652P_launchpad_coordinator_20230507.hex. Unknown record type: 3. Reset target ... Reset of target successful.

AngeloAna commented 7 months ago

Picture of settings:

image

AngeloAna commented 6 months ago

A quick update for those having the same issue. I used the python method to update the firmware and was able to get it to work. It was significantly harder to do it this way but I am glad it worked.

kevincaradant commented 2 months ago

Hi

In fact it's because this software supoport only .bin format and not .hex. Just found a converter on internet (https://hexed.it/) and it will work. I got this issue today and fix it like that ;)

To convert it from the link

Click on "ouvrir" and load your .hex file After, you just need to click on "enregistrer sous" and it will be export as .bin file