bobtransformer wrote:
>--- In lpc2000@yahoogroups.com, "jstamos111" <jstamos111@...> wrote:
>
>
>>Hey guys,
>>
>>This problem has me completely baffled. Hopefully you can help.
>>
>>I have an LPC2106 running on a board of my own design and am using
>>Keil tools to compile the code. Here's my very short code:
>>
>>void main() {
>>PINSEL0 &= 0x00000000;
>>IODIR0 = 0xFFFFFFFF;
>>IOSET0 = 0xFFFFFFFF;
>>while(1);
>>}
>>
>>The problems when I run this code all IO ports turn on except P0.2,
>>P0.3 and P0.26. Any idea why? I tried looking in the
>>
>>
>documentation
>
>
>>but couldn't find anything specific about these ports not working
>>
>>
>for
>
>
>>IO. I thought maybe the problem was what I had the pins connected
>>
>>
>to
>
>
>>(a CPLD) so I made sure to put the connected CPLD pins as inputs
>>
>>
>and
>
>
>>even disconnected one pin completely and still the same problem. I
>>have multiple boards and it does it for at least two of them.
>>
>>Thoughts? I'd appreciate anything since I don't know where to go
>>
>>
>w/
>
>
>>this anymore.
>>
>>Thanks.
>>
>>
>>
>
>This may not have any relevance to your problem, but case in point...
>I had an IO pin on a LPC2102 not working. I think what happened was
>that because my soldering iron was not grounded and I measure 60 VAC
>RMS between soldering iron and scope ground (which I think was
>connected while soldering to that IO pin connection) and I think I
>burned it out. I just switched the software to another IO pin and it
>works now until I can replace the part.
>
>Just be careful of differential voltages of soldering iron and
>grounds. This is not the first time in my life I've had this kind
>of problem.
>
>
>
Maybe it is time to stop purchasing $10 irons from Radio Shack, and get
a used Weller setup from ebay? heh hee. I've used a cheap Weller
tranformer iron for years and haven't damaged any chips, nor worried
about the iron being grounded or not.
Regards,
TomW
--
Tom Walsh - WN3L - Embedded Systems Consultant
http://openhardware.net, http://cyberiansoftware.com
"Windows? No thanks, I have work to do..."
----------------------------------------------------Message
Re: [lpc2000] Re: Broken IO Pins?
2006-05-20 by Tom Walsh
Attachments
- No local attachments were found for this message.