Shop OBEX P1 Docs P2 Docs Learn Events
Penguin Extended Memory Reader 2.0 — Parallax Forums

Penguin Extended Memory Reader 2.0

vrossivrossi Posts: 38
edited 2008-12-21 11:05 in Robotics
I have updated my Penguin Extended Memory Reader, which reads upper and lower byte memory given the location.
It can read tilt and stride values in location 21 and other special stored information inside Penguin robot and display the results on the Debug screen.

Since every word is made up of 2 bytes, in this new 2.0 version the starting location is always converted to an odd number, in order to show correctly the Word values.

It also features a more detailed display of memory content for each Word:
- Low Byte location
- High Byte location
- Low Byte value
- High Byte value
- Word value

It can be used to display any BS2 page (from 0 to 7), but it's especially useful to analyze your Penguin's page 7 calibration values.

Hope you may find it useful. You can also download it from the Penguin Web Site: www.p-robot.com/index.php/utilities.html

Post Edited (vrossi) : 8/21/2009 5:51:38 PM GMT

Comments

  • HumanoidoHumanoido Posts: 5,770
    edited 2008-12-21 02:36
    This is a very good addition to an already excellent program.
    Congratulations and thanks for the new add-ons and updates.
    It also addresses the configurations of upper and lower bytes
    and their relationships to words in terms of their EEPROM
    positions. Other than the Basic Stamp Editor help file, are
    there any good "simple" tutorials about upper/lower byte for
    the beginner/novice who is just getting started with stamps
    and programming?

    humanoido
  • vrossivrossi Posts: 38
    edited 2008-12-21 11:05
    Thank you, humanoido.

    Since PBasic is a proprietary language by Parallax, I suppose that the only official documentation is the PBasic 2.2 manual, even if googling on "PBasic tutorial" brings up many other links.

    A good description is contained in the section "Memory Organization and Variables" (page 81 of the printed version).

    However, the BS2 memory organization, in terms of bits, bytes, nibbles and so on, is not so different from many other computer systems, so some good explanations can be found elsewhere.

    I attach a simple image which gives a graphic idea of it (taken from www.tcpipguide.com/free/t_BinaryInformationandRepresentationBitsBytesNibbles-2.htm .

    The BS2 is a 16 bits processor, so its biggest element is a Word.
    679 x 404 - 75K
Sign In or Register to comment.