Open Caian opened 3 years ago
That's an odd place for it to error out. What I'm suspecting is that you're writing to a memory address that the chip is not very happy with and then stops responding. Does your firmware work if you flash it via jtag?
Yes, I've managed to find a custom build of OpenOCD that flashes and verifies it just fine. I've also tried to reduce the baud to 9600 with no success.
I tested basic stuff in the program, like simple IO and UART, but I can't fully confirm that the flash was a success because it was meant to be used with a developer board.
I now get exactly the same unfortunately (with the default baudrate) but it worked once i used the lower one
I'm having the following error when trying to flash z-stack examples that I compiled using IAR:
On the other hand, firmwares that I find online, like this one: https://github.com/jethome-ru/zigbee-firmware flash just fine. I've tried
cc2538-bsl.py -p /dev/serial0 -w <firmware>
andcc2538-bsl.py -p /dev/serial0 -e -v -w <firmware>
with both raw binaries and intel hex. The result is always the same.I'm using a cheap cc2538 + cc2592 board that I wired to a raspberry pi and I'm using openocd to reset it back to bootloader mode.