hallo, ich habe ein problem mit openocd :-( also mein makefile hat eine main.bin erstellt. #daemon configuration telnet_port 4444 gdb_port 3333 #interface interface parport parport_port 0x378 parport_cable wiggler jtag_speed 0 #use combined on interfaces or targets that can't set TRST/SRST separately reset_config trst_and_srst srst_pulls_trst #jtag scan chain #format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE) jtag_device 4 0x1 0xf 0xe jtag_nsrst_delay 333 jtag_ntrst_delay 333 #target <type> <startup mode> #target arm7tdmi <reset mode> <chainpos> <endianness> <variant> target arm7tdmi little run_and_init 0 arm7tdmi-s_r4 run_and_halt_time 0 30 #target configuration daemon_startup reset # flash-options LPC2148 target_script 0 reset openocd_lpc2148_flash.script working_area 0 0x40000000 0x4000 nobackup #working_area 0 0x40000000 0x40000 nobackup # LPC2148 @ 12MHz / 0x7D000 from 500*1024 (not 512!) #flash bank lpc2000 0x0 0x7D000 0 0 lpc2000_v2 0 12000 calc_checksum #flash bank lpc2000 0x0 0x7d000 0 0 lpc2000_v2 0 14765 calc_checksum flash bank lpc2000 0x0 0x7D000 0 0 lpc2000_v2 0 12000 calc_checksum # For more information about the configuration files, take a look at: # http://openfacts.berlios.de/index-en.phtml?title=Open+On-Chip+Debugger und mein openocd_lpc2148_flash.script # # The following command wills be executed on # reset (because of run_and_init in the config-file) # - wait for target halt # - erase memory # - flash content of file main.bin into target-memory # - shutdown openocd # # created by Martin Thomas # http://www.siwawi.arubi.uni-kl.de/avr_projects/arm_projects # based on information from Dominic Rath # arm7_9 dcc_downloads enable wait_halt sleep 10 poll flash probe 0 flash erase 0 0 0 flash write 0 main.bin 0x0 reset run sleep 10 shutdown ich benutze als compiler winarm. wenn ihr noch mehr infos braucht, dann sagt bitte bescheid. mfg world
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
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.