Hi Marcos!

On Thu, Jun 13, 2019 at 05:39:59PM +0200, Marcos Lois Bermúdez wrote:
> For the flash driver, I wrote one based on the public datasheet available on
> : [1]http://www.sonix.com.tw/list-en-999

Nice, so the docs are public, that's good.

> 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.

Just read the HACKING document in the sources, it should give all the
instructions. If something there is unclear, please complain so this
can be fixed.

> 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.

Very reasonable, you're thinking in the right direction AFAICT.

Thank you in advance!

-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercer...@gmail.com


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

Reply via email to