Forum: Mikrocontroller und Digitale Elektronik Olimex SAM7-EX256, localhost:3333: A connection attempt failed


von Yann B. (yann)


Angehängte Dateien:

Lesenswert?

Hallo,

Mit dem Olimex SAM7-EX256 und dem ARM-USB-TINY-H möchte ich eine led 
blinken lassen. Das Kompilieren scheint gut zu sein, weil die bin-Datei 
erstellt wurde. Aber bei Debugging kriege ich das hier:

source .gdbinit
target remote localhost:3333
localhost:3333: A connection attempt failed because the connected party 
did not properly respond after a period of time, or established 
connection failed because connected host has failed to respond.
monitor reset init
"monitor" command not supported by this target.
monitor arm7_9 force_hw_breakpoints enable
"monitor" command not supported by this target.
monitor arm7_9 fast_memory_access disable
"monitor" command not supported by this target.
symbol-file main.out
monitor flash write_image erase unlock main.bin 0x00100000
"monitor" command not supported by this target.
monitor sleep 100
"monitor" command not supported by this target.
monitor arm7_9 fast_memory_access enable
"monitor" command not supported by this target.
monitor reset halt
"monitor" command not supported by this target.
thbreak main
No hardware breakpoint support in the target.
continue
The program is not being run.

Weisst jmd vielleicht, woran das liegen könnte?
Anbei das Projekt als zip-Datei

von Yann B. (yann)


Lesenswert?

Hallo,

kann jemand mir helfen? Gibt es niemanden, der Erfahrung mit dem 
SAM7-EX256 und OpenOCD hat. Hier unten meine Debug Config:

'Initialize' commands:
target remote localhost:3333
monitor reset init
monitor arm7_9 force_hw_breakpoints enable
monitor arm7_9 fast_memory_access disable
symbol-file main.out
monitor flash write_image erase unlock main.bin 0x00100000
monitor sleep 100
monitor arm7_9 fast_memory_access enable

'Run' commands:
monitor reset halt
thbreak main
continue

Wenn ich OpenOCD starte wird mein Board erkannt aber bei Debugging 
antwortet es nicht und ich weiss nicht warum.

Glaubt ihr vielleicht, dass ein anderes Programm das Port 3333 gerade 
verwendet?

Hilfe bitte Hilfe.

Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.