background image

FRAM71B 1.00  0516

Ed. 1.0

Version SW6xx_HW105

User’s Manual

FRAM71B

"Denver 2016"

Содержание FRAM71B

Страница 1: ...FRAM71B 1 00 0516 Ed 1 0 Version SW6xx_HW105 User s Manual FRAM71B Denver 2016 ...

Страница 2: ...al FRAM71B 1 00 2 Hans Brueggemann 2016 Very good said my uncle we will leave that to you Flann O Brien At Swim Two Birds My sincere thanks go to Robert Prosperi Dave Frederickson Sylvain Coté for supporting this project ...

Страница 3: ...HARDCONF_C0_E0000 10 8 2 CN2 4 ENA_SYSRAM_WRT 10 8 3 CN2 3 DIS_HPBUS_WRT 10 8 4 CN2 2 DIS_OUT_wh_CONFIG 11 8 5 CN2 1 SLCT_TOP 1 Mbyte Option FRAM71B 1024 only 11 8 6 J1 ENA_SYSRAM 11 9 Memory Configuration 12 9 1 Configuration Strings 15 9 2 Examples 15 9 3 Maximum Memory 15 9 4 FRAM71B 1024 Example 16 10 A Step by Step Configuration Example 17 10 1 Starting from Scratch 17 10 2 Preliminary Config...

Страница 4: ...P 71Bs 22 11 3 2 Using a HEX Dump and a Serial Interface 23 12 FRAM71B 512K EXT Memory Extension 25 12 1 Jumper CN2 1 SLCT_TOP 25 12 2 Jumpers WRITE ENABLE and CN2 4 ENA_SYSRAM_WRITE 25 13 General Q A 26 14 Current Consumption 28 15 Board Connectors 29 16 Programming Cable for ACTEL FlashPro Programmer 30 17 A Note on FRAM Technology 32 17 1 FRAM Speed 32 17 2 FRAM Access Endurance 32 18 FRAM71B C...

Страница 5: ...s is and without any warranties expressed or implied including but not limited to implied warran ties of fitness for a particular purpose In no event shall the author be liable for any damages whatsoever including without limitation damages for loss of business profits business in terruption loss of business information or other pecuniary loss arising out of the use of or inability to use this sof...

Страница 6: ...atest operating system Refurbish an HP 71B that has defective internal ROM RAM chips Let Take Over software reside parallel to your HP 71B s internal OS Implement new hardware features previously not available on the HP 71B 3 1 What s New SW600_HW105 NEW Bankswitching of 32KB Chips between TOP FRAM and BOT FRAM via configura tion word in C_0x2C000 area NEW Field upgradable to 1024 KB with separate...

Страница 7: ...P 41C Transla tor ROM can t be used if the E0000 feature is enabled Insertion removal of modules must always follow the guidelines as laid out in the HP 71B user manuals 4 3 FRAM71B and the IL Module For the IL Module there is unfortunately no known way of upgrading its 1A ROM by using a 1B ROM image in FRAM71B This is due to the internal structure of the IL Module and the way the HP 71B treats it...

Страница 8: ...perating system SYSRAM A 64 KB FRAM area inside FRAM71B at address F_0x00000 F_0x1FFFF se lected and write protected by jumpers Can either be used instead of SYSROM to hold an alternate operating system or as two Chips for Memory Modules RAM only Mode Only RAM no ROM at address H_0xE0000 configured Soft Configured SC ROM ROM Chip s that get their memory location configured at power on by the HP 71...

Страница 9: ...wo Allen screws until the front bezel of the module is nearly 0 5 mm flush with HP 71B s faceplate 7 Check that the two jumpers on FRAM71B are in their default position 8 Close the Card Reader port 9 Re install the batteries close battery compartment 10 Turn the calculator upside up and press f OFF ON Calculator may wake up with MEMORY LOST Press ON to remove that message 11 Initialize FRAM71B to ...

Страница 10: ...71B will enable write access to F_0x00000 F_0x1FFFF on both TOP and BOT FRAM at the same time regardless of CN2 1 Useful to protect the SYSRAM area of FRAM71B against accidential overwrites The red indicator in the front bezel will be on while this jumper is set During write operations to the SYSRAM area the indicator will flash 8 3 CN2 3 DIS_HPBUS_WRT Disable all writes to the HP 71B bus Default ...

Страница 11: ...ore it s a good idea to manually force the HP 71B into a MEMORY LOST by ON 3 to make sure that these memory portions get cleared 8 5 CN2 1 SLCT_TOP 1 Mbyte Option FRAM71B 1024 only Select TOP FRAM Default not set jumper removed FRAM71B 1024 modules are equipped with another 512 KB of FRAM which is referred to as TOP FRAM On an FRAM71B 1024 this jumper selects F_0x00000 F_0x2FFFF of TOP FRAM if set...

