??? 07/01/10 22:33 Read: times Msg Score: +1 +1 Informative |
#177042 - You don't *need* to change much Responding to: ???'s previous message |
Anil Sangani said:
1.we need a assembler
to build our programe i am using old asm51 with AT89s52 i can use the same with AT89LP6440?? Almost certainly. The beauty of the 8051-derived micros is that they all share the same instruction set - which means that they can all use the same tools (assemblers, compilers, etc) to generate machine code. The differences are all handled by way of SFRs - which have no effect on code generation. 2.next we observe it in simulater after loading the hex file
i will need a simulator with capable of simulating 2 DPTR , ADC etc other additional features of AT89LP6440. This is where you really do need a tool that specifically supports the particular device; ie, any old "2 DPTR" simulation won't do - it has to be the specific 2-DPTR implementation of the particular device. Similarly, any old "ADC" simulation won't do - it has to be the specific ADC implementation of the particular device. However, do note that the AT89LP6440 has on-chip debug features: AT89LP6440 datasheet said:
24. On-Chip Debug System
The AT89LP6440 On-Chip Debug (OCD) System uses a two-wire serial interface to control program flow; read, modify, and write the system state; and program the nonvolatile memory. The OCD System has the following features: • Complete program flow control • Read-Modify-Write access to all internal SFRs and data memories • Four hardware program address breakpoints, plus four program/data address breakpoints • Unlimited program software breakpoints using BREAK instruction • Break on change in program memory flow • Break on stack overflow/underflow • Break on Watchdog overflow • Break on reset • Non-intrusive operation • Programming of nonvolatile memory http://www.atmel.com/dyn/resou...c3706A.pdf So, rather than mess with the uncertainties of a simulator, it might be better to take advantage of this... i am using old UVI51 at present What is that? 3. next we download the hex file to chip
here i can use ISP cable to my circuit as it is a ISp controler AM I RIGHT?? Yes to summarise if i want to migrate to At89LP6440 what changes should i make
from my old tools ??? Maybe not just the tools - perhaps also your working methods could be brought up-to-date...? |