Hi guys,

I have an sam7s64-ek board with r1411 of openocd and gdb-6.8. I am using 
arm-elf binutils-2.19, gcc-4.3.3, newlib-1.17.0. I'm new to openocd and gdb so 
if this post doesn't belong to this list. Please kindly point me to the right 
place.

So here's my first question. from gdb, I loaded my elf with "file demo.elf" and 
flash with openocd in gdb with "monitor flash write_address erase demo.elf 
0x00100000. I then tried "run" from gdb and it says "Don't know how to run". 
Did I miss anything?

The second one is a little weird. I tried to verify that "load" in gdb actually 
wrote my image into the flash. So I did "monitor flash erase_address 0x00100000 
0x10000". "x 0x0" shows 0xffffffff. That's a good sign. Then i did "load". "x 
0x0" still shows 0xffffffff. The "load" command didn't seem to do anything.

Any ideas? 

Cheers,

Kelvin Chan               | Positronics Ent.
Product Development       |
                          | unit 272
604-628-9330 (direct)     | 8128 128th St.
604-585-2...@104 (main)   | Surrey, BC
604-585-3056 (fax)        | Canada, V3W 1R1


_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to