Rick
On Mar 25, 2009, at 7:15 AM, Jonathan Dumaresq wrote:
Hi all,I want to upgrade my revision 645 openocd to the new 0.1.0. I see that manythings have changed.I try to get my setup in the same way I had my last one. I would like to be able to download my application to the flash of the sam7s parts. I Have a256K flash device. Here what I have so far in my cfg. //------------------------ source [find interface/olimex-arm-usb-ocd.cfg] # Change the default telnet port... telnet_port 4444 # GDB connects here gdb_port 3333 # GDB can also flash my flash! gdb_memory_map enable gdb_flash_program enable source [find target/sam7x256.cfg] # AT91SAM7 flash command-"batch" wait_halt arm7_9 dcc_downloads enable armv4_5 core_state arm flash probe 0 #flash erase 0 0 0 #flash protect 0 0 2 off flash write_binary 0 main.bin 0x0 mww 0xfffffd08 0xa5000401 reset shutdown //----------------------------But I got errors on Wait_halt, flash probe 0 and flash write_binary command.They are not reconized. //--------------------------- C:\Documents and Settings\dumarjo\Bureau\test_location_code>openocd Open On-Chip Debugger 0.1.0 (2009-01-21-21:15) Release BUGS? Read http://svn.berlios.de/svnroot/repos/openocd/trunk/BUGS $URL: https://kc8...@svn.berlios.de/svnroot/repos/openocd/tags/openocd 0.1.0/src /openocd.c $ Runtime error, file "openocd.cfg", line 14: Unknown command: wait_halt C:\Documents and Settings\dumarjo\Bureau\test_location_code> //---------------------------- Is there a sample cfg that I can start with ?I can connect to the target with telnet with no problem. I can use the flashinfo 0 to get the falsh status. Regards Jonathan _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development
-- Rick Altherr kc8...@kc8apf.net"He said he hadn't had a byte in three days. I had a short, so I split it with him."
-- Unsigned
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development