| Details | Message |
|---|
Read-Only Author chetan RP Posted 13-Aug-2007 10:20 GMT Toolset ARM |  Error related to Firmware download chetan RP Hi there, Iam using GNU compiler alongwith Keil uVision3 IDE for my project. The compilation is fine and Iam also able to download the firmware via ISP. But, iam getting the following errors while Iam trying to download the firmware via JTAG(ULINK2). Please give me your suggestions to debug this problem. Build target 'Target 1' compiling Blinky.c... cc1: warning: -mapcs-stack-check incompatible with -mno-apcs-frame assembling startup.s... linking... creating hex file... "BlinkLED.elf" - 0 Error(s), 0 Warning(s). Load "C:\\Documents and Settings\\spa\\Desktop\\MyTest\\BlinkLED.ELF" Cannot Write to RAM for Flash Algorithms ! Erase Failed!
ULINK -ARM Error:LPC_IAP2_512.FLX CANNOT LOAD FLASH PROGRAMMING ALGORITHM Error:Flash download failed -ARM7TDMI
|
|
Read-Only Author chetan RP Posted 13-Aug-2007 13:04 GMT Toolset ARM |  RE: Error related to Firmware download chetan RP Hi there, I have gone through the following support thread http://www.keil.com/support/docs/2747.htm and found that my configuration is similar. Please kindly suggest me some method to debug this error. Thank-you |
|
Read-Only Author natim rwak Posted 13-Aug-2007 13:31 GMT Toolset ARM |  RE: Error related to Firmware download natim rwak i have same problem with linker but give error 23 give me reson for error and web page of support |
|
Read-Only Author suvidh k Posted 13-Aug-2007 16:09 GMT Toolset ARM |  RE: Error related to Firmware download suvidh k What part number you are trying to program ? |
|
Read-Only Author natim rwak Posted 13-Aug-2007 16:21 GMT Toolset ARM |  RE: Error related to Firmware download natim rwak why part number? is kiel uvision arm with ide? code with linker fails so not complile. give me url now of fix so link works. |
|
Read-Only Author Chetan RP Posted 14-Aug-2007 05:22 GMT Toolset ARM |  RE: Error related to Firmware download Chetan RP Hi there, Iam using NXP's LPC2368 controller. Also, the Flash programming algorithm is as per Keil's support documents.(i.e.LP2000 IAP2 512kB Flash). Yes, Iam using evaluation version Keil uVision3 IDE and installed and enabled the GNU Compiler option in it. Is this error due to the evaluation version Keil uVision3 IDE that Iam using ?????? |
|
Read-Only Author suvidh k Posted 14-Aug-2007 14:13 GMT Toolset ARM |  RE: Error related to Firmware download suvidh k Thats should not be a problem with evaluation version. Try removing all the algorithms and then reload the one you need again. Also try configuring the settings again (sometimes we may have missed a zero in some address :) ). Regards Suvidh |
|
Read-Only Author suvidh k Posted 14-Aug-2007 14:13 GMT Toolset ARM |  RE: Error related to Firmware download suvidh k One more thing Set the frequency for JTAG <= 100Khz. Regards Suvidh |
|
Read-Only Author Chetan RP Posted 16-Aug-2007 05:44 GMT Toolset ARM |  RE: Error related to Firmware download Chetan RP Hi Suvidh, Thank you for your valuable suggestion. I set the JTAG freq. to 100kHz and it's working. The default setting was 1MHz. Can you please tell me as to why the JTAG doesn't work for 1Mhz because the Keil sample project like Blinky works(compiled with Keil's Real View Compiler). Also, can you please suggest me some do's/don'ts while using the Ulink2(JTAG Debugger.) |
|
Read-Only Author suvidh k Posted 16-Aug-2007 14:01 GMT Toolset ARM |  RE: Error related to Firmware download suvidh k The project setting for blinky must be having indeed JTAG clock as < 1Mhz. I had found that it works good and always with 100Khz . For JTAG interface nothing special except that if you are using the debugger then it would be good to turn off the watchdog timer. Regards Suvidh |
|