home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / hp48 / 7423 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  19.9 KB

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!hal.com!olivea!charnel!sifon!newsflash.concordia.ca!mizar.cc.umanitoba.ca!access.usask.ca!dvinci!getz
  2. From: getz@dvinci.USask.Ca (Robin Getz)
  3. Newsgroups: comp.sys.hp48
  4. Subject: RAM Cards
  5. Message-ID: <1k4utqINNkph@access.usask.ca>
  6. Date: 27 Jan 93 03:18:18 GMT
  7. Organization: University of Saskatchewan
  8. Lines: 403
  9. NNTP-Posting-Host: dvinci.usask.ca
  10. X-Newsreader: TIN [version 1.1 PL6]
  11.  
  12.  
  13. After Joe Horn posted a note that I made about Smith Corrona RAM cards into
  14. his goodies disk I have been recieving mail asking me about what I had
  15. done.  Here is a note about the RAM cards, by Allan Petersen, describing
  16. in much more detail what I have done.
  17.  
  18. ------------------------------------
  19.  
  20. From en.ecn.purdue.edu!noose.ecn.purdue.edu!samsung!think.com!mintaka!bloom-beacon!eru!hagbard!sunic!dkuug!dde!dde!ap 20 Feb 91 09:55:47 GMT
  21. Path: en.ecn.purdue.edu!noose.ecn.purdue.edu!samsung!think.com!mintaka!bloom-beacon!eru!hagbard!sunic!dkuug!dde!dde!ap
  22. From: ap@dde.uucp (Allan P. Petersen)
  23. Newsgroups: comp.sys.handhelds
  24. Subject: HP48: Epson RAM card surgery [long]
  25. Keywords: RAM card, Epson, CMT
  26. Message-ID: <155@caspian.dde.uucp>
  27. Date: 20 Feb 91 09:55:47 GMT
  28. Organization: Dansk Data Elektronik A/S, Herlev, Denmark
  29. Lines: 378
  30.  
  31. Epson RAM card surgery ...  or:  All about RAM cards.
  32. ------------------------------------------------------------
  33.                 by   Allan Petersen
  34.                 Dansk Data Elektronik A/S,   Copenhagen
  35. ------------------------------------------------------------
  36.  
  37. Shortly after  the introduction of the HP48sx it was mentioned here
  38. on c.s.h. that Epson RAM cards possibly could be used in the 48 and
  39. that  HP RAM cards in fact were custom versions of Epson cards.  It
  40. was later pointed out that the standard Epson RAM cards should  not
  41. be  used  in  the 48 because of different electrical specifications
  42. than the HP custom version.
  43.  
  44. [ this is definately true - I know of one person who sent their
  45. calc in for "warranty" work after using an unmodied Epson RAM 
  46. card in the '48 - robin ] 
  47.  
  48. I followed this discussion with interest and later when  I  got  my
  49. 48sx,  I  looked  for further info on the specs of Epson cards.  I 
  50. found some specs and studied them carefully;  recently I  found  a 
  51. supplier of cards and asked for prices and delivery times.
  52.  
  53. I  have now got a RAM card,  have made some tests on it,  and have 
  54. made some comparisons to the CMT RAM card and the HP Eq.  Lib. card
  55. (as mentioned recently by a colleague of mine Arne Christensen here
  56. at DDE).
  57.  
  58. Here I will describe the test results; but first the prices:
  59.  
  60. [ note date of Feb 91 - I am not sure if prices are current - r ]
  61.  
  62. In Denmark the price of the 32k Epson RAM card is 72 $ and the 128k
  63. Epson  card  is  157  $.  Both  prices  are  based on single piece 
  64. quantities and are excl. sales tax.
  65. These  prices  more  or  less  correspond to the EduCalc prices of 
  66. HP/CMT cards but as the 32k/128k Epson card cost  respectively  81%
  67. and 56% of the 32k/128k HP card here in Denmark, I would expect the
  68. Epson cards to be slightly cheaper in the States than the mentioned
  69. prices from here.
  70. However  from  a  cost point of view there is not much to hope for,
  71. the best advice seems to be: Buy from EduCalc.
  72.  
  73. Well, being of a curious mind, I could not resist the challenge and
  74. finally got a 32k Seiko-Epson RAM card (type  no.  RBC032IE10,  the
  75. 128k  card  is  called RBC128IE10) hoping to be able to change the 
  76. voltage detect level and/or add some extra RAM chips to  the  card.
  77. Other types (OTP EPROM/EEPROM/Flash EEPROM/MASK) are also available
  78. from Seiko-Epson.
  79.  
  80. It was indeed somewhat of a challenge but so far I have managed  to
  81. change  the detection level,  which I will describe to you a little
  82. later; first concerning the specs:
  83.  
  84. I can in every respect confirm that every piece of  information  on
  85. the  HP  cards given here by Jim Dickie,  Steve Harper and Preston 
  86. Brown  (all  from  HP  Corvallis)   is   in   fact   correct   and 
  87. considered:        
  88.  
  89. I  have  found  that the standard Epson RAM card that I have clamps
  90. the address and control lines to ground until  the  supply  voltage
  91. reaches 4.20 volts and again clamps the lines when the voltage goes
  92. lower than 4.15 volts.
  93. The data lines are not clamped. 
  94. These  measurements were made with the card inserted in an original
  95. Seiko-Epson card socket,  not the 48.
  96.  
  97. The  voltage supplied from my 48 to the card is 4.24 volts when the
  98. 48 is  running  programs  (battery  midt-life  or  so,  version  E 
  99. calculator).
  100.  
  101. This  means  that  there is typically  a  chance that the card will 
  102. work if inserted, but the margin is very limited. As earlier stated
  103. here the powersupply of the 48 is stabilized and not very dependent
  104. of battery state; however when the batteries become almost empty at
  105. some  point  the  stabilizer wil not be able to sustain the needed 
  106. voltage and the RAM card will clamp its inputs long before  the  48
  107. stops  operating.  This  has a very high chance of causing a memory
  108. lost (or something worse...) as the clamps are rather effective: On
  109. my  card it takes about 10 mA per line to pull the line to 0,4 volt
  110. and 25 mA to pull to 1 volt.  This corresponds  to  about  40  ohm 
  111. on-resistance,  which  makes  me  guess  that  the controller uses 
  112. on-biased MOSFETs on the inputs in the clamp-state.
  113.  
  114. There is no way the 48 will be able to pull-up all  these  lines,  
  115. therefore:  DO NOT USE A STANDARD EPSON RAM CARD IN YOUR HP48 !!
  116. It may work for a time, but you are on very, very thin ice here !
  117.  
  118. The only way to safely use an otherwise standard Epson RAM card  is
  119. to change the clamp voltage detect level on the card and at the end
  120. of this article I will describe how to do this;  but if you do  not
  121. feel  absolutely  sure  of  what  you  are doing,  I will strongly 
  122. recommend that you order a HP card from eg.  EduCalc (I can  highly
  123. recommend EduCalc for their excellent service,  I speak of personal
  124. experience). The cost saving - if any - on changing a standard card
  125. is  not  worth  the change of a possibly damaged card - or damaged 
  126. calculator :-).
  127.  
  128. BTW:  No,  I have no connection in any way to HP,  I just happen to
  129.       love their products and quality!
  130.  
  131. Some more specifications:
  132.  
  133. The  card  has  of  course the same mechanical dimensions as the HP 
  134. card,  although  it has no plastic handle to help in  removing  the
  135. card  from  the calculator,  it has 40 pin connections on a contact
  136. pitch of 1.27 mm,  pattern width 0.8  mm,  pattern  gap  0.47  mm,  
  137. contacts have min.  0.3 micrometer gold over min.  5 micrometer Ni,
  138. and the shutter mechanism is guaranteed for 10,000 insertions.  The
  139. front  and  rear  are covered  by stainless steel panels to protect 
  140. against statics, noise and shock. The card and connector are keyed,
  141. preventing incorrect insertion.
  142. The data interface is 8 bits wide. 
  143.  
  144. I  have  made some measurements of current consumption,  but I will
  145. not give you any figures,  as there is often a factor of up to  100
  146. between the max. RAM chip current over temp and the typical current
  147. at room temp and it is in fact this current that  will  decide  the
  148. lifetime  of the back-up battery;  the current consumed by the card
  149. at 4.4 volt (or other voltage) from the  calculator  is  irrelevant
  150. from a back-up point of view,  although it in some cases may have a
  151. small influence on the lifetime of the batteries in the  calculator
  152. itself.
  153.  
  154. The main part of the card's standby current consumption from the 48
  155. is probably caused by the controller chip (gate array) in the Epson
  156. card;  the standby current is specified as max.  1.15  mA,  but  a 
  157. current this high is NOT taken from the back-up battery when the 48
  158. is off.  Only the RAM chip data retention current and a very  small
  159. current  for  the  controller to keep its clamps on-biased is taken
  160. from the Lithium battery.
  161.  
  162. The CMT card is claimed to use much less than the 1.15 mA, which is
  163. very  likely,  as  the CMT card is probably designed using standard
  164. CMOS chips, but this difference does not need to have much relation
  165. to the actual back-up currents from the Lithium battery.
  166.  
  167. I agree that the Epson card controller will consume a small current
  168. to keep the clamp MOSFETs on and to bias the  gatearray,  but  this
  169. should not be that significant.
  170.  
  171. The standard Epson card is specified for  a  typ.  data  retention 
  172. periode of 4 years at room temp.
  173.  
  174. When you look down at the gold contacts and hold the battery end of
  175. card away from you, the leftmost pin is pin number one.
  176.  
  177. The pin connections are:
  178.  
  179. PIN:   Signal:                    PIN:   Signal:
  180. 1      Power supply input         21     Card enable (active HIGH)
  181. 2      Batt. out/ EPROM Vpp       22     Output enable (active low)
  182. 3      Addr. 0                    23     Data 0
  183. 4      Addr. 1                    24     Data 1
  184. 5      Addr. 2                    25     Data 2
  185. 6      Addr. 3                    26     Data 3
  186. 7      Addr. 4                    27     Data 4
  187. 8      Addr. 5                    28     Data 5
  188. 9      Addr. 6                    29     Data 6
  189. 10     Addr. 7                    30     Data 7
  190. 11     Addr. 8                    31     nc     How are these
  191. 12     Addr. 9                    32     nc     lines connected
  192. 13     Addr. 10                   33     nc     in the 48?
  193. 14     Addr. 11                   34     nc     Could really be 
  194. 15     Addr. 12                   35     nc     nice to have   
  195. 16     Addr. 13                   36     nc     waitrequest here!!
  196. 17     Addr. 14                   37     Write prot. out (act low)
  197. 18     Addr. 15                   38     Card present out(act high)
  198. 19     Addr. 16                   39     Device type (low for RAM)
  199. 20     Write enable (active low)  40     Ground 
  200.    
  201. It  can  be  seen  that the card enable signal is active high;  on 
  202. standard EPROMs the enable signal is active low,  so if you try  to
  203. make  an  adaptor for an EPROM programmer,  you need to invert this
  204. signal in your adaptor.
  205.  
  206. Some signal lines are used to indicate card present,  writeprotect,
  207. and ROM/RAM type.  If the writeprotect switch on the card is set to
  208. protect position,  the 48 will not be able to change the card data,
  209. not even in a memory lost/lock-up situation.
  210.  
  211. The card battery voltage is measured via a 1M resistor.
  212.  
  213. And now to the exciting part:    OPENING THE CARD.
  214.    
  215. Remove the battery and use a scalpel to very carefully lift and cut
  216. loose the stainless steel  panel  on  the  upper  side  (the  side 
  217. opposite  to  the  side  where  the  contacts  and the shutter are 
  218. located). Be careful not to damage the inside of the card - or your
  219. fingers :-).
  220.  
  221. Near  one  edge  by  the  battery  there is a metal spring used to 
  222. connect the two steel panels to keep them at  the  same  electrical
  223. potential.  You  will probably damage this spring when you open the
  224. card (so did I).  You must remember to put in a new spring when you
  225. assemble  the  card  again (I used a piece of conductive rubber) in
  226. order to keep the protection against statics.  Also be careful  not
  227. to  damage  the springs for the shutter mechanism;  put a piece of 
  228. tape over them until you assemble the card again.
  229.  
  230. When you have removed the panel, you will (on the 32k card) see the
  231. following:
  232.  
  233. A position for a 2016 Lithium battery (coin cell, not supplied with
  234. the card) and close to this the write protect switch; positions for
  235. 4  pieces  of  32k  RAM  chips,  with  one position occupied.  One 
  236. decoder/controller chip (Seiko-Epson proprietary gate  array),  and
  237. another  smaller  chip which is the voltage detector chip.  Several
  238. surface mount capacitors used for  decouplings  and  some  surface 
  239. mount chip resistors. Four gold plated test points.
  240.  
  241. The  PCB  is  of good quality with gold plated contacts and bonding
  242. pads.  Also the plastic card frame and the shutter mechanism  seems
  243. to  be of high quality,  so in my opinion the card will stand up to
  244. the usual high quality that we associate with HP products.
  245.  
  246. There is no plastic handle like the one found on the HP version, so
  247. the card can be difficult to remove if inserted into the 48, but it
  248. is easy to glue some kind of grip onto the card if you wish to.
  249.  
  250. Unfortunately the chips are fastened directly to the PCB, bonded to
  251. bondingpads  on  the PCB and covered with drops of epoxy,  so it is
  252. not possible to use standard small-outline RAM chips to extend  the
  253. memory.  The chips actually used are standard dies (you can see the
  254. familiar bonding pad layout known  from  eg.  27C256  EPROMs  with 
  255. quartz window).
  256.  
  257. You  can't  solder out the detector chip either :-(;  but the test_
  258. point located away from the three others happens to be  the  output
  259. of the voltage detector.
  260.  
  261. If you cut the PCB trace (be careful...) from the smaller IC to the
  262. testpoint,  you can now via the testpoint access the  clamp  enable
  263. input of the gate array!
  264.  
  265. This  is  very interesting,  because you can now add a new voltage 
  266. detector IC and thereby change the detection  level  at  your  own 
  267. choice (provided you can get the correct detector IC).
  268.  
  269. The  detector  IC requires three signals:  Supply voltage from the 
  270. card connector,  ground,  and a detector output, which is connected
  271. to the clamp enable input of the gate array.
  272. The three testpoints close together are ground (closest to the card
  273. edge),  some kind of detector checkpoint,  and card supply voltage.
  274. It is not possible to change the original detector  level  via  the
  275. detector  checkpoint,  but  the detector hysteresis may be changed 
  276. (although this just makes things worse :-)).
  277.  
  278. I know of two types of voltage detectors that can be used:
  279.     Seiko Epson Corp.  type SCI7701YHA  (typ. 3.2 volt)
  280. or  Seiko Instruments Inc.  type S-8053ALR-LJ-X  (typ. 3.25 volt).
  281.  
  282. These are SOT89 surface mount packages and can be connected to  the
  283. required testpoints with thin, isolated wirewrap wire.
  284.  
  285. I do not know the price of the detectors, I just got a few samples.
  286. I have placed the detector in one of the three empty positions  for
  287. RAM  chips  and  with  a  fine  solder tip I melted grooves in the 
  288. plastic frame to make room for the wires.
  289.  
  290. If you can get a detector IC,  you will probably also be  able  to 
  291. find  the  pinconnections  of the IC,  so I will not go into these 
  292. details.
  293.  
  294. You may use a different voltage version of the detector (when using
  295. an  open  drain  version  instead  of  a CMOS version a pull-up is 
  296. required),  but the voltage should be between 3.2 and 3.9 volts for
  297. best  results.  If  the  voltage  is too low,  you may end up in a 
  298. situation where the RAM chips may  take  power  from  the  back-up 
  299. battery  while  they  are  active;  this  will exhaust the back-up 
  300. battery very fast and you may even risk to loose data  memory  when
  301. your main batteries are down.
  302.  
  303. Under  normal  battery  conditions  this will not occur with a low 
  304. detector voltage as the supplied voltage from  the  48  will  drop 
  305. rapidly below the clamp voltage when the 48 is switched off;  so if
  306. you just switch off your 48 immediately when a low main battery  is
  307. detected,  you  can  safely get away with using a detector voltage 
  308. down to about 2 volts. I have tried 2.6 volt with no problems.
  309.  
  310. After these changes carefully glue the panel in place  again,  glue
  311. on a plastic handle, put on some nice labels on the card, install a
  312. 2016 lithium battery,  set a  battery  alarm,  and  you  have  got 
  313. yourself a RAM card for your 48.
  314.  
  315. Sounds complicated?     Well,  then  don't do it;  but if you tried
  316. something like the memory expansion of the HP28C  as  described  by
  317. Wlodek, I think you will find this very interesting also.
  318.  
  319. Some comments on the CMT card:
  320.  
  321. I have found that the CMT card does not clamp the signal lines,  so
  322. in this respect you won't get problems. However this could make the
  323. pins more sensitive to static electricity, especially when there is
  324. no shutter mechanism to cover the contacts.  CMT also warns you  to
  325. keep  the  card  in the anti-static bag when the card is not in the
  326. 48.
  327.  
  328. It has been claimed that CMT uses tranzorbers on the  signal  lines
  329. for protection; sounds good, that will give you adequate protection,
  330. but then why does CMT put so much emphasis on  the  protective  bag
  331. issue?  I  have  not  tested  the  card  with voltages outside the 
  332. specified normal range,  and I have not seen the inside of the card
  333. (Arne  would  not  let  me open his CMT card :-) :-)) so I can not 
  334. really judge how protection is made.
  335.  
  336. On the other hand I  have  not  yet  seen  commercially  available 
  337. tranzorbers  for  surface  mounting - but I may be wrong here;  if 
  338. someone will give me a CMT card,  I certainly will make  a  closer 
  339. examination :-).
  340.  
  341. The  mechanical dimensions of the CMT and the HP cards are somewhat
  342. different:  the CMT card has a thickness of 2.0 mm at  the  contact
  343. area  and  a thickness from 2.42 to 3.0 mm on the body,  where the 
  344. measures of the HP card are 1.80 mm and 2.3 mm.  Thus the  required
  345. insertion force for the CMT card is rather high.
  346.  
  347. It  is  very difficult to see if the CMT card corresponds correctly
  348. with the connector keying or not,  but when inserted in a  separate
  349. card  connector  you can see that the contact fingers are not fully
  350. depressed,  there is still a clearance of about 0.2 - 0.3 mm behind
  351. them,  so I assume that the contacts themselves will not be damaged
  352. by inserting the CMT card, but I can't see if that is also the case
  353. with the sockets in the 48 itself, as I have not taken the 48 apart
  354. to see if the sockets are standard Epson sockets.
  355.  
  356. The contacts of the CMT card does not seem to be of the same quality
  357. as  on the original cards;  the PCB traces have blurred edges,  not
  358. straight and sharp lines as you usually see on PCB's for professional
  359. use,  but if the traces on the board are intact, you may argue that
  360. these are only cosmetic flaws.
  361.  
  362. After all,  I do not see any really serious reasons why you  should
  363. not use a CMT card in your 48 calculator as long as you mainly keep
  364. the card in your calculator instead of using  it  as  an  exchange 
  365. medium; but I don't like the high insertion force. If you are going
  366. to make a card for the 48,  why not make it  the  same  mechanical 
  367. dimensions as the original cards?
  368.  
  369. I think the price difference is not enough to justify the electrical
  370. and mechanical differences.
  371.  
  372. What is the next project here?     Well,  some form  of  programmer
  373. for Epson EPROM or EEPROM cards,  I guess.  I have noticed that the
  374. HP Equation Library card - and  therefore  also  the  Epson  EPROM 
  375. cards,  I  hope  -  do  not clamp the signal lines on a low supply 
  376. voltage.  It will then be easy to design a  programmer  for  these 
  377. cards and use them in the 48.
  378.  
  379. Some  time  ago HP released a very useful MSDOS program USRLIB that
  380. enables you to build libraries for the 48.
  381.  
  382. However I do not have a PC,  so I was very,  very pleased  to  see 
  383. Frank  Ochoa's  TOOLS.48  that Friedrich Schroeder sent to c.s.h.  
  384. recently.  Very nice. I can recommend the >LIB function. Now we can
  385. build  libraries  in  the  48 itself.  Great.  Then we just need a 
  386. convenient way of programming EPROM/EEPROM cards (I know  that  CMT
  387. has a programmer,  but it is priced at 280 $ ...,  I also know that
  388. EduCalc has a programming service,  but I would like to do this  at
  389. home).
  390. I'll  try to work something out,  so that I can make my own library
  391. cards, so stay tuned.
  392.  
  393. Now,  after  going through all this,  what would I really recommend
  394. you to do concerning RAM cards? In my opinion it goes like this:
  395.  
  396. - You CAN modify standard Epson cards but it is  hardly  worth  the
  397.   effort,  so  buy the HP cards and buy them where you can get them
  398.   at the best price (I can recommend EduCalc).  This will give  you
  399.   the best value for your money in the long run.
  400.  
  401.  
  402. Disclaimer:   Don't blame me if something goes wrong  if  you  use 
  403.               some of my ideas;  these opinions are mine alone, but
  404.               you may have them if you want to :-).
  405.               I do not speak on behalf of anybody else and have no
  406.               connections to HP, Educalc or Epson.
  407.               Even  my  employer  may have opinions different from 
  408.               mine and can not be held responsible either.
  409.  
  410. Allan 
  411.  
  412. -------------------------------------------------------------------
  413. Allan Petersen     HP25/HP19C/HP15C/HP28S/HP48SX/HP??    ap@dde.dk
  414. -------------------------------------------------------------------
  415.