Brandon Fosdick wrote:
> and then downloaded test.hex to the board. Still no joy. The LEDs flash 
> twice and go dark, same as before. So I'm thinking I must have a more 
> fundamental problem somewhere.

It turns out the problem was me. I had the datasheet for the 24LE1 but 
the chip on the dev board is a 24LU1P. Apparently P0DIR is at 0x93 on 
the LE and at 0x94 on the LU. I finally noticed the problem when I 
disassembled the keil output and compared it to the sdcc output. Thanks 
for pointing me at d52.

Oh well, I learned a lot. Thanks for the help.


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Sdcc-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to