hi,
ich wollte jetzt endlich mal meine Olimex Entwicklerplatine mit einem
AT91SAM7S256 ausprobieren. Ich benutze für JTAG einen Wiggler und
OpenOCD. Ich hab mich an die Anleitung gehalten:
http://www.mikrocontroller.net/artic..._programmieren
Meine OpenOCD-Konfiguration:
folgende Ausgabe bekomme ich:Code:#define our ports telnet_port 4444 gdb_port 3333 #commands specific to the Amontec JTAGKey interface parport parport_port 0x378 parport_cable wiggler jtag_speed 0 jtag_nsrst_delay 200 jtag_ntrst_delay 200 #reset_config <signals> [combination] [trst_type] [srst_type] reset_config srst_only srst_pulls_trst #jtag_device <IR length> <IR capture> <IR mask> <IDCODE instruction> jtag_device 4 0x1 0xf 0xe #daemon_startup <'attach'|'reset'> daemon_startup reset #target <type> <endianess> <reset_mode> <jtag#> [variant] target arm7tdmi little run_and_init 0 arm7tdmi_r4 #run_and_halt_time <target#> <time_in_ms> run_and_halt_time 0 30 # commands below are specific to AT91sam7 Flash Programming # --------------------------------------------------------- #target_script specifies the flash programming script file #target_script 0 reset script.ocd #working_area <target#> <address> <size> <'backup'|'nobackup'> working_area 0 0x40000000 0x4000 nobackup #flash bank at91sam7 0 0 0 0 <target#> flash bank at91sam7 0 0 0 0 0
was mich momentan noch wundert ist das "erase state unknown" und dasCode:> flash info 0 #0: at91sam7 at 0x00100000, size 0x00040000, buswidth 4, chipwidth 0 #0: 0x00000000 (0x40000 256kB) erase state unknown, protection state unknown at91sam7 information: Chip is AT91SAM7S256 cidr: 0x270d0940, arch: 0x0070, eproc: ARM7TDMI, version:0x000, flashsize: 0x00040000 master clock(estimated): 19716kHz pagesize: 256, lockbits: 16 0x0002, pages in lock region: 64 securitybit: 0, nvmbits: 0x0
"protection state unknown".
außerdem funktionieren einige befehle einfach nicht - kann mir jemand
sagen warum?
jemand eine idee?Code:> flash erase 0 0 15 Command erase not found > flash write_binary 0 blink.elf Command write_binary not found > flash write 0 blink.elf Command write not found
Danke!
Lesezeichen