Re: [Openocd-development] LPC2919 segmentation fault
Hi Rolf, you're the expert here. Let me know when you think the change is ready to go in. -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development
Re: [Openocd-development] LPC2919 segmentation fault
Hi Rolf, Thank you for your patches, I apply them and flash probe 0 is OK now, but I still have problems. /Desktop/my_lpc2919$ telnet localhost Trying ::1... Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. Open On-Chip Debugger flash probe 0 Flash bank 0: Device LPC2919, 768 KiB in 19 sectors flash 'lpc2900' found at 0x2000 flash info 0 Command handler execution failed in procedure 'flash' flash erase_sector 0 0 18 failed erasing sectors 0 to 18 (-907) flash write_image firmware.bin 0x0 wrote 0 bytes from file firmware.bin in 0.071603s (0.000 KiB/s) Mirda ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development
Re: [Openocd-development] LPC2919 segmentation fault
Hi Rolf , Thank you for your help. mdw 0xE100 16 0xe100: 0xe120: Best regards Mirda 2010/11/25 Rolf Meeser rolfm_...@yahoo.de Hi Mirda, --- mirda.d...@gmail.com mirda.d...@gmail.com schrieb am Do, 25.11.2010: When I put flash probe 0 for first time I get Unknown LPC29xx derivative Can you send us a memory dump of 16 bytes at address 0xE100 of the LPC2919? (0xE100...0xE10F) Regards, Rolf ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development
Re: [Openocd-development] LPC2919 segmentation fault
Hi Mirda, --- MIroslav Dušek mirda.d...@gmail.com schrieb am Fr, 26.11.2010: mdw 0xE100 16 0xe100: Ooops, that's a broken device! Looks like it hasn't seen the final production test before shipping... I'll follow up on this by private email. Regards, Rolf ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development
[Openocd-development] LPC2919 segmentation fault
Hi all, I would like to ask for your help. I have a problem. I use olimex board with procesor LPC2919. I am not able to write to the flash. [ code ] 2000 kHz trst_and_srst srst_pulls_trst srst_gates_jtag trst_push_pull srst_open_drain jtag_nsrst_delay: 200 jtag_ntrst_delay: 200 use of EmbeddedICE dbgrq instead of breakpoint for target halt enabled dcc downloads are enabled Info : max TCK change to: 3 kHz Info : clock speed 2000 kHz Info : JTAG tap: lpc2919.cpu tap/device found: 0x0596802b (mfg: 0x015, part: 0x5968, ver: 0x0) Info : Embedded ICE version 6 Info : lpc2919.cpu: hardware has 2 breakpoint/watchpoint units Info : accepting 'telnet' connection from 0 Info : JTAG tap: lpc2919.cpu tap/device found: 0x0596802b (mfg: 0x015, part: 0x5968, ver: 0x0) Warn : srst pulls trst - can not reset into halted mode. Issuing halt after reset. target state: halted target halted in ARM state due to debug-request, current mode: System cpsr: 0x801f pc: 0x2334 Warn : NOTE! Severe performance degradation without working memory enabled. Warn : NOTE! Severe performance degradation without fast memory access enabled. Type 'help fast'. [ /code ] When I put flash probe 0 for first time I get Unknown LPC29xx derivative unknown error when probing flash bank '#0' at 0x2000 for second time : flash 'lpc2900' found at 0x2000 flash erase_sector 0 0 1 I get *** [program] Segmentation fault I am using Ubuntu 10.04 on virtual VMware PC. and openocd version is 0.4.0 Script file : [code] telnet_port gdb_port tcl_port interface ft2232 ft2232_device_desc Olimex OpenOCD JTAG ARM-USB-TINY-H ft2232_layout olimex-jtag ft2232_vid_pid 0x15ba 0x002a jtag_khz 2000 set _CHIPNAME lpc2919 set _ENDIAN little set _CPUTAPID 0x0596802b reset_config trst_and_srst srst_pulls_trst #reset_config trst_and_srst combined # reset delays jtag_nsrst_delay 200 jtag_ntrst_delay 200 set _TARGETNAME [format %s.cpu $_CHIPNAME] jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID # Createthe .cpu target target create $_TARGETNAME arm966e -endian little -chain-position $_TARGETNAME -variant arm966e #flash bank driver base size chip_width bus_width flash bank lpc2900 lpc2900 0x2000 0xC 0 0 $_TARGETNAME 112000 arm7_9 dbgrq enable arm7_9 dcc_downloads enable $_TARGETNAME configure -event reset-init { # Use PLL mww 0x8020 0x0001 # XTAL_OSC_CONTROL: enable, 1-20 MHz mww 0x8070 0x0100 # SYS_CLK_CONF: Crystal mww 0x8028 0x0005 # PLL: (power down) mww 0x8028 0x01060004 # PLL: M=7, 2P=2 (power up) # -- f=112 MHz, fcco=224 MHz sleep 100 mww 0x8070 0x0200 # SYS_CLK_CONF: PLL # Increase JTAG speed jtag_khz 6000 } reset init [/code] I have no problem with flashing LPC2144,LPC2129,LPC2148 Thank you BR Miroslav ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development
Re: [Openocd-development] LPC2919 segmentation fault
Try the openocd master branch. -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development
Re: [Openocd-development] LPC2919 segmentation fault
Hi Mirda, --- mirda.d...@gmail.com mirda.d...@gmail.com schrieb am Do, 25.11.2010: When I put flash probe 0 for first time I get Unknown LPC29xx derivative Can you send us a memory dump of 16 bytes at address 0xE100 of the LPC2919? (0xE100...0xE10F) Regards, Rolf ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development