Main Menu
Menu

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.

Show posts Menu

Messages - Andy Ayre

#2206
Old Topics / Re: detecting the MCU
April 28, 2003, 10:22:36 AM
Please read the Flash Magic application note 4 - available on the Flash Magic web page. Following the steps in that document will help you and me to determine what the problem is.

regards,

#2207
Hi,

Flash Magic only does something if you use one of the "operation" directives. STARTBOOTROM is a "configuration" directive - i.e. it simply configures access to the device.

You did not specify any ISP operations to perform, for example, erase, read security bits, etc. so Flash Magic does nothing as there is no point sending the break condition if you are not going to use the ISP functionality. So normally you would use something like:

FM.EXE COM(1, 9600) DEVICE(P89LPC932, 7.373) STARTBOOTROM(BREAK) READSECURITY

specifying the com port, device, how to get into ISP mode and the actual ISP operations to perform in ISP mode.

If I were convinced that the command line you are using could be useful then I will consider changing the way Flash Magic operates to allow that, but I need to be convinced first.

Andy

#2208
Old Topics / Re: Flash Magic JIT examples
April 14, 2003, 08:35:54 AM
It has been the intention to supply some examples either with Flash Magic or downloadable from the web page, but we haven't had time to create any yet. Hopefully we can add this in the coming months.

Note that we can write a JIT module to your exact requirements/specifications. Send me an Email (address below) with the details and I'll generate a quote.

Andy

#2209
Old Topics / Solving ISP Problems
April 11, 2003, 04:12:42 PM
We have just added Flash Magic Application Note 4, which details steps that can be taken to try and resolve ISP problems. It is available from the bottom of the Flash Magic page.

Andy

#2210
Old Topics / Re: ISP entry with 89lpc932
April 08, 2003, 08:54:56 AM
Roland wrote:

> Hello to all,
> i have read the AppNote 3, but i have still some questions
> relating
> to the MCB900 Schematic and how FlashMagic works with it...
>
> 1) Can someone please explain the cooperation between Flash
> Magic
> and the MCB900 Schematic in more detail?

It is planned to add this to application note 1 at some point in the very near future.

> It looks to me, that a character has to be send to pulse the
> RESET pin... ?
> The functionality is well explained for the /PSEN & RTS method,
> but not for the P89lpc932 RESET & VDD method.

What happens is an inverted character is sent to the RESET pin. DTR and RTS control both the power supply to the device and whether Rxd is inverted and connected to RESET. The inverted character appears as the pulses needed.
 
> 2) Is the 74HCT NOR Device powered by 5 Volts or by 3 Volts?
> The specs tell me that is is an 5 Volt device.

Not sure about this.
 
> 3) Why are the DTR and RTS Signals applied directly (via some
> resistors)
> to the 74HCT02 and not passed through the RS232 converter?

The RTS needs to be inverted, and the RS232 voltage level is already inverted with respect to the TTL voltage levels. The DTR is not passed through the RS232 converter because originally RTS was, and there were no tranceivers left on the RS232 converter.
 
> 4) The Flash Magic Manual tells me, that custom hardware will
> be
> supported at a later date. Is it still true or is the Keil
> Schematic
> the only supported method ?

It is still true, but currently the Keil design is the only one supported. If we were to design our own hardware it would be very similar but remove the need for the jumpers.
 
> Sorry for that many questions.  Please help me ...
>
> Roland
>
>

#2211
Old Topics / Re: Prarllel Programming
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.

Andy

#2212
Old Topics / Re: Command Line not working
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:

FM COM(1, 9600) HARDWARE(ASSERT) ERASE(DEVICE, PROTECTISP)

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

#2213
Old Topics / Re: PARALLEL PROGRAMMING
April 01, 2003, 08:01:32 AM
Pascual,

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:

  http://www.codearchitect.org/philips

regards, Andy

#2214
Old Topics / Re: PARALLEL PROGRAMMING
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:

http://www.keil.com/lpc/me900.chm

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

Andy

#2215
Old Topics / Re: PARALLEL PROGRAMMING
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:

http://tinyurl.com/8cx6

regards, Andy

#2216
Old Topics / Welcome to the forum!
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)