Re: [Openocd-development] sam3s flash programming

2011-02-01 Thread Thomas Schmid
I found the problem. My GDB didn't have XML extensions (libexpat) integrated, and thus didn't have a clue about the memory map. It's interesting though that I didn't get any errors. Thanks for all the help! Thomas ___ Openocd-development mailing list Op

Re: [Openocd-development] sam3s flash programming

2011-02-01 Thread Øyvind Harboe
If you try "monitor verify-image " it will print out the first 128 bytes of differences. Could give some clues. -- Ø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 Cort

Re: [Openocd-development] sam3s flash programming

2011-02-01 Thread Thomas Schmid
Didn't know about that command. I always used the openocd commands. This is much easier. However, the compare fails. Here is the GDB output. I attached the corresponding OpenOCD output to this email as it is quiet long. Any suggestions on what went wrong? (gdb) load Loading section .text, size 0x

Re: [Openocd-development] sam3s flash programming

2011-01-31 Thread Øyvind Harboe
Tip: use gdb's "compare-sections" after load to check that flashing worked. -- Ø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 programme

[Openocd-development] sam3s flash programming

2011-01-26 Thread Thomas Schmid
Hey all, Has anyone ever tried to program the flash of an Atmel Sam3s through gdb and openocd? While the gdb 'load' instruction seems to work (i.e., no error) the flash doesn't actually get programmed. After a "soft_reset_halt", the old flash content gets executed. Cheers, - Thomas _