Hi guys, I'm trying to upload my code to LPC2146 uC using Wiggler-clone parallel port interface + openocd. It works successfully when code size is below 4096 bytes. If code is longer then openocd (latest ver installed) upload skips to transfer data above 0x1000. I did lot of tests by modifying scripts but no solution yet. Code is compiled by latest WinARM package (20060606). Any suggestion where to look for a error? openocd reports that all is fine: c:\Apps\openocd-2006re100\bin\openocd-pp.exe -d2 -f oocd_flash2146_wig.cfg Info: openocd.c:82 main(): Open On-Chip Debugger (2006-09-28 20:00 CEST) Info: target.c:219 target_init_handler(): executing reset script 'oocd_flash2146.script' Thank you! Linnar
I found a solution: flash erase 0 0 * where * > 0, then it erases next sectors also and is able to write!!! I had 0 in my script and this was reason of failure.
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.