Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
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...?


List of 40 messages in thread
TopicAuthorDate
8051 core mc with adc            01/01/70 00:00      
   8051 in PDIP            01/01/70 00:00      
   it's time to give up            01/01/70 00:00      
   AT89LP6440            01/01/70 00:00      
      Only hunt DIL if this is a one-off hobby project            01/01/70 00:00      
      AT89LP6440            01/01/70 00:00      
         if you are worried about the cost ...            01/01/70 00:00      
            why not DIP?            01/01/70 00:00      
               Vcc decoupling can be critical...            01/01/70 00:00      
               SMD is far better than a DIP            01/01/70 00:00      
               oh yes, there is            01/01/70 00:00      
                  dip package            01/01/70 00:00      
                     Most SMD are manually solderable            01/01/70 00:00      
                        agree with Per            01/01/70 00:00      
               One & only advantage of DIP?            01/01/70 00:00      
                  DIP not bad - but not economical or future proof            01/01/70 00:00      
               only in relation to ...            01/01/70 00:00      
         Use ISP programming...            01/01/70 00:00      
            original isp cable            01/01/70 00:00      
               With a simple piece of code...            01/01/70 00:00      
                  onchip debug features            01/01/70 00:00      
                     rather            01/01/70 00:00      
                        AT89LP6440            01/01/70 00:00      
                           You don't *need* to change much            01/01/70 00:00      
                              OCD            01/01/70 00:00      
                                 OCD is (almost) an on-chip ICE            01/01/70 00:00      
                                    OCD            01/01/70 00:00      
                                       That's about it            01/01/70 00:00      
                                          keil            01/01/70 00:00      
                                             if it is PK51            01/01/70 00:00      
                                             See Keil website            01/01/70 00:00      
                                                even if it is not there            01/01/70 00:00      
                                       not quite            01/01/70 00:00      
                                          not quite - nearly            01/01/70 00:00      
                     RE: i will have to study the data sheet            01/01/70 00:00      
            original cable            01/01/70 00:00      
               what does ISP have to do with simulation?            01/01/70 00:00      
                  Nothing - but did he mean "emulator" ?            01/01/70 00:00      
   why noy use some LPC ADC?            01/01/70 00:00      
   8051 core mc with adc            01/01/70 00:00      

Back to Subject List