Страница 12: ...E 0xE0000 0xEFFFF RAM ROM F 0xF0000 0xFFFFF RAM ROM Table 1 FRAM71B F_Block and Configuration Locations in BOT FRAM No Chip must be assigned to F_Block 2 F_Blocks are presented to the HP 71B in the form of memory Chips that may represent a memory module on their own or may be clustered into larger memory modules Chips do not have pre defined addresses in FRAM but get assigned to user selected F_Bl...

Страница 13: ...BLOCK 0 Chip_4 2C008 CONF 0 unused 2C009 F_BLOCK 0 Chip_5 2C00A CONF 0 unused 2C00B F_BLOCK 0 Chip_6 2C00C CONF 0 unused 2C00D F_BLOCK 0 Chip_7 2C00E CONF 0 unused 2C00F F_BLOCK 0 Chip_8 2C010 CONF 0 unused 2C011 F_BLOCK 0 Chip_9 2C012 CONF 0 unused 2C013 F_BLOCK 0 Chip_A 2C014 CONF 0 unused 2C015 F_BLOCK 0 Chip_B 2C016 CONF 0 unused 2C017 F_BLOCK 0 Chip_C 2C018 CONF 0 unused 2C019 F_BLOCK 0 Chip_...

Страница 14: ...will vary according to the calculator s memory configuration routine For example if you configure RAM with Chip_0 16 KByte and Chip_1 32 KByte they may have their FRAM base addresses at F_0x30000 and F_x40000 respectively However your HP 71B will configure Chip_0 at H_0x40000 and Chip_1 at H_0x30000 3 PEEK and POKE always work on H addresses 4 Chips that are declared as ROM as well as unused F_Blo...

Страница 15: ...required because FRAM71B has no way to access the MODULE PULL mechanism v The configuration area C_0x2C010 C_0x2C01F is shared with internal experimental registers If the actual memory configuration is less than eight chips PEEK 2C000 32 will return status information of those registers in the last eight nibbles for example 93 94 95 96 00 00 00 00 10 00 10 10 10 10 10 10 These can be safely ignore...

Страница 16: ...arts out with an all RAM configuration B3 B4 B5 93 00 00 PORT 5 00 32 KB TOP RAM for HRDFRTH image will later move to H_0xE0000 PORT 5 01 32 KB TOP RAM for FORTHROM image PORT 5 02 32 KB TOP RAM for MATHROM PORT 5 03 32 KB BOT RAM just RAM Entry B4 is 32 KB although 16 KB would be sufficient to hold the FORTHROM However TOP FRAM doesn t support 16 KB sizes so 32 KB must be used Then the modules ge...

Страница 17: ...HP IL OK 10 2 Preliminary Configuration for Loading the FRAM Enter the following program SERTORAM into your HP 71B It expects from the IL device at address 2 a HEX dump file of 64 KB length which contains 32 KB of ROM data that will be POKED to H_0x30000 H_0X3FFFF Do not run the program yet 05 SERTORAM 10 DIM A 64 20 S 30000 Start of RAM 30 E 3FFFF End of RAM 40 S HTD S 50 E HTD E 60 FOR I S TO E ...

Страница 18: ...es Chip_1 to SC ROM to make it write protected Note that your FORTHROM DMP file may be only 32 KB but SERTORAM expects 64 KB of data Therefore cancel the transmission by pressing ON twice when the data transfer has ceased i e the host has stopped sending further data but SERTORAM is still waiting for input 1 Run SERTORAM and upload FORTHROM DMP to your HP 71B DO NOT SWITCH YOUR HP 71B OFF NOW 2 Re...

Страница 19: ...can now remove the WRITE ENABLE jumper from the memory extender board 4 Power cycle your HP 71B 5 MEM must display 1 x 32 KB 16 KB à approx 48 KB Finally on for some testing of the configuration v VER END LINE shows HP 71 xxxxx HP IL xx FTH 1A EDT 1A KBD B MATH 1A v FORTH ENDLINE shows HP 71 FORTH 1A o 2 SPACE DUP SPACE SPACE END LINE gives 4 OK 0 o Leave FORTH by typing BYE END LINE v SINH 0 END ...

Страница 20: ... 2 for instructions on how to modify the module Soldering skills are required 1 Set jumpers according to the following table Method Select SYSROM Select SYSRAM Modified Module Jumper installed Jumper removed Don t care Table 3 Jumper Settings for SYSRAM SYSROM Select 11 1 Some Precautions v While using the SYSRAM feature another peripheral that uses OD must not be plugged into the HP 71B at the sa...

Страница 21: ...As a protective measure against bus contention FRAM71B s bus drivers have been designed with relatively high output impedances of 1 kΩ In case of both SYS areas accidentially being enabled SYSROM takes precedence over SYSRAM and the calculator will function normally without damage However current consumption will be increased Picture 2 Modified 4 KByte RAM module with connected two pin header Modu...

Страница 22: ...64 32 1 50 X DTH A I 64 60 Y DTH B I 64 70 A PEEK X 64 80 POKE Y A DISP Y 90 NEXT I 100 END After the program has finished FRAM71B s SYSRAM contains the source s OS Now remove CN2 4 to protect the SYSRAM against overwriting Install FRAM71B into the target and install J1 Also set up Port 1 on your HP 71B as per chapter 11 2 Using the SYSRAM Feature Powering on the target and executing VER should no...

