Flash Magic Forum

Archive => Old Topics => Topic started by: raghavendra on August 09, 2004, 10:52:01 AM

Title: Over writing of ISP code
Post by: raghavendra on August 09, 2004, 10:52:01 AM
Hi,

My code has exceeded 0x1c00 and was downloaded. Is it possible that the ISP code is corrupted / over written? ISP code protect is enabled in the Flash Magic. (Erase block used by hex file is enabled).

Any way to get the ISP code itself so that the same can be reloaded? The device is in ISP mode and is responding to ISP commands. (Our code is upto 0x1ce2, so perhaps, it is responding as once it enters the ISP mode, the rest of the code is beyond this address!!??). :puzzled:


Thanks & Regards.
Raghavendra.

Title: Re: Over writing of ISP code
Post by: Andy Ayre on August 09, 2004, 10:54:40 AM
As long as Protect ISP is turned on, Flash Magic removes any data that would overwrite the ISP code. However, if you let your application's execution jump/call into that area, there is no telling what your application might have done to the device.

You say the device is reponding to ISP commands - so I suggest you reduce the size of your program and carry on working.

Title: Re: Over writing of ISP code
Post by: raghavendra on August 09, 2004, 11:56:46 AM
Andy,

Thanks for your prompt reply.
Raghav.