Re: [Openocd-development] Flash driver for em357

2011-01-14 Thread Øyvind Harboe
Merged. Thanks! -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40 27 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer ___ Openocd-dev

Re: [Openocd-development] Flash driver for em357

2011-01-11 Thread Øyvind Harboe
> Having said that having something may be better than nothing, it just would > make tweaks to the stm driver easier to maintain. Wouldn't we be doing the ember support a disservice by having it in some untested copy & paste code off the beaten path? -- Øyvind Harboe Can Zylin Consulting help

Re: [Openocd-development] Flash driver for em357

2011-01-11 Thread Spencer Oliver
On 11/01/2011 07:28, Erik Botö wrote: 2011/1/10 Spencer Oliver: On 10/01/2011 20:33, Øyvind Harboe wrote: Is it similar enough that it should share code with stm32x? I have to see excessive duplicate and modify code. Otherwise it looks OK. I thought all these devices were pretty much the s

Re: [Openocd-development] Flash driver for em357

2011-01-10 Thread Erik Botö
2011/1/10 Spencer Oliver : > On 10/01/2011 20:33, Øyvind Harboe wrote: >> >> Is it similar enough that it should share code with stm32x? >> >> I have to see excessive duplicate and modify code. Otherwise >> it looks OK. >> > > I thought all these devices were pretty much the same. > It was a while

Re: [Openocd-development] Flash driver for em357

2011-01-10 Thread Spencer Oliver
On 10/01/2011 20:33, Øyvind Harboe wrote: Is it similar enough that it should share code with stm32x? I have to see excessive duplicate and modify code. Otherwise it looks OK. I thought all these devices were pretty much the same. It was a while ago but i used the stm32x driver to program th

Re: [Openocd-development] Flash driver for em357

2011-01-10 Thread Øyvind Harboe
Is it similar enough that it should share code with stm32x? I have to see excessive duplicate and modify code. Otherwise it looks OK. -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40 27 http://www.zylin.com/zy1000.html ARM7

[Openocd-development] Flash driver for em357

2011-01-10 Thread Erik Botö
Hi, I took the stm32x NOR flash driver and adapted it for the Ember EM357 chip. This chip is very similar to em351 and stm32w so the driver should be easily extended to support those as well if anyone can get their hands on some of those for testing. changelog: Added NOR flash driver em357 Best