Hi,

I have some of this MCUs, after some research seems that openocd doesn't
have a flash driver for this chips, based on ST32 I can init the MCU,
reset, halt, resume, set breakpoints, etc. All of this seems to work.

For the flash driver, I wrote one based on the public datasheet available
on : http://www.sonix.com.tw/list-en-999

I have some doubt about how to contribute the code:

1. Where is the contribution procedure documented, I never contributed to
openocd, and after reading the website, it's not clear for me where to send
the code for review.
2. Actually I only have SN32F700 MCU that is a Cortex-M0 based one, reading
other SONiX datasheets seems that the flash erase/program procedure is a
bit different in each family but very similar, now I wrote all prefixed
with sn32f700_ but could be more flexible to prefix as sonix_ to add
support to other MCUs in the future. In this context I haven't any method
to detect the chip model, I'm asking SONiX about this.

Regards,
Marcos
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to