Thank you Mr Xiaofan, this point was resolved (i setup giveio.bat), So, i progressed in writing my cfg as below :
# #daemon configuration telnet_port 4444 #interface interface parport parport_port 0x378 parport_cable wiggler # jtag_rclk 1000 #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 newtap lpc2212 cpu -irlen 4 -expected-id 0x4F1F0F0F target create lpc2212.cpu arm7tdmi -endian little -chain-position lpc2212.cpu -variant arm7tdmi-s_r4 lpc2212.cpu configure -work-area-phys 0x40000000 lpc2212.cpu configure -work-area-size 0x1000 #flash bank lpc2000 0x0 0x0ffff 0 0 0 lpc2212.cpu 14745 calc_checksum flash bank lpc2212.flash lpc2000 0x0 0x02000 0 0 lpc2212.cpu lpc2000_v1 14745 calc_checksum *C:\Program Files\OpenOCD\0.4.0\bin>openocd.exe -f openocd.cfg* Open On-Chip Debugger 0.4.0 (2010-02-22-19:05) Licensed under GNU GPL v2 For bug reports, read http://openocd.berlios.de/doc/doxygen/bugs.html parport port = 0x378 trst_and_srst srst_pulls_trst srst_gates_jtag trst_push_pull srst_open_drain Error: BUG: unknown bank->size encountered *C:\Program Files\OpenOCD\0.4.0\bin>* There are a syntax error in "flash bank" command, but i didn t know, after many essays where is it exactly and how could i correct it? Could you please help me on this question? Thank you for help. Yours truly. Kamel Mahjoub 2010/9/12 Xiaofan Chen <xiaof...@gmail.com> > On Sun, Sep 12, 2010 at 5:54 PM, Mahjoub Kamel <mahjoubkame...@gmail.com> > wrote: > > I installed openOCD 0.4.0 through the windows installer. > > I m using one LPT wiggler interface to connect to the LPC2212 nxp micro > > > > C:\Program Files\OpenOCD\0.4.0\bin>openocd.exe -f openocd.cfg > > Open On-Chip Debugger 0.4.0 (2010-02-22-19:05) > > Licensed under GNU GPL v2 > > For bug reports, read > > http://openocd.berlios.de/doc/doxygen/bugs.html > > parport port = 0x378 > > shutdown command invoked > > Error: missing privileges for direct i/o > > Command handler execution failed > > I do not have wiggler. But did you install giveio? > C:\Program Files\OpenOCD\0.4.0\drivers\giveio.zip > > BTW, the above one will not work properly under > 64bit Windows. But this is not your problem. > The way to go for 64bit may be to use this one. > http://www.highrez.co.uk/Downloads/InpOut32/default.htm > > -- > Xiaofan >
_______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development