Страница 23: ...y in the following download program 10 SERTOSYS SERIAL TO SYS 20 DIM A 64 30 INPUT SYSWRT ENABLED Y N V IF V N THEN GOTO 20 40 DISP START DMP UPLOAD 50 S 00000 60 E 1FFFF 70 S HTD S 80 E HTD E 90 FOR I S TO E STEP 64 100 ENTER 2 A IF I S 64 THEN DISP WRITING 2 82164A 110 I DTH I 120 POKE I A 130 PRINT I A 140 NEXT I 150 DISP DONE BEEP 160 END On the source start uploading of the HEX dump to the ta...

Страница 24: ...FRAM71B User s Manual FRAM71B 1 00 24 Hans Brueggemann 2016 FRAM71B Block Diagram Picture 8 FRAM71B Block diagram Three out of 16 CONF registers shown ...

Страница 25: ...ck 2 of TOP FRAM is selected If not set SYSRAM and F_Block 2 of BOT FRAM is selected Default setting Use this jumper to switch between two different configurations of your HP 71B including different operating systems In order for the FRAM selection to take effect the HP 71B has to be power cycled Regardless of CN2 1 setting all TOP and BOT F_BLOCKs are fully accessi ble by both TOP and BOT configu...

Страница 26: ...y and may lead to permanent read write errors when accessing TOP FRAM Q5 MEM displays less memory than expected and some modules seem to have disap peared from SHOWPORT What gives A three reasons here a Your HP 71 got screwed Do a power cycle b FRAM71B s config interpreter got screwed most likely after a power loss 1 Write down your configuration string C PEEK 2C000 32 2 POKE 2C000 0000 32 zeroes ...

Страница 27: ... 00 00 00 00 00 00 10 00 10 10 10 10 10 10 instead of all zeroes Is there a fault in FRAM71B s memory A No This is normal behavior and only occurs on configurations with less than 8 modules As soon as you have configured more than seven modules all trailing zeroes of the configu ration will be read back as zeroes Q9 The sequence to re initialize FRAM71B after a power loss is quite tedious Is there...

Страница 28: ...even when the calculator is OFF This is required to allow for immediate access to SYSRAM when the calculator is switched ON The average current consumption of a base system plus installed FRAM71B 1024 is approx 46 µA during OFF Hence with a fresh set of high quality batteries installed your HP 71B will sustain approx 54000 hours 6 years in OFF state before waking up with a MEMORY LOST message Pict...

Страница 29: ...FRAM71B User s Manual FRAM71B 1 00 29 Hans Brueggemann 2016 15 Board Connectors Picture 11 Physical Location of FRAM71B Board Connectors GND CD STR B0 B1 B2 B3 DIN IR14 HALT VDD ...

Страница 30: ... and consequently lock up the HP 71B DO NOT USE an HP82066 HP82059 AC adapter or any other AC adapter for that matter v during the upgrade process as leakage currents in those adapters may cause perma nent ESD damage to your FRAM71B and or HP 71B Always take proper ESD protection measures before connecting the programmer to your FRAM71B FRAM71B doesn t supply VJTAG and VPUMP to the JTAG interface ...

Страница 31: ...able s socket A red wire with a single pole connector is connected to pins 3 and 5 Note brown cross connection cable on programmer side which connects pins 2 and 10 Color sequence on left connector from top to bottom is yellow 1 brown 2 gray 3 white 4 dummy no connection fillet only red 5 green 6 orange 7 violet 8 blue 9 and brown 10 again Pin numbers in brackets refer to 10 pin programming header...

Страница 32: ...000 F_0x2C01F Independent RAM RAM that you FREE PORTed Unconfigured FRAM FRAM areas that are not mentioned in the CONFIG area Chips that are configured as ROM 17 1 FRAM Speed Compared to SRAM technology that was available at the time the HP 71B was developed today s FRAM can have much higher read and write speeds However your HP 71B uses fixed memory access timings so there is no speed gain when u...

Страница 33: ...F 2C009 F_BLOCK Chip_5 2C00A CONF 2C00B F_BLOCK Chip_6 2C00C CONF 2C00D F_BLOCK Chip_7 2C00E CONF 2C00F F_BLOCK Chip_8 2C010 CONF 2C011 F_BLOCK Chip_9 2C012 CONF 2C013 F_BLOCK Chip_A 2C014 CONF 2C015 F_BLOCK Chip_B 2C016 CONF 2C017 F_BLOCK Chip_C 2C018 CONF 2C019 F_BLOCK Chip_D 2C01A CONF 2C01B F_BLOCK Chip_E 2C01C CONF 2C01D F_BLOCK Chip_F 2C01E CONF 2C01F F_BLOCK Note Do not use F_Block 2 in BOT...

Отзывы: