Re: [Openocd-development] Atmel AT91SAM9XXX NAND Flash

2010-04-28 Thread Jon Povey
Gary Carlson wrote: I wanted to see if anyone has any experience trying to upload the AT91Bootstrap code into NAND flash for any of the AT91SAM9XXX parts (i.e. AT91SAM9260, AT91SAM9G20, etc.) using OpenOCD? ... At this point, I would be happy if someone has marched down this path before and

Re: [Openocd-development] Reset halt issues with EK-LM3S9B92

2010-04-28 Thread Tobias Ringström
On 04/27/2010 03:38 PM, Øyvind Harboe wrote: Could you attach a patch? Of course, but as I said, I don't know for certain that this is a correct fix or not. I also don't know if it is needed only for certain revisions of the device (= B1). It would be nice if someone with a C1 or C3 rev

[Openocd-development] SEGV and possibly other bugs with nand check_bad_blocks

2010-04-28 Thread Jon Povey
I have a SEGV when trying to use nand check_bad_blocks on a DaVinci DM355 , OpenOCD version cc5f3c85de7632a32f41b435c54b83487a3aa622 and 4-bit infix ECC layout. This is because nand_build_bbt() calls nand_read_page() with NULL, 0 for data pointer and size, the davinci nand code doesn't like

[Openocd-development] [PATCH] Change kb/s to KB/s in messages refering to kibibytes

2010-04-28 Thread Jon Povey
This is my first attempt at sending a patch from git, please let me know if there are any formatting or other problems. Noticed this cosmetic bug so thought I'd fix it. --- src/flash/nand/tcl.c |6 +++--- src/flash/nor/tcl.c |8 src/target/target.c |8 3 files

Re: [Openocd-development] Atmel AT91SAM9XXX NAND Flash

2010-04-28 Thread Gary Carlson
On 4/27/10 11:52 PM, Jon Povey jon.po...@racelogic.co.uk wrote: Gary Carlson wrote: I wanted to see if anyone has any experience trying to upload the AT91Bootstrap code into NAND flash for any of the AT91SAM9XXX parts (i.e. AT91SAM9260, AT91SAM9G20, etc.) using OpenOCD? ... At this

Re: [Openocd-development] [PATCH] Change kb/s to KB/s in messages refering to kibibytes

2010-04-28 Thread Øyvind Harboe
When you post a git patch, you typically get some feedback ;-) I think it would be better to spell out bytes here to avoid confusion with kilo bits... I don't know if there is such a thing as a correct way to write kBytes/s in English. I do believe k should be lowercase? kg = kilogram though...

Re: [Openocd-development] [PATCH] Change kb/s to KB/s in messages refering to kibibytes

2010-04-28 Thread Freddie Chopin
On 2010-04-28 17:05, Øyvind Harboe wrote: I think it would be better to spell out bytes here to avoid confusion with kilo bits... I don't know if there is such a thing as a correct way to write kBytes/s in English. I do believe k should be lowercase? kg = kilogram though... If there isn't a

[Openocd-development] Bugfix for flash write_image

2010-04-28 Thread Øyvind Harboe
Why hasn't anybody complained yet that flash write_image erase will fail for elf images that are not aligned to sectors??? Unlocking is automatically aligned to sectors in this case... I'll be committing this soonish if I don't hear any protests or insights... -- Meet Zylin at ESC 2010 San