Re: [Openocd-development] [PATCH] atmega128: implement EEPROM flashing

2010-01-16 Thread Paul Fertser
Hi, On Sat, Jan 16, 2010 at 12:13:33PM +0300, Paul Fertser wrote: > On Sat, Jan 16, 2010 at 04:44:37PM +0800, simon qian wrote: > > For AVR8 support, there are other problems: > > 1. chips library > > Different AVR chips have different parameters, including Flash Page Size,

Re: [Openocd-development] [PATCH] atmega128: implement EEPROM flashing

2010-01-16 Thread Paul Fertser
On Sat, Jan 16, 2010 at 04:44:37PM +0800, simon qian wrote: > AVR-OCD-Document is verry old, it doesn't support some new > devices. Do you have anything better with JTAG OCD documentation for AVR8? > For AVR8 support, there are other problems: > 1. chips library > Different AVR chips have dif

[Openocd-development] Warning: cross-compilation to windows on Debian is broken

2010-01-14 Thread Paul Fertser
Hi, I want to try to help those poor souls who'll face the same bug trying to use a cross-compiled windows binary made with Debian's mingw. First, do not forget to #include before compling the openocd sources. Second, you need to recompile mingw-runtime due to [1]. The bug hits badly every tim

Re: [Openocd-development] [PATCH] atmega128: implement EEPROM flashing

2010-01-14 Thread Paul Fertser
On Thu, Jan 14, 2010 at 12:16:59AM -0800, David Brownell wrote: > On Wednesday 13 January 2010, ?yvind Harboe wrote: > > Seing that avr is not at the level of an "official feature" I don't have > > a problem with merging this work in progress as it does not affect > > any other code. It can probabl

[Openocd-development] [PATCH] atmega128: implement EEPROM flashing

2010-01-13 Thread Paul Fertser
e65722c80 Mon Sep 17 00:00:00 2001 From: Paul Fertser Date: Wed, 13 Jan 2010 16:22:38 +0300 Subject: [PATCH] atmega128: implement EEPROM flashing This patch implements flashing EEPROM over JTAG, represented as bank 1. Tested on atmega128. Signed-off-by: Paul Fertser --- src/flash/nor/av