|
From: Stephen H. <ste...@gm...> - 2017-03-17 03:29:18
|
Hello, I am trying to program a CC2538 using an Olimex ARM-USB-TINY-H. I can connect through JTAG, halt the CPU, read and write registers but am unable to program the flash. I have read through the thread https://sourceforge.net/p/openocd/mailman/message/35330344/ and get the same results using the suggested patch from http://openocd.zylin.com/#/c/3719/ It doesn't appear that the CC2538 shares the same ROM API as the CC13xx and CC26xx. The TI CC2538 Foundation Firmware (http://www.ti.com/tool/cc2538-sw) rom header (driverlib/cc2538/source/rom.h) shows a different location and set of functions than those used in the CC26xx flash driver. Is there anyone working on implementing a flash driver for the TI CC2538? If not, this is something that I'd be happy to try and implement. The cc26xx flash driver (http://openocd.zylin.com/#/c/3719/) looks like a good place to start. I can adapt it to the cc2538 using the Foundation Firmware as a guide for how the ROM API and flash should be used. Is this a good approach? Thanks, Stephen Hamer |