Skip to content.
Sections
Personal tools
You are here: Home » Newton Revenge

Newton Revenge

Document Actions
Goal of this project is to create useful Newton REVerse ENGineering Environment.

Just starting

For a start I plan to write portable Hammer equivalent. Maybye it will be written in Java, maybye not. We will see.

Hammer Commands

These are commands recognized by debugging stub in Newton:

  • Open <0,..>
  • Close <1,...>
  • ReadMemory <2,addr,count>
  • WriteMemory <3,addr,count,data+>
  • ReadARM600Registers <8>
  • WriteARM600Registers <9,data+>
  • Execute <16,...>
  • Info
  • ReadPhysicalMemory <24,add,count>
  • WritePhysicalMemory <24,addr,count,data+>
  • SpecOperation <26,cmd,data+>
    • GetAndClearPreDebuggerPackageInfo <26,0,val,val>
    • SetgWantSerialDebuging <26,1,val,val>
    • ChangePrimaryMappingToPages <26,2,val,val>
    • RestorePrimaryMapping <26,3,...>
    • ChangePageMapping <26,4,...>
    • RestorePageMapping <26,5,...>
  • Stop <27,S,T,O,P>
  • Go <28,...>
  • XOpen
  • DownloadBootLoader
  • ImageCommand
  • Ping <120>

To each command Newton responds with one of these:

  • Pong <121>
  • Result <95,...,status>
  • Error <96,error>
  • Fatal <94,...>
  • ImageCommandDone
  • StopWithStatus <32,...>
  • Reset <127>
  • Inquiry <128>

Hammer link protocol

Hammer commands are transported exactly as Docking protocol frames, that is every frame starts with SYN DLE STX, every DLE in data is followed by another DLE, and at the end of frame is DLE ETX CHECKSUM.

Want more?

I'll describe more when I write first working, command line tool to connect to Newton. Now I'm too busy.

Created by philz
Last modified 2003-08-15 01:03 PM
« July 2008 »
Su Mo Tu We Th Fr Sa
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    
 
 

Powered by Plone