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

#2131
Old Topics / Re: Execute Command
September 18, 2003, 08:51:02 AM
:02000005800178

Rx2/66x rev G and later ONLY. This command only performs the reset.

#2132
Old Topics / Re: does overclocking work?
September 18, 2003, 08:47:22 AM
While it may be possible to run the LPC932 above 12MHz, I doubt it will ever be recommended by Philips and I doubt reliability claims would be made by them or anyone else.

#2133
PXA-Gx9 / Re: XA-G49 erase failure
September 16, 2003, 08:16:52 AM
Sorry, there was a hick up with the support email address due to my being ill for a few days. I'll go and retrieve your debug file and take a look.

#2134
Old Topics / Re: 89LPC932: Program EEPROM
September 16, 2003, 08:15:40 AM
See my answer yesterday to the same question in another thread.

#2135
The LPC932 does not support ISP access to the EEPROM. I can think of two solutions, and I'm sure there are more:

1. Write a small program that copies data from Flash to EEPROM. You can then download and execute this before downloading and executing your application code.

2. Write an EEPROM loader that accepts data from the UART (sent using a terminal program) and programs the EEPROM.

#2136
Old Topics / Re: 89LPC932: Program EEPROM
September 15, 2003, 02:48:26 PM
Which device are you using?

#2137
Old Topics / Re: Execute Command
September 15, 2003, 02:45:12 PM
The execute command programs the status byte to zero and then sends a command to ensure the watchdog is turned on. Once the watchdog times out, the device will reset and execute your code.

#2138
PXA-Gx9 / Re: XA-G49 erase failure
September 15, 2003, 02:44:11 PM
How is the new board different than the old board with respect to the XA-G49 connections? Are you using the same crystal frequency? If you are using a lower crystal frequency then you might need to lower the baud rate as well for reliable communications.

Please go through the steps in the app note "what to do if ISP does not work" (available on the Flash Magic web page) and let me know what you find via Email.

Also if you wish, you can Email me both your schematic diagrams in jpg/etc format and I can take a quick look and see if I can spot anything.

Andy

#2139
The only way to access the bit is via a parallel programmer. It does not have a memory address in the device to allow you to read it.

It simply changes the device from the default of 6 clocks/cycle to 12 clocks/cycle. Once set it cannot be unset.

#2140
The smaller LPC devices do not have enough on-chip memory to support ISP so they use an alternative method called ICP. The ICP to ISP bridge is a piece of hardware that converts from ISP into ICP and vice versa, allowing these devices to be programmed by Flash Magic.

The ICP to ISP bridge will be available from Philips.

#2141
Old Topics / Re: P89C51RD2HBP will not program
August 26, 2003, 02:09:46 PM
I'm not sure why the devices would stop working when you switched to 24MHz. What baud rate were you using?

Make sure you have the correct device selected in Flash Magic. The H and non-H parts are not identical and have different Flash Block arrangements.

How long does Flash Magic appear to hang for? On some specific devices, a full erase can take up to 30 seconds. An error when programming at address 0 is usually caused by one of two things - block 0 is not fully erased, or the hex file contains two records that attempt to write to address 0.
 
If the device is a H device then make sure that P2.6 and P2.7 are floating or (preferably) pulled high at reset. If both pins are not floating or pulled high then the device can do strange things. Also odd things can happen if the baud rate is too high. Try 9600 or 19200. Does it make any difference?
 
To debug this problem further I need to see what is going on. Can you please have the engineer perform the following steps:
 
Start Flash Magic
Press F1 so [Debug] appears at the top of the window
Make sure high speed communications and (if possible) half-duplex communications are turned off under the Advanced Options
Attempt a full device erase. Make sure you wait about a minute or so before giving up.
Close Flash Magic
Start Flash Magic
Reset the device
Press F1 so [Debug] appears at the top of the window
Erase each block in the device using the block erase feature (i.e. don't perform a full device erase)
Make sure the Erase All checkbox in section 2 of the main window is erased
Attempt to program the hex file so the error is generated.
Close Flash Magic
Email me the generated debug file C:\flashmagic.fmd
Delete C:\flashmagic.fmd

My Email address is below and you can also reach me at the Email address at the bottom of the Flash Magic web page.

#2142
You said you configured the device for an external oscillator. If this is correct then you must attach a crystal. If you configured the device for an external clock input on XTAL1, then you can apply a clock signal to P3.1. The clock signal must be in the range 0 - 12MHz.

If you made all pins on Port 3 quasi-bidirectional, then that setting will be lost on the next reset. If you have the device configured to use an external clock on P3.1 then the device should configure the pin for you. I'm not sure what effect it will have if your executing code reconfigures the pin.

VSS must be at 0V - you cannot apply a clock signal to it.

#2143
Solder a crystal into space Q1 next to the PLCC socket. Solders the caps into spaces C8 and C9, next to the crystal.

The Keil help file (included with the board but also linked to on the Flash Magic web page) contains the schematic diagram for the board.

#2144
Did you add an external crystal AND the trimming caps to the board? If not then you will need to add them before you can use the device again. It won't work without a crystal...

#2145
Old Topics / Re: FM.exe doesn't support 89C669
August 18, 2003, 08:21:58 AM
That wasn't the right address, but my collegue will forward it to me later today. Thanks.