Hi All. Need help with lpc21isp. I have Olimex board LPC-P2378 ,use WinARM and programer notepad. I set lpc21isp on makefile but if try to flash file to MCU then show: lpc21isp -control main.hex com1 38400 12000 lpc21isp version 1.31 File main.hex: loaded... converted to binary format... image size : 2544 Synchronizing. OK Read bootcode version: 3.1.0 Read part ID: unknown (117702437) Program too large; running out of Flash sectors. make: *** [program] Error 4 I now use FlashMagic but I can set it bto flash fiel automatic. Can help with lpc21isp. But is possible to use lpc21isp for LPC23xx???? regards dzairo
Sevc Dominik wrote: > Hi All. > Need help with lpc21isp. > I have Olimex board LPC-P2378 ,use WinARM and programer notepad. > I set lpc21isp on makefile but if try to flash file to MCU then show: > > lpc21isp -control main.hex com1 38400 12000 > lpc21isp version 1.31 > File main.hex: > loaded... > converted to binary format... > image size : 2544 > Synchronizing. OK > Read bootcode version: 3.1.0 > Read part ID: unknown (117702437) I expect the used lpc21isp version is just too old and does not support the LPC2378 (IRC there have also been different IDs for different revision, but no sure). You can get the current lpc21isp source-code from sf.net and build yourself an up-to-date "exe". > Program too large; running out of Flash sectors. > make: *** [program] Error 4 > > I now use FlashMagic but I can set it bto flash fiel automatic. > Can help with lpc21isp. > But is possible to use lpc21isp for LPC23xx???? IRC I have tested this here but can not remember which version of lpc21isp I have used during the tests.
Hi. hmmm its more comlicated for me. may be havesome other user this upgrade for lpc2isp Now I install Keil,IAR,Eclipse and WinARM on PC. Some work with Wingler (H-JTAG), some with Olimex USB-OCD and some with ISP to write program to flash. I have problem with Eclipse . (If buy USB-OCD JTAG then receive CD with full instalation) if start on first then can write program to flash and debug if want but ich stop and want debug again then show error. Variable references empty selection: ${project_loc} and I dont know what is it. On first start Eclipse then I start USB-OCD and console show this : Open On-Chip Debugger 1.0 (2008-10-04-10:00) svn:exported $URL: http://svn.berlios.de/svnroot/repos/openocd/trunk/src/openocd.c $ Info: options.c:50 configuration_output_handler(): jtag_speed: 50, 50 Info: options.c:50 configuration_output_handler(): Open On-Chip Debugger 1.0 (2008-10-04-10:00) svn:exported Info: jtag.c:1389 jtag_examine_chain(): JTAG device found: 0x4f1f0f0f (Manufacturer: 0x787, Part: 0xf1f0, Version: 0x4) Warning: embeddedice.c:185 embeddedice_build_reg_cache(): EmbeddedICE version 7 detected, EmbeddedICE handling might be broken Info: jtag.c:1389 jtag_examine_chain(): JTAG device found: 0x4f1f0f0f (Manufacturer: 0x787, Part: 0xf1f0, Version: 0x4) If start USB-OCD jatag again then show this: Open On-Chip Debugger 1.0 (2008-10-04-10:00) svn:exported $URL: http://svn.berlios.de/svnroot/repos/openocd/trunk/src/openocd.c $ Info: options.c:50 configuration_output_handler(): jtag_speed: 50, 50 Info: options.c:50 configuration_output_handler(): Open On-Chip Debugger 1.0 (2008-10-04-10:00) svn:exported Error: jtag.c:1351 jtag_examine_chain(): JTAG communication failure, check connection, JTAG interface, target power etc. Error: jtag.c:1556 jtag_init_inner(): trying to validate configured JTAG chain anyway... Error: embeddedice.c:191 embeddedice_build_reg_cache(): unknown EmbeddedICE version (comms ctrl: 0x00000000) Error: jtag.c:1351 jtag_examine_chain(): JTAG communication failure, check connection, JTAG interface, target power etc. Error: jtag.c:1556 jtag_init_inner(): trying to validate configured JTAG chain anyway... Solution is Erase flash with Flash Magic and then can find device corect an can first start debug. but no other. . Question for other post: Can any help translate USB serial port (LPC2378) from IAR for WinARM???? , MMC/SD card support too. regards
Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
Log in with Google account
No account? Register here.