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 - Jimmy

#1
LPC9xx/LPC9xxx / Re: Watchdog
April 04, 2006, 11:28:48 PM
Dear Andrew,

Thanks a lot!

Jimmy
#2
LPC9xx/LPC9xxx / Watchdog
April 04, 2006, 06:53:18 AM
Hi all,

I am trying to implement the watchdog function in project using the 89LPC935FA devices. I am also using Flash Magic and MCB900 to program the devices.

Following the sample codes supplied by keil, I tried many times to implement the watchdog to reset the device but I failed.

I refer to the User Manual of the device, I notice that UCFG1 is a factory setting.

In our factory, devices have already been purchased, how can I change this UFCG1 ?

Is there someone who can help me?

Thanks a lot,

Jimmy
#3
LPC9xx/LPC9xxx / Re: P89LPC922, OTP?
November 15, 2005, 12:38:29 PM
Dear Andy,

Thanks for your valuable inputs.

Best Regards,

Jimmy
#4
LPC9xx/LPC9xxx / Re: P89LPC922, OTP?
November 15, 2005, 12:07:53 PM
Dear Andy,

Thanks for your valuable inputs. It suddenly becomes much more clear now.

Even if I am not expert in assembly programming, I see that "FOSC EQU 3" in the start900.a51.   It means that the device is using the internal RC oscillator and I suppose that it is same as the factory setting.

Regarding the pulse timing issue, I can generate very precise pulses with another microcontroller.  Could you kindly tell me what should be the exact timming to generate these three pulses?  Or could you give me the links allowing me to find such information?

Best Regards,

Jimmy
#5
LPC9xx/LPC9xxx / Re: P89LPC922, OTP?
November 15, 2005, 11:04:58 AM
Dear Andy,

Thanks for a so quick reply.

I just use a testing board (max 232 and the device) to evaluate this device.
The configuration is at minimum (no external crystal) and I just use a switch to generate manually (with a big capacitor between reset and GND to cut undesired noises) three pulses to the reset signal after powing up the device.


I downloaded the flash magic utilities and I let it all by default except removing DTR and RTS are disabled. But "Protect ISP code" is enabled.

I just selected the baud rate to 7200 Bauds to follow the recommandation of the Flash Magic utility.

Is there any other configuration to be done?

Thanks so much,

Jimmy
#6
LPC9xx/LPC9xxx / Re: P89LPC922, OTP?
November 15, 2005, 10:43:41 AM
Hi Andy,

Start900.a51 was not configured by myself, it has been created by uVision 2 of the Keil c compiler. Since I have no knowledge with assembly, I have no idea what if the effect of the this file and I just leave it unchanged.

Do you have any idea how to reprogram the device with Flash Magic via RS232?

Thanks.

Jimmy
#7
LPC9xx/LPC9xxx / P89LPC922, OTP?
November 15, 2005, 08:34:42 AM
Hi all,

I am a new user of the Philips 8051 MCU family and I am evaluating the P89LPC922 (DIP20 version). I am evaluating this device without starter kit.  I am using uVision2 from Keil and I have inserted two files in project: LPC_ISP_8K_V02.a51 and Start900.a51

I am also experiencing the same problem. Before writing my code to the device, I could make  a blank check, read the device signature.

After downloading my first program to the device, I am no longer able to do anything.  Each time that "Flash Magic" tries to contact the device, I always got the same message : "Unable to connect.... Reset the hardware in ISP mode again".

I seems that the IPS mode is lost forever.

Is there something wrong?

Thanks so much for your help

Jimmy