??? 11/06/07 11:48 Read: times |
#146667 - first steps Responding to: ???'s previous message |
Yashveer Singh said:
AT89C51ED2 PDIL-40 package is obsolete
AT89C51RD2 - the package doesnt seem to be suitable; also it costs $8.4 a piece(that's not a big problem). A PDIP package would really be great. There are sockets into which a PLCC packaged chip fits and have 2.54mm (100 mil) spacing through-hole pins. Grab one. Alternatively, get P89V51RD2; FLIP's counterpart for that one is called FlashMagic. Yashveer Singh said:
Flip Software tool by Atmel expects a hex file; SDCC generates ihx file. Would this be a problem?? No. It's the same format. You can simply rename .ihx into .hex if you want. Yashveer Singh said:
Alternatively, is there any other free C-compiler that will generate a hex file? I dont expect my code size to be too big! There are "free" demoversions of more commercial compilers (and IDEs), usually space limited. Look for Keil which is "THE '51 standard", but beware, you can't use a too small FLASH chip, as the generated hexfile starts at a certain offset. The 'RD2s are fine, though. Yashveer Singh said:
This looks so much simpler than what i have seen before for AT89S51!!!!
http://www.mytutorialcafe.com/Microcont...089S51.htm What you have shown there are no line drivers, no transistors, nothing!! Beware, the cheap solutions tend to be problematic. There are zillions of desperate posts "does not work for me". It may, but also it may not; and you are most probably not in the situation to be able to debug it in case of problems. If you invest to one of the 'RD2s, a RS232 level convertor (such as MAX232 and similar), a reset IC (! yes, you DO need it, again, it's for to be SURE that it will work - try looking for xx1232, or MCP101, or xx7705) and a decent power source (perhaps based on 7805), you not only have higher chances of getting things working at once, but also a much more powerful chip to start with. $0.02 JW |