Flash Magic Forum

In-System Programming Support => LPC2xxx => Topic started by: johan on February 04, 2008, 01:32:24 AM

Title: Flashmagic crashes
Post by: johan on February 04, 2008, 01:32:24 AM
Flashmagic crashes when i use the Display Memory isp feature.

The display memory gets filled with the devices data and then crashes.

This is with an lpc2103

Anyone got someting similar or is it murphy playing here ?

Johan
Title: Re: Flashmagic crashes
Post by: Andy Ayre on February 04, 2008, 07:48:44 AM
Which version are you using?
What is the exact error message?
Does it happen every time or only sometimes?
Which version of Windows?

Andy
Title: Re: Flashmagic crashes
Post by: SeanS on March 24, 2008, 02:04:25 PM
same here. 4.18.1224 production

i'm using an lpc2366, and whenever I try to read the larger sectors (32k) it happens. I slow the speed down and it goes away.

I get a lot of null reference msgbox's before I have to kill it.

Title: Re: Flashmagic crashes
Post by: Andy Ayre on March 24, 2008, 02:10:15 PM
Does it happen every time or only sometimes?
What baudrate are you using that causes the problem?
Which version of Windows?

Andy
Title: Re: Flashmagic crashes
Post by: SeanS on March 24, 2008, 02:36:53 PM
everytime at 57.6k, backing down 38.4 works.  xp v5.1.2600

I'll grab some screenshots if it helps any. I also have the problem of using 'save as..' and it thinks that 0x2ffff is the top of mem, so I have to use lpc2368 to read out that last 64k.
Title: Re: Flashmagic crashes
Post by: Andy Ayre on March 25, 2008, 08:52:38 AM
I will see if I can reproduce these problems.

Andy
Title: Re: Flashmagic crashes
Post by: SeanS on April 02, 2008, 12:34:15 PM
I think I've found another way to break it ... I slow it down to 19.2k and then while it's downloading the sector (before it finished) I grab the slider on the right and scroll it - I get an instant exception.
Title: Re: Flashmagic crashes
Post by: Andy Ayre on April 02, 2008, 12:35:36 PM
Ok, good. I don't have a board that can run at 57600, so I was looking for another way to reproduce the problem. I'll give this a try.

Andy
Title: Re: Flashmagic crashes
Post by: SeanS on April 02, 2008, 12:40:27 PM
sorry, forgot another:
I make sure the sector/mem range drop-down is in focus and use the scroll button on the mouse to move through sectors quickly and I also get the exceptions too.
Title: Re: Flashmagic crashes
Post by: Andy Ayre on April 08, 2008, 10:12:08 AM
Well, I tried to make Flash Magic crash and couldn't. I tried all your methods and it works fine.

I am wondering if your copy of riched32.dll might be corrupted or downgraded by an application you have installed. If you don't have Wordpad installed, try installing it.

I will fix the problem with saving the full address range of the LPC2366. Look for a new release in the next couple of days.

Andy
Title: Re: Flashmagic crashes
Post by: SeanS on April 08, 2008, 10:24:42 AM
ah - good idea. I'll see if that fixes anything.
Title: Re: Flashmagic crashes
Post by: SeanS on April 28, 2008, 12:18:51 PM
the top of flash range problem is now gone w/4.21, thanks again.  I've tried to reinstall/re-reg RICHED20.dll and I still get my errors. For the record, here is the error msg as you requested (I missed that request earlier):


(http://i199.photobucket.com/albums/aa3/EssEssRacing/fm.jpg)
Title: Re: Flashmagic crashes
Post by: Andy Ayre on April 29, 2008, 12:12:40 PM
Can you please email me riched20.dll to support at esacademy dot com. Thanks.

Andy
Title: Re: Flashmagic crashes
Post by: Andy Ayre on April 30, 2008, 11:48:44 AM
The problem was solved by replacing riched20.dll with a copy that is 431,616 bytes in size. If you run into this problem check the size of your Windows\System32\riched20.dll. Note - only replace this file at your own risk.

Andy