Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Andy Ayre

Pages: 1 ... 144 145 [146]
Old Topics / Re: Prarllel Programming
« on: April 05, 2003, 03:35:30 pm »
If you should happen to corrupt or erase the ISP code, you can use a commercial parallel programmer to recover the situation. I'm not 100% sure if Philips makes the ISP code available for this purpose - you would have to check with them. If not then your only option is to use a new chip.

Building your own parallel programmer from the spec is not a trivial task, and in engineering time it is far cheaper to buy a parallel programmer.

If you use Flash Magic there is an option in the advanced options section called "Protect ISP". When this option is turned on - which is the default - then Flash Magic stops you from corrupting or erasing the ISP code. For example, it will stop and give you an error message if you try to program a hex file that contains data in the ISP code area. Also when trying to program the Boot Vector, Flash Magic asks you to confirm the operation in a way that is hard to confirm by accident. So this gives you some degree of protection.

We have yet to hear from anyone using Flash Magic who has accidentally erased the ISP code.


Old Topics / Re: Command Line not working
« on: April 02, 2003, 11:26:05 am »
When you run Flash Magic on the command line it performs the operations you request and quits. It has no memory of previous executions of Flash Magic. Therefor when you run Flash Magic you must specify everything you want it to do. For example, try:


This will open the com port, place the device into ISP mode using DTR and RTS and then erase the device, finally closing the com port.

There are two types of directive: Configuration directives and operation directives. Configuration directives configure how Flash Magic should behave and operation directives specify what ISP operations to perform (erasing, programming, etc). If an operation directive is not specified then that operation will not take place. So if you omit the erase directive then no erasing will be performed. However if you do not specific a specific operation directive (COM, etc) then a default configuration is used. These defaults are given in the manual in the description of each directive.

I will consider adding a warning if no operation directives are specified. I think that will be helpful. Currently if you do not use any operation directives then Flash Magic does nothing.

regards, Andy

« on: April 01, 2003, 08:01:32 am »

If you have revision C then you must enable break detect and use that to enter ISP mode. If you have revision E then you can either build the additional hardware to allow Flash Magic to generate the pulses on RST or enable the break detect.

If you want quick and easy generation of code for the UART including enabling the break detect option, check out Code Architect at:

regards, Andy

« on: March 31, 2003, 06:35:24 am »
I cannot find that file on Keil's web site - can you point me to it?
The LPC932 is in-system-programmable as I'm sure you know. So all you need is to build an ISP circuit that matches Keil's MCB900 and use Flash Magic. You can get the Schematic diagram for the MCB900 from here:

Or alternatively buy an MCB900 from your Keil distributor. I believe they are available now.


« on: March 28, 2003, 09:31:58 am »
I'm afraid that information is only given out by Philips. Please contact them at the following location for assistance:

regards, Andy

Old Topics / Welcome to the forum!
« on: March 21, 2003, 10:45:18 am »
Welcome to the Flash Magic and WinISP Discussion forum! We hope this will become a place for Flash Magic and WinISP users to discuss the software, hints and tips, features, etc.
From time to time the Tutors of Embedded Systems Academy will drop by to answers questions.

Post Edited (03-21-03 11:45)

Pages: 1 ... 144 145 [146]