Koenkk/Z-Stack-firmware

Programming new Version failed with TI Flashpr.2

Ledikie opened this issue · 11 comments

Hello,
I'm trying to program the new version "CC1352P2_CC2652P_launchpad_coordinator_20230507.hex" to RFStar module.
But it failed.
When I program the last version "CC1352P2_CC2652P_launchpad_coordinator_20221226.hex" it runs without a problem.
I tried it several time without success. My programmer Texas Smartflash2 with XDS110.

grafik
grafik

I have only the pure board (RFSTAR RF-BM-2652P2 SMA Ant.). The board is connected with 4 wires direct to my Raspi4 for operation. 2 for power supply and 2 for RX/TX.

To do the programming, I soldered 3 additional wires to the board, and connect it to the XDS110.

What I saw is the difference between the size of the 2 files:
CC1352P2_CC2652P_launchpad_coordinator_20230507.hex 498 KB new one
CC1352P2_CC2652P_launchpad_coordinator_20221226.hex 401 KB older one
Maybe this is the reason why I can’t program the new file.

ahd71 commented

Several threads/issues about the same. Try another tool to flash with (I had the same)

Find a solution to program it with TI Flashprogrammer2.
Followed the instructions by this link: #397 (comment)
Changed the file from ....hex into ....bin

I got same error with 2023 firmaware, but 202212 - worked fine.
Smth wrong is with .hex file

Koenkk commented

The TI flash programmer v2 is broken, it doesn't support support the latest .hex files their SDK generate. There is nothing I can fix from the firmware side here. (use TI UniFlash/cc2538-bsl as an alternative).

It worked fine for me using hex2bin.

TI flash program is also broken on newest windows version.

@Koenkk Maybe you can include .bin version of .hex file so it can be flashed with TI 2 programmer software

lux73 commented

come on Guys - just use the mentioned cc2538-bsl.py Script. It works like a charm