| * | | Problem getting the P89LPC907 working Has anyone had any problems with the P89LPC907, I have the software working with the PDS900 on my target pcb but when a programmed chip is placed the micro does nothing, all pins appear open drain.
The device UCFG1 reg is set to 03h for internal osc. |
|
28-7-2004 15:57 Views: 2101 |
mikejenx |
| * | | RE: Problem getting the P89LPC907 working Hi Mike,
One of those really frustrating situations!
I would check that the intended UCFG1 value was picked up by the programmer. This should be set in your project file as it closely defines the behaviour of the chip and with the pins remaining in O/D-mode it sounds as if it is held reset.
I would also suggest a very simple project that just toggles a port pin simply to prove the debug, program, physically test sequence.
Regards,
Graham |
|
28-7-2004 17:24 Views: 2128 |
Support |
| * | | RE: Problem getting the P89LPC907 working The UCFG1 value is picked up in the programmer ok.
Tryed a little programme that just sets port 1 config and writes it low, but this did nothing as well.
However when looking through the the programmer options i noticed the bootvector set to 0ffh, my hex file sets addess 0fff2 and 0fff3 to zero. Once i changed the bootvector value in the programmer to zero the problem fixed itself. |
|
5-8-2004 7:11 Views: 2111 |
mikejenx |
| * | | RE: Problem getting the P89LPC907 working Hi Mike,
If the BootVector was set to FFh and the BSB bit was set then you would have a ''deadly'' embrace situation where at reset the device will execute at FF00h which then performs a software reset (back to FF00h).
We will check the programmer behaviour as it is intended to pick up these values from your hex file. Thanks for letting us know.
Best regards,
Graham
|
|
8-8-2004 18:54 Views: 2082 |
Support |