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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/04/08 10:10
Read: times


 
#155474 - Burning AT89S52 in linux by porting a windows tool
Hi,
I have recently purchased a AT89S52 programmer from a vendor who has also given me an utility that runs on windows and communicates with the programmer board to program the microcontroller via the PC serial port.

The way it works is that the windows programming utility uses its own protocol to communicate with the programmer board and then the firmware on the board(the firmware is burned onto a 2051 chip) converts the commands from my PC into the native programming protocol for the AT89S52 as per the data sheet that ATMEL publishes for the AT89S52 chip.

My problem is, I want to run it over Linux. But my vendor won't even share the source code for the programmer.

So my option is to reverse engineer the windows programming utility and create a port over Linux.

To do this, I figure would be quite simple. Just get a serial port monitor program, use it to eavesdrop on the serial port traffic and then figure out the so called 'proprietary' protocol and implement it in Linux. After all, the programmer board does not concern itself whether the data it is getting is from a program running on windows or Linux.

Now my question is:

Is this legal? I 'own' my PC serial port and so I have a right to see what data is going through it, am I right?

However, would it be legal for me to 'reverse engineer' the 'proprietary' protocol of my vendor and create a Linux port for it?

Any comments/suggestions would be welcome!
Isn't this similar to how OpenOffice.org can open word documents
created using MS Word in windows? I am sure that was NOT illegal to create the OpenOffice suite.

FYI, I also tried using wine on Linux but unfortunately serial port support is not yet enabled in wine.

regards,
Seemanta


List of 33 messages in thread
TopicAuthorDate
Burning AT89S52 in linux by porting a windows tool            01/01/70 00:00      
   Legality?            01/01/70 00:00      
   excerpt from the license agreement...            01/01/70 00:00      
      Why not read Atmel's app notes.            01/01/70 00:00      
      it depends on which words do you want to stress            01/01/70 00:00      
      Protocol            01/01/70 00:00      
         strange admission            01/01/70 00:00      
            it means I am not a lawyer            01/01/70 00:00      
               then why did he not write that            01/01/70 00:00      
                  it's an acronym from the same era ...            01/01/70 00:00      
                     I have never understood ...            01/01/70 00:00      
                        on communication            01/01/70 00:00      
                           my comment was re teenagers, not re Jeff            01/01/70 00:00      
                              Ridiculous            01/01/70 00:00      
                                 the few -or- the many?            01/01/70 00:00      
                                    The few            01/01/70 00:00      
   will 'whine' not do?            01/01/70 00:00      
   VBox?            01/01/70 00:00      
      Did you mean 'wine'?            01/01/70 00:00      
         no, I ment whine            01/01/70 00:00      
            I got that later on from your next post            01/01/70 00:00      
   twen it would not be porting            01/01/70 00:00      
      I have to agree ...            01/01/70 00:00      
         Oft forgotten            01/01/70 00:00      
         Thanks for your encouragement, but            01/01/70 00:00      
            one final comment            01/01/70 00:00      
               Well...It is not a 'usual' programmer            01/01/70 00:00      
      Sharing source code            01/01/70 00:00      
         irrelevant - and not true            01/01/70 00:00      
            I have two updates: and they are happy ones !!            01/01/70 00:00      
               back to the future            01/01/70 00:00      
                  Wow! 2543, I didn't notice THAT....            01/01/70 00:00      
   ABOUT THE PROGRAMING LINUX            01/01/70 00:00      

Back to Subject List