Szanowni forumowicze,
Próbuję swoich sił z ARM, na początek chciałem zaprogramować układ gotowym programem ... Wydaje mi się, że wszystko zrobiłem zgodnie ze sztuką opisaną w instrukcjach dostępnych w internecie ale nijak nie mogę wgrać programu. Zastosowałem chyba wszystkie możliwości, które znalazłem w sieci ... bez rezultatu. Próbowałem różnych zmian w "at91sam7sx.cfg" ale z tym samym marnym wynikiem.
>Procesor AT91SAM7S64
>f=16MHz
>WIN 10
>openocd 0.10.0
>JTAG-lock-pick Tiny 2.0.0
i zrzut z procesu wygląda jak niżej - będę wdzięczny za wszelkie sugestie
Pozdrawiam,
Adaś
----------------------------
d:\openocd\bin-x64\openocd.exe -f d:/openocd/scripts/interface/ftdi/jtag-lock-pick_tiny_2.cfg -f d:/openocd/scripts/target/at91sam7sx.cfg -c "adapter_khz 2000; reset_config trst_and_srst; init; reset init; flash write_image erase d:/2941/main.elf; reset run; shutdown;"
Open On-Chip Debugger 0.10.0
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
srst_only srst_pulls_trst srst_gates_jtag srst_open_drain connect_deassert_srst
Info : auto-selecting first available session transport "jtag". To override use 'transport select <transport>'.
adapter speed: 2000 kHz
trst_and_srst srst_pulls_trst srst_gates_jtag trst_push_pull srst_open_drain connect_deassert_srst
Info : clock speed 2000 kHz
Info : JTAG tap: at91sam7s.cpu tap/device found: 0x3f0f0f0f (mfg: 0x787 (<unknown>), part: 0xf0f0, ver: 0x3)
Info : Embedded ICE version 1
Info : at91sam7s.cpu: hardware has 2 breakpoint/watchpoint units
Info : JTAG tap: at91sam7s.cpu tap/device found: 0x3f0f0f0f (mfg: 0x787 (<unknown>), part: 0xf0f0, ver: 0x3)
target halted in ARM state due to breakpoint, current mode: Supervisor
cpsr: 0xf00000d3 pc: 0x0001e164
Warn : srst pulls trst - can not reset into halted mode. Issuing halt after reset.
requesting target halt and executing a soft reset
target halted in ARM state due to breakpoint, current mode: Supervisor
cpsr: 0xf00000d3 pc: 0x00000000
Warn : NOTE! DCC downloads have not been enabled, defaulting to slow memory writes. Type 'help dcc'.
Warn : NOTE! Severe performance degradation without fast memory access enabled. Type 'help fast'.
auto erase enabled
Warn : no flash bank found for address 0
Warn : no flash bank found for address 6ec4
wrote 0 bytes from file d:/2941/main.elf in 0.031250s (0.000 KiB/s)
Info : JTAG tap: at91sam7s.cpu tap/device found: 0x3f0f0f0f (mfg: 0x787 (<unknown>), part: 0xf0f0, ver: 0x3)
target halted in ARM state due to breakpoint, current mode: Supervisor
cpsr: 0xf00000d3 pc: 0x0001e690
Warn : NOTE! DCC downloads have not been enabled, defaulting to slow memory writes. Type 'help dcc'.
Warn : NOTE! Severe performance degradation without fast memory access enabled. Type 'help fast'.
shutdown command invoked
Próbuję swoich sił z ARM, na początek chciałem zaprogramować układ gotowym programem ... Wydaje mi się, że wszystko zrobiłem zgodnie ze sztuką opisaną w instrukcjach dostępnych w internecie ale nijak nie mogę wgrać programu. Zastosowałem chyba wszystkie możliwości, które znalazłem w sieci ... bez rezultatu. Próbowałem różnych zmian w "at91sam7sx.cfg" ale z tym samym marnym wynikiem.
>Procesor AT91SAM7S64
>f=16MHz
>WIN 10
>openocd 0.10.0
>JTAG-lock-pick Tiny 2.0.0
i zrzut z procesu wygląda jak niżej - będę wdzięczny za wszelkie sugestie
Pozdrawiam,
Adaś
----------------------------
d:\openocd\bin-x64\openocd.exe -f d:/openocd/scripts/interface/ftdi/jtag-lock-pick_tiny_2.cfg -f d:/openocd/scripts/target/at91sam7sx.cfg -c "adapter_khz 2000; reset_config trst_and_srst; init; reset init; flash write_image erase d:/2941/main.elf; reset run; shutdown;"
Open On-Chip Debugger 0.10.0
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
srst_only srst_pulls_trst srst_gates_jtag srst_open_drain connect_deassert_srst
Info : auto-selecting first available session transport "jtag". To override use 'transport select <transport>'.
adapter speed: 2000 kHz
trst_and_srst srst_pulls_trst srst_gates_jtag trst_push_pull srst_open_drain connect_deassert_srst
Info : clock speed 2000 kHz
Info : JTAG tap: at91sam7s.cpu tap/device found: 0x3f0f0f0f (mfg: 0x787 (<unknown>), part: 0xf0f0, ver: 0x3)
Info : Embedded ICE version 1
Info : at91sam7s.cpu: hardware has 2 breakpoint/watchpoint units
Info : JTAG tap: at91sam7s.cpu tap/device found: 0x3f0f0f0f (mfg: 0x787 (<unknown>), part: 0xf0f0, ver: 0x3)
target halted in ARM state due to breakpoint, current mode: Supervisor
cpsr: 0xf00000d3 pc: 0x0001e164
Warn : srst pulls trst - can not reset into halted mode. Issuing halt after reset.
requesting target halt and executing a soft reset
target halted in ARM state due to breakpoint, current mode: Supervisor
cpsr: 0xf00000d3 pc: 0x00000000
Warn : NOTE! DCC downloads have not been enabled, defaulting to slow memory writes. Type 'help dcc'.
Warn : NOTE! Severe performance degradation without fast memory access enabled. Type 'help fast'.
auto erase enabled
Warn : no flash bank found for address 0
Warn : no flash bank found for address 6ec4
wrote 0 bytes from file d:/2941/main.elf in 0.031250s (0.000 KiB/s)
Info : JTAG tap: at91sam7s.cpu tap/device found: 0x3f0f0f0f (mfg: 0x787 (<unknown>), part: 0xf0f0, ver: 0x3)
target halted in ARM state due to breakpoint, current mode: Supervisor
cpsr: 0xf00000d3 pc: 0x0001e690
Warn : NOTE! DCC downloads have not been enabled, defaulting to slow memory writes. Type 'help dcc'.
Warn : NOTE! Severe performance degradation without fast memory access enabled. Type 'help fast'.
shutdown command invoked