Koenkk / Z-Stack-firmware

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

Unknown record type: 3 #455

Closed direx1 closed 1 year ago

direx1 commented 1 year ago

Trying to flash CC1352P2_CC2652P_launchpad_router_20221102.hex and get the error Unknown record type: 3. I'm able to flash the coordinator firmware without issue using Flash Programmer 2.

redlingg commented 1 year ago

same here....(sonoff usb stick)

direx1 commented 1 year ago

same here....(sonoff usb stick)

I actually found a closed comment on this (several actually after some searching). The issue is with Flash Programmer 2 but a recommendation was to use ZigStar (multitool). The UI is basic and It's quite buggy and took a few attempts to work. Try everything, like insert and write at same time and I did get it flashed eventually. Make sure you have the correct drivers installed and it's showing the COM port in the UI

aj1322001 commented 1 year ago

what are the "correct drivers" and also im trying to use Zigstar now, and i keep getting "Timeout waiting for ACK/NACK after 'Synch (0x55 0x55)' driving me nuts, this is the first time ive ever tried to flash something and its a ball ache!!!

ok its done, i think maybe i had the device too close to my laptop and it was causing interference?

either way its as you said, eventually it worked with ZigStar!

direx1 commented 1 year ago

what are the "correct drivers" and also im trying to use Zigstar now, and i keep getting "Timeout waiting for ACK/NACK after 'Synch (0x55 0x55)' driving me nuts, this is the first time ive ever tried to flash something and its a ball ache!!!

ok its done, i think maybe i had the device too close to my laptop and it was causing interference?

either way its as you said, eventually it worked with ZigStar!

Like I said it's buggy but eventually works

Merril-r commented 1 year ago

I have the same issue.

Could not get Zigstar to flash

direx1 commented 1 year ago

I have the same issue.

Could not get Zigstar to flash

You need the CP210N driver installed. I found inserting at the exact time of pressing flash eventual worked

Merril-r commented 1 year ago

How do I get that driver? Windows does not install that one when I install the driver

On Thu, Jun 22, 2023 at 10:37 AM direx1 @.***> wrote:

I have the same issue.

Could not get Zigstar to flash

You need the CP210N driver installed. I found inserting at the exact time of pressing flash eventual worked

— Reply to this email directly, view it on GitHub https://github.com/Koenkk/Z-Stack-firmware/issues/455#issuecomment-1602241661, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXZ774IPKYCRBPCUG2C347DXMP757ANCNFSM6AAAAAAZHBAWXE . You are receiving this because you commented.Message ID: @.***>

azsystem commented 1 year ago

How do I get that driver? Windows does not install that one when I install the driver On Thu, Jun 22, 2023 at 10:37 AM direx1 @.> wrote: I have the same issue. Could not get Zigstar to flash You need the CP210N driver installed. I found inserting at the exact time of pressing flash eventual worked — Reply to this email directly, view it on GitHub <#455 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXZ774IPKYCRBPCUG2C347DXMP757ANCNFSM6AAAAAAZHBAWXE . You are receiving this because you commented.Message ID: @.>

https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads

azsystem commented 1 year ago

Same problem here, using the Slae'sh stick. Tried to flash the old firmware, worked fine (CC2652RB_coordinator_20221226), new one gives the error.

Koenkk commented 1 year ago

This is because of a bug in flash programmer 2, use Uniflash (8.1 should do it)

redlingg commented 1 year ago

Uniflash 8.1.0.4135 does not recognize the stick. Zigstar seems to be ok but HA does not recognize as router. With Zigstar I "can flash" any fw but cannot use it HA.

direx1 commented 1 year ago

Uniflash 8.1.0.4135 does not recognize the stick. Zigstar seems to be ok but HA does not recognize as router. With Zigstar I "can flash" any fw but cannot use it HA.

Did you previously use this router as a coordinator and migrate to a different coordinator?

redlingg commented 1 year ago

Uniflash 8.1.0.4135 does not recognize the stick. Zigstar seems to be ok but HA does not recognize as router. With Zigstar I "can flash" any fw but cannot use it HA.

Did you previously use this router as a coordinator and migrate to a different coordinator?

I bought it as used..with the newest router fw flashed. Yes it was used before... but I dont know if it was coordinator or router...

BarryS83 commented 10 months ago

This is because of a bug in flash programmer 2, use Uniflash (8.1 should do it)

Hi @Koenkk , failing to update using Flash Programmer 2. What steps should I follow in Uniflash. As there are several options for connections. I really cannot get it to work. So hope you can provide some instructions. Trying to flash on the Sonoff Zigbee Dongle Plus P.

v1k70rk4 commented 9 months ago

It worked for me by pressing the BOOT button continuously during the flashing process, and it just flashed the firmware smoothly. Though, this is strange because this wasn't necessary with the old firmwares.

markusg1234 commented 6 months ago

I couldn't get Uniflash to work. I Followed these instructions to get it to work with Flash Programmer 2.

https://github.com/Koenkk/Z-Stack-firmware/issues/397#issuecomment-1510412650

.\srec_cat.exe "CC1352P2_CC2652P_launchpad_coordinator_20230507.hex" -intel -o CC1352P2_CC2652P_launchpad_coordinator_20230507.bin -binary