EP0694886A1 - Electronic franking system with a rechargeable operating programm in situ - Google Patents

Electronic franking system with a rechargeable operating programm in situ Download PDF

Info

Publication number
EP0694886A1
EP0694886A1 EP95401701A EP95401701A EP0694886A1 EP 0694886 A1 EP0694886 A1 EP 0694886A1 EP 95401701 A EP95401701 A EP 95401701A EP 95401701 A EP95401701 A EP 95401701A EP 0694886 A1 EP0694886 A1 EP 0694886A1
Authority
EP
European Patent Office
Prior art keywords
memory
microprocessor
circuit
control signal
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
EP95401701A
Other languages
German (de)
French (fr)
Other versions
EP0694886B1 (en
Inventor
Bernard Vermesse
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Quadient Technologies France SA
Original Assignee
Neopost Technologies SA
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Neopost Technologies SA filed Critical Neopost Technologies SA
Publication of EP0694886A1 publication Critical patent/EP0694886A1/en
Application granted granted Critical
Publication of EP0694886B1 publication Critical patent/EP0694886B1/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07BTICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
    • G07B17/00Franking apparatus
    • G07B17/00185Details internally of apparatus in a franking system, e.g. franking machine at customer or apparatus at post office
    • G07B17/00362Calculation or computing within apparatus, e.g. calculation of postage value
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07BTICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
    • G07B17/00Franking apparatus
    • G07B17/00185Details internally of apparatus in a franking system, e.g. franking machine at customer or apparatus at post office
    • G07B17/00193Constructional details of apparatus in a franking system
    • G07B2017/00258Electronic hardware aspects, e.g. type of circuits used
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07BTICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
    • G07B17/00Franking apparatus
    • G07B17/00185Details internally of apparatus in a franking system, e.g. franking machine at customer or apparatus at post office
    • G07B17/00314Communication within apparatus, personal computer [PC] system, or server, e.g. between printhead and central unit in a franking machine
    • G07B2017/00322Communication between components/modules/parts, e.g. printer, printhead, keyboard, conveyor or central unit
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07BTICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
    • G07B17/00Franking apparatus
    • G07B17/00185Details internally of apparatus in a franking system, e.g. franking machine at customer or apparatus at post office
    • G07B17/00362Calculation or computing within apparatus, e.g. calculation of postage value
    • G07B2017/00395Memory organization
    • G07B2017/00403Memory zones protected from unauthorized reading or writing

Definitions

  • the invention relates generally to the field of franking machines which are now widely used in corporate mail forwarding offices.
  • It relates more particularly to an electronic postage system comprising a microprocessor connected by an address bus and a data bus to a non-volatile memory circuit in which an operating program is recorded.
  • operating program is meant a program for controlling the microprocessor in order to obtain a desired operation of the latter. It can be used in particular to manage postage amount accounting information.
  • This information generally includes the amount of funds available in the system (this amount being decremented at each postage transaction) as well as the cumulative amount of postage (this amount being incremented at each postage transaction).
  • This information is kept in the so-called descending and ascending registers in non-volatile memory backed up by battery.
  • Most franking systems have two non-volatile battery backed memories in which the descending and ascending registers are duplicated.
  • Such a franking system is generally mounted inside a sealed enclosure.
  • the operating program is saved in a memory of the EPROM type.
  • Such a memory requires exposure to ultra violet rays to be erased and then reprogrammed in order to change the operating program.
  • the EPROM memory circuit or box must be mounted in the franking system on a support of so as to be removable. The presence of such a support increases the cost of the franking system.
  • this arrangement would cause complications to ensure the level of security of the program data required by the Postal Administrations. In other words, it is not planned today to change, in situ in an electronic franking system, the operating program recorded in a non-volatile memory circuit, that is to say without leaving the circuit memory of the sealed enclosure containing the franking system.
  • the object of the invention is to propose an electronic postage system having a memory circuit arranged in such a way as to allow an in situ change of the operating program recorded in the memory circuit without penalizing the cost price of the system. and without affecting its security level.
  • the subject of the invention is an electronic postage system characterized in that the memory circuit is of the flash memory type having a memory space divided into a plurality of sectors selectively addressable from the address bus, in that an address decoding circuit is provided between the address bus and a terminal of the memory circuit authorizing or prohibiting writing to the memory, this decoding circuit being arranged so that the microprocessor is prevented from '' write in a first sector of the memory in which the operating program is recorded when the decoding circuit detects the presence of a control signal set to a first logic level and the microprocessor is authorized to write in said first sector of the memory when the decoding circuit detects the presence of the control signal set to a second level logic, and in that there is provided a loading program recorded in a second sector of the memory protected before mounting the memory circuit in the system against any write access, this loading program being intended to control the microprocessor of such so that it establishes a dialogue with another processor in order to load a new operating program, supplied by this other processor, in place of the operating program already
  • non-volatile flash memory circuits The technology of non-volatile flash memory circuits is starting to appear on the market and is of interest for an electronic postage system.
  • a memory circuit has a memory space organized into sectors of fixed size selectively erasable by a microprocessor control. The sectors of such a memory are moreover capable of being selectively protected against any write or erase access. This protection is carried out by configuring the flash memory on a programming bench. This protection can therefore be carried out before mounting the flash memory circuit directly on a printed circuit board.
  • Such a non-volatile memory circuit may be suitable for recording the operating program of a franking machine because it has a sufficiently large memory space.
  • the decoding circuit prevents untimely modifications of the operating program in the flash memory, for example in the event of a microprocessor malfunction and contributes to system security.
  • this control signal comes from a conductive line connected to a current source by a removable pin.
  • the control signal is set to its first logic state.
  • the control signal changes logic state which makes the first sector of the memory containing the operating program accessible for erasure and writing by the microprocessor which can then reload a new operating program .
  • the microprocessor, the memory circuit, the address decoding circuit and the removable pin are placed at the inside a sealed enclosure. In this way, only the manufacturer can load a new operating program into the first memory sector.
  • Figure 1 shows in schematic form a first embodiment of the franking system.
  • Figure 2 illustrates the organization into sectors of flash memory.
  • the franking system comprises a microprocessor 1 having seventeen address bits A0-A16 and eight data bits D0-D7, for example the integrated circuit known under the reference "80C166" or the integrated circuit known under the reference "ST10". It also includes a non-volatile flash memory circuit 2, for example the integrated circuit known under the reference "29F10PL".
  • This memory has a capacity of 128 Kilo bytes divided into eight memory sectors of 16 Kilo bytes each. These eight sectors are designated by S1 to S8 in FIG. 2.
  • the data inputs / outputs D0 to D7 of the memory circuit 2 are connected to the respective data inputs / outputs of the microprocessor 1 through a data bus 10 comprising eight data lines.
  • the address inputs A0 to A16 of the memory circuit 2 are connected to the corresponding address outputs of the microprocessor 1 through an address bus 11 comprising seventeen address lines.
  • the memory circuit 2 also includes a read control input OE, a write control input WR and a box selection input CE.
  • the box selection input CE permanently receives an electrical signal of 0 volts so that the memory circuit 2 receives all the read and write commands from the microprocessor 1.
  • the microprocessor 1 also has a read control output RD, a write control output WR, a reserved input of a control signal CHPRG, and a serial input port RXD1 and output TXD1.
  • the read control output RD of the microprocessor is connected to the read control input RD of the memory circuit.
  • the serial RXD1 input and TXD1 output of the microprocessor are connected to a connector 5 through a control bus 12 comprising several control lines.
  • the input of the microprocessor for receiving the CHPRG control signal is connected through the control bus 12 and a removable pin 4 (in the form of a jumper) to a current source delivering an electrical signal from 5 volts corresponding to a logic level equal to 1.
  • An address decoder 3 is also provided, having an output connected to the write command input WE of the memory circuit 2.
  • the address decoder 3 comprises a reversing AND gate 31 with three inputs for receiving respectively the control signal CHPRG and signals coming from the outputs of most significant addresses A15 and A16 of the microprocessor. These last two signals are taken directly from the address bus 11. It also includes a single inverting gate 32 which receives a write command signal coming from the write command output WR of the microprocessor 1. It also includes a another AND reversing gate 33 having a first input connected to the output of gate 31 and two other inputs connected to the output of gate 32. The output of gate 33 is connected to the write command input WR of the circuit memory 2.
  • the microprocessor 1, the memory circuit 2, the address decoder 3 and the pin 4 are enclosed in an enclosure 20 comprising a hatch 21 giving access from outside the enclosure to the pin 4.
  • the hatch normally closes l enclosure and is sealed to prevent unauthorized access to the interior of the enclosure by a user.
  • the connector 5 is freely accessible from the outside of the enclosure 20. However, it could also be enclosed inside the enclosure so as to be accessible only when the hatch 21 is open.
  • the set of circuits 1,2,3,4,5 is mounted on one or more printed circuit boards (not shown), the terminals of the memory circuit 2 being able to be directly soldered on a printed circuit board.
  • the memory space of memory 2 is divided into a plurality of memory sectors of identical capacity, in this case eight sectors S1 to S8 of 16 kilobytes each.
  • a loading program is recorded in sector S1. Furthermore, the sector S1 is protected against erasure or writing, after the loading program is recorded there and before the mounting of the memory circuit 2 directly on the printed circuit board. Such protection is achieved using a specific memory programming device known per se.
  • An operating program for a franking machine is saved in the S7 and S8 sectors of the memory. Sectors S2 to S6 are left free for recording other data.
  • the address decoder 3 prevents write access of the microprocessor in sectors S7 and S8 of the memory since the combination of the signals at the input of gate 31 forces the output of the address decoder at a logic level equal to 1 and that this logic level is that which is necessary to inhibit the write command input WR of the memory circuit 2.
  • the address decoder 3 ensures that the operating program recorded in the sectors S7 and S8 of the memory is not altered by a malfunction of the microprocessor for example.
  • the microprocessor accesses the first bytes recorded in the sector S1 of the memory which constitute the start of the loading program.
  • This loading program is first arranged to test during the start of its execution the logic level of the signal CHPRG received by the microprocessor. If this signal at a logic level equal to 1, the loading program starts the execution of the operating program at the same time as it stops. It is therefore the normal operating framework for the franking system.
  • the CHPRG signal will have a logic level equal to 0.
  • the decoder of addresses 3 allows the write command signal WR coming from the microprocessor to pass authorize the microprocessor to write in the sectors S7 and S8 of the memory.
  • the loading program upon detection of the CHPRG signal at a logic level equal to 0, controls the microprocessor in such a way that it first erases the content of the sectors S7 and S8 and then establishes communication with another processor connected to the serial input / output ports RXD1 and TXD1 via connector 5 in order to load in situ a new operating program in the sectors S7 and S8, this new operating program coming from the other processor .
  • the loading program may stop and block the operation of the franking system. Mailing system power must be turned off. At this time, pin 4 must again be replaced so that the level of the CHPRG signal is equal to 1. Then the franking machine is switched on again and the loading program as indicated above will start the execution of the new operating program.
  • the signal CHPRG can come directly from the microprocessor which is controlled so as to change the logic level of the signal CHPRG in response to a coded message obtained from the serial input port RXD1.
  • the microprocessor of the franking system is connected, for example by a telephone line, to a management center of a fleet of franking systems.

Abstract

The franking machine has a microprocessor (1) connected by an address bus (11) and a data bus (10) to a non-volatile memory (2) that holds the operating program for the franking machine. The non-volatile memory is flash memory with its address space divided into multiple sectors (S1-S8) selectively addressable from the address bus. An address decoder circuit (3) is connected between the address bus and a terminal (WE) of the memory circuit authorising or inhibiting writing to the memory. The address decoder is configured so the microprocessor is blocked from writing when the decoding circuit detects a control signal a first level and is allowed to write when the control signal is at the second level. The control signal level is set by an externally accessible removable link (4). <IMAGE>

Description

L'invention se rapporte d'une façon générale au domaine des machines d'affranchissement qui sont maintenant largement utilisées dans les bureaux d'expédition de courrier des entreprises.The invention relates generally to the field of franking machines which are now widely used in corporate mail forwarding offices.

Elle concerne plus particulièrement un système d'affranchissement postal électronique comprenant un microprocesseur connecté par un bus d'adresses et un bus de données à un circuit de mémoire non volatile dans lequel est enregistré un programme d'exploitation.It relates more particularly to an electronic postage system comprising a microprocessor connected by an address bus and a data bus to a non-volatile memory circuit in which an operating program is recorded.

On entend par programme d'exploitation, un programme destiné à la commande du microprocesseur en vue d'obtenir un fonctionnement désiré de celui-ci. Il peut servir notamment à gestion d'informations de comptabilisation de montants d'affranchissement. Ces informations comprennent généralement le montant en fonds disponible dans le système (ce montant étant décrémenté à chaque opération d'affranchissement) ainsi que le montant cumulé des affranchissement (ce montant étant incrémenté à chaque opération d'affranchissement). Ces informations sont maintenues dans les registres dits descendant et ascendant en mémoire non volatile secourue par batterie. La plupart des système d'affranchissement comporte deux mémoires non volatiles secourues par batterie dans lesquelles sont dupliqués les registres descendant et ascendant.By operating program is meant a program for controlling the microprocessor in order to obtain a desired operation of the latter. It can be used in particular to manage postage amount accounting information. This information generally includes the amount of funds available in the system (this amount being decremented at each postage transaction) as well as the cumulative amount of postage (this amount being incremented at each postage transaction). This information is kept in the so-called descending and ascending registers in non-volatile memory backed up by battery. Most franking systems have two non-volatile battery backed memories in which the descending and ascending registers are duplicated.

Un tel système d'affranchissement est généralement monté à l'intérieur d'une enceinte scellée. Dans les systèmes d'affranchissement connus, le programme d'exploitation est enregistré dans une mémoire du type EPROM. Une telle mémoire nécessite une exposition aux rayons ultra violet pour être effacée puis reprogrammée afin de changer le programme d'exploitation. Pour réaliser cette fonction, le circuit ou boitier mémoire EPROM doit être monté dans le système d'affranchissement sur un support de façon à être amovible. La présence d'un tel support augmente le coût du système d'affranchissement. Il serait envisageable d'enregistrer le programme d'exploitation dans une mémoire à lecture/écriture du type RAM secourue par batterie. Mais une telle solution grève encore plus le coût du système d'affranchissement. Par ailleurs, cet agencement entraînerait des complications pour assurer le niveau de sécurité des données du programme exigé par les Administrations postales. Autrement dit, il n'est pas prévu aujourd'hui de changer, in situ dans un système d'affranchissement électronique, le programme d'exploitation enregistré dans un circuit de mémoire non volatile, c'est-à-dire sans sortir le circuit de mémoire de l'enceinte scellée renfermant le système d'affranchissement.Such a franking system is generally mounted inside a sealed enclosure. In known franking systems, the operating program is saved in a memory of the EPROM type. Such a memory requires exposure to ultra violet rays to be erased and then reprogrammed in order to change the operating program. To perform this function, the EPROM memory circuit or box must be mounted in the franking system on a support of so as to be removable. The presence of such a support increases the cost of the franking system. It would be possible to record the operating program in a read / write memory of the RAM type backed up by battery. But such a solution increases the cost of the franking system even more. Furthermore, this arrangement would cause complications to ensure the level of security of the program data required by the Postal Administrations. In other words, it is not planned today to change, in situ in an electronic franking system, the operating program recorded in a non-volatile memory circuit, that is to say without leaving the circuit memory of the sealed enclosure containing the franking system.

Le but de l'invention est de proposer un système d'affranchissement postal électronique ayant un circuit de mémoire agencé de telle façon à permettre un changement in situ du programme d'exploitation enregistré dans le circuit de mémoire sans pénaliser le coût de revient du système et sans affecter le niveau de sécurité de celui-ci.The object of the invention is to propose an electronic postage system having a memory circuit arranged in such a way as to allow an in situ change of the operating program recorded in the memory circuit without penalizing the cost price of the system. and without affecting its security level.

A cet effet, l'invention a pour objet un système d'affranchissement postal électronique caractérisé en ce que le circuit de mémoire est du type mémoire flash ayant un espace mémoire divisé en une pluralité de secteurs sélectivement adressables à partir du bus d'adresses, en ce qu'il est prévu un circuit de décodage d'adresses entre le bus d'adresses et une borne du circuit mémoire autorisant ou interdisant l'écriture dans la mémoire, ce circuit de décodage étant agencé de manière que le microprocesseur est empêché d'écrire dans un premier secteur de la mémoire dans lequel le programme d'exploitation est enregistré quand le circuit de décodage détecte la présence d'un signal de contrôle mis à un premier niveau logique et le microprocesseur est autorisé à écrire dans ledit premier secteur de la mémoire quand le circuit de décodage détecte la présence du signal de contrôle mis à un second niveau logique, et en ce qu'il est prévu un programme de chargement enregistré dans un second secteur de la mémoire protégé avant montage du circuit de mémoire dans le système contre tout accès en écriture, ce programme de chargement étant pévu pour commander le microprocesseur de telle manière qu'il établisse un dialogue avec un autre processeur en vue de charger un nouveau programme d'exploitation, fourni par cet autre processeur, à la place du programme d'exploitation déjà enregistré dans ledit premier secteur de la mémoire quand le signal de contrôle est mis à un second niveau logique.To this end, the subject of the invention is an electronic postage system characterized in that the memory circuit is of the flash memory type having a memory space divided into a plurality of sectors selectively addressable from the address bus, in that an address decoding circuit is provided between the address bus and a terminal of the memory circuit authorizing or prohibiting writing to the memory, this decoding circuit being arranged so that the microprocessor is prevented from '' write in a first sector of the memory in which the operating program is recorded when the decoding circuit detects the presence of a control signal set to a first logic level and the microprocessor is authorized to write in said first sector of the memory when the decoding circuit detects the presence of the control signal set to a second level logic, and in that there is provided a loading program recorded in a second sector of the memory protected before mounting the memory circuit in the system against any write access, this loading program being intended to control the microprocessor of such so that it establishes a dialogue with another processor in order to load a new operating program, supplied by this other processor, in place of the operating program already recorded in said first sector of the memory when the control signal is put on a second logical level.

La technologie des circuits de mémoire non volatile du type flash commence à faire son apparition sur le marché et présente un intérêt pour un système d'affranchissement postal électronique. Un tel circuit mémoire à une espace mémoire organisé en secteurs de taille fixe sélectivement effaçables par une commande de microprocesseur. Les secteurs d'une telle mémoire sont par ailleurs susceptibles d'être sélectivement protégés contre tout accès en écriture ou en effacement. Cette protection s'effectue en configurant la mémoire flash sur un banc de programmation. Cette protection peut donc être réalisée avant montage du circuit de mémoire flash directement sur une carte de circuit imprimé. Un tel circuit de mémoire non volatile peut convenir à l'enregistrement du programme d'exploitation d'une machine d'affranchissement car elle dispose d'un espace mémoire suffisamment important.The technology of non-volatile flash memory circuits is starting to appear on the market and is of interest for an electronic postage system. Such a memory circuit has a memory space organized into sectors of fixed size selectively erasable by a microprocessor control. The sectors of such a memory are moreover capable of being selectively protected against any write or erase access. This protection is carried out by configuring the flash memory on a programming bench. This protection can therefore be carried out before mounting the flash memory circuit directly on a printed circuit board. Such a non-volatile memory circuit may be suitable for recording the operating program of a franking machine because it has a sufficiently large memory space.

Le circuit de décodage empêche les modifications intempestives du programme d'exploitation dans la mémoire flash, par exemple en cas de dysfonctionnement du microprocesseur et contribue à la sécurité du système.The decoding circuit prevents untimely modifications of the operating program in the flash memory, for example in the event of a microprocessor malfunction and contributes to system security.

Il est même possible de télé charger un nouveau programme d'exploitation dans la mémoire flash si un système de télécommunication est prévu entre le microprocesseur du système d'affranchissement et cet autre processeur.It is even possible to download a new operating program to the flash memory if a telecommunications system is provided between the microprocessor of the franking system and this other processor.

Selon un mode de réalisation particulièrement simple à mettre en oeuvre, ce signal de contrôle est issu d'une ligne conductrice reliée à une source de courant par une broche amovible. De cette façon, quand la broche est interposée entre le circuit de décodage et la source de courant, le signal de contrôle est mis à son premier état logique. Quand cette broche est enlevée, le signal de contrôle change d'état logique ce qui rend le premier secteur de la mémoire contenant le programme d'exploitation accessible en effacement et en écriture par le microprocesseur qui peut alors y recharger un nouveau programme d'exploitation.According to an embodiment which is particularly simple to implement, this control signal comes from a conductive line connected to a current source by a removable pin. In this way, when the pin is interposed between the decoding circuit and the current source, the control signal is set to its first logic state. When this pin is removed, the control signal changes logic state which makes the first sector of the memory containing the operating program accessible for erasure and writing by the microprocessor which can then reload a new operating program .

Pour empêcher un chargement non autorisé d'un nouveau programme d'exploitation dans le premier secteur de la mémoire, il est prévu que le microprocesseur, le circuit de mémoire, le circuit de décodage d'adresses et la broche amovible soient placés à l'intérieur d'une enceinte scellée. De cette façon, seul le fabricant peut charger un nouveau programme d'exploitation dans le premier secteur de la mémoire.To prevent unauthorized loading of a new operating program in the first sector of the memory, it is provided that the microprocessor, the memory circuit, the address decoding circuit and the removable pin are placed at the inside a sealed enclosure. In this way, only the manufacturer can load a new operating program into the first memory sector.

D'autres caractéristiques et avantages ressortiront de la description qui suit d'exemples de réalisation de l'invention faite en référence aux dessins.Other characteristics and advantages will emerge from the following description of exemplary embodiments of the invention made with reference to the drawings.

la figure 1 montre sous forme schématique un premier mode de réalisation du système d'affranchissement.Figure 1 shows in schematic form a first embodiment of the franking system.

La figure 2 illustre l'organisation en secteurs de la mémoire flash.Figure 2 illustrates the organization into sectors of flash memory.

Sur la figure 1, le système d'affranchissement comprend un microprocesseur 1 ayant dix-sept bits d'adresses A0-A16 et huit bits de données D0-D7, par exemple le circuit intégré connu sous la référence "80C166" ou le circuit intégré connu sous la référence "ST10". Il comprend encore un circuit de mémoire flash non volatile 2, par exemple le circuit intégré connu sous la référence "29F10PL". Cette mémoire a une capacité de 128 Kilo octets divisée en huit secteurs mémoire de 16 Kilo octets chacun. Ces huit secteurs sont désignés par S1 à S8 sur la figure 2.In FIG. 1, the franking system comprises a microprocessor 1 having seventeen address bits A0-A16 and eight data bits D0-D7, for example the integrated circuit known under the reference "80C166" or the integrated circuit known under the reference "ST10". It also includes a non-volatile flash memory circuit 2, for example the integrated circuit known under the reference "29F10PL". This memory has a capacity of 128 Kilo bytes divided into eight memory sectors of 16 Kilo bytes each. These eight sectors are designated by S1 to S8 in FIG. 2.

Les entrées/sorties de données D0 à D7 du circuit de mémoire 2 sont reliées aux entrées/sorties de données respectives du microprocesseur 1 au travers d'un bus de données 10 comprenant huit lignes de données. Les entrées d'adresses A0 à A16 du circuit de mémoire 2 sont reliées aux sorties d'adresses correspondantes du microprocesseur 1 au travers d'un bus d'adresses 11 comprenant dix-sept lignes d'adresses.The data inputs / outputs D0 to D7 of the memory circuit 2 are connected to the respective data inputs / outputs of the microprocessor 1 through a data bus 10 comprising eight data lines. The address inputs A0 to A16 of the memory circuit 2 are connected to the corresponding address outputs of the microprocessor 1 through an address bus 11 comprising seventeen address lines.

Le circuit de mémoire 2 comporte encore une entrée de commande de lecture OE, une entrée de commande d'écriture WR et une entrée de sélection de boîtier CE. L'entrée de sélection de boîtier CE reçoit en permanence un signal électrique de 0 volt de sorte que le circuit de mémoire 2 reçoit toutes les commandes de lecture et d'écriture provenant du microprocesseur 1.The memory circuit 2 also includes a read control input OE, a write control input WR and a box selection input CE. The box selection input CE permanently receives an electrical signal of 0 volts so that the memory circuit 2 receives all the read and write commands from the microprocessor 1.

Le microprocesseur 1 comporte encore une sortie de commande de lecture RD, une sortie de commande d'écriture WR, une entrée réservée d'un signal de contrôle CHPRG, et un port d'entrée RXD1 et de sortie TXD1 sérielles.The microprocessor 1 also has a read control output RD, a write control output WR, a reserved input of a control signal CHPRG, and a serial input port RXD1 and output TXD1.

La sortie de commande de lecture RD du microprocesseur est reliée à l'entrée de commande de lecture RD du circuit de mémoire. L'entrée RXD1 et la sortie TXD1 sérielles du microprocesseur sont reliées à un connecteur 5 au travers d'un bus de commande 12 comportant plusieurs lignes de commandes.The read control output RD of the microprocessor is connected to the read control input RD of the memory circuit. The serial RXD1 input and TXD1 output of the microprocessor are connected to a connector 5 through a control bus 12 comprising several control lines.

Par ailleurs, l'entrée du microprocesseur pour recevoir le signal de contrôle CHPRG est reliée au travers du bus de commande 12 et d'une broche amovible 4 (sous la forme d'un cavalier) à une source de courant délivrant un signal électrique de 5 volts correspondant à un niveau logique égal à 1.Furthermore, the input of the microprocessor for receiving the CHPRG control signal is connected through the control bus 12 and a removable pin 4 (in the form of a jumper) to a current source delivering an electrical signal from 5 volts corresponding to a logic level equal to 1.

Il est prévu aussi un décodeur d'adresses 3 ayant une sortie reliée à l'entrée de commande d'écriture WE du circuit de mémoire 2.An address decoder 3 is also provided, having an output connected to the write command input WE of the memory circuit 2.

Le décodeur d'adresses 3 comprend une porte ET inverseuse 31 à trois entrées pour recevoir respectivement le signal de contrôle CHPRG et des signaux provenant des sorties d'adresses de poids fort A15 et A16 du microprocesseur. Ces deux derniers signaux sont prélevés directement sur le bus d'adresses 11. Il comprend aussi une porte simple inverseuse 32 qui reçoit un signal de commande d'écriture provenant de la sortie de commande d'écriture WR du microprocesseur 1. Il comprend encore une autre porte ET inverseuse 33 ayant une première entrée reliée à la sortie de la porte 31 et deux autres entrées reliées à la sortie de la porte 32. La sortie de la porte 33 est reliée à l'entrée de commande d'écriture WR du circuit de mémoire 2.The address decoder 3 comprises a reversing AND gate 31 with three inputs for receiving respectively the control signal CHPRG and signals coming from the outputs of most significant addresses A15 and A16 of the microprocessor. These last two signals are taken directly from the address bus 11. It also includes a single inverting gate 32 which receives a write command signal coming from the write command output WR of the microprocessor 1. It also includes a another AND reversing gate 33 having a first input connected to the output of gate 31 and two other inputs connected to the output of gate 32. The output of gate 33 is connected to the write command input WR of the circuit memory 2.

Le microprocesseur 1, le circuit de mémoire 2, le décodeur d'adresses 3 et la broche 4 sont enfermés dans une enceinte 20 comportant une trappe 21 donnant accès depuis l'extérieur de l'enceinte à la broche 4. La trappe ferme normalement l'enceinte et est scellée pour empêcher tout accès non autorisé à l'intérieur de l'enceinte par un utilisateur. Comme représenté sur la figure 1, le connecteur 5 est librement accessible depuis l'extérieur de l'enceinte 20. Toutefois il pourrait aussi être enfermé à l'intérieur de l'enceinte de façon à être accessible seulement quand la trappe 21 est ouverte.The microprocessor 1, the memory circuit 2, the address decoder 3 and the pin 4 are enclosed in an enclosure 20 comprising a hatch 21 giving access from outside the enclosure to the pin 4. The hatch normally closes l enclosure and is sealed to prevent unauthorized access to the interior of the enclosure by a user. As shown in FIG. 1, the connector 5 is freely accessible from the outside of the enclosure 20. However, it could also be enclosed inside the enclosure so as to be accessible only when the hatch 21 is open.

L'ensemble des circuits 1,2,3,4,5 est monté sur une ou des plaques de circuit imprimé non représentées, les bornes du circuit de mémoire 2 pouvant directement être soudées sur une plaque de circuit imprimé.The set of circuits 1,2,3,4,5 is mounted on one or more printed circuit boards (not shown), the terminals of the memory circuit 2 being able to be directly soldered on a printed circuit board.

L'espace mémoire de la mémoire 2 est divisé en une pluralité de secteurs mémoire de capacité identique, en l'occurrence huit secteurs S1 à S8 de 16 Kilo octets chacun.The memory space of memory 2 is divided into a plurality of memory sectors of identical capacity, in this case eight sectors S1 to S8 of 16 kilobytes each.

Un programme de chargement est enregistré dans le secteur S1. Par ailleurs le secteur S1 est protégé contre l'effacement ou l'écriture, après que le programme de chargement y soit enregistré et avant le montage du circuit de mémoire 2 directement sur la plaque de circuit imprimé. Une telle protection est réalisée à l'aide d'un appareil spécifique de programmation de mémoire connu en soi.A loading program is recorded in sector S1. Furthermore, the sector S1 is protected against erasure or writing, after the loading program is recorded there and before the mounting of the memory circuit 2 directly on the printed circuit board. Such protection is achieved using a specific memory programming device known per se.

Un programme d'exploitation d'une machine d'affranchissement est enregistré dans les secteurs S7 et S8 de la mémoire. Les secteurs S2 à S6 sont laissés libres pour l'enregistrement d'autres données.An operating program for a franking machine is saved in the S7 and S8 sectors of the memory. Sectors S2 to S6 are left free for recording other data.

Ces deux secteurs sont accessibles par le microprocesseur au travers des bits d'adresse A15 et A16.These two sectors are accessible by the microprocessor through address bits A15 and A16.

Pendant le fonctionnement normal du système d'affranchissement, le décodeur d'adresses 3 empêche l'accès en écriture du microprocesseur dans les secteurs S7 et S8 de la mémoire du fait que la combinaison des signaux en entrée de la porte 31 force la sortie du décodeur d'adresses à un niveau logique égal à 1 et que ce niveau logique est celui qu'il faut pour inhiber l'entrée de commande d'écriture WR du circuit de mémoire 2.During normal operation of the franking system, the address decoder 3 prevents write access of the microprocessor in sectors S7 and S8 of the memory since the combination of the signals at the input of gate 31 forces the output of the address decoder at a logic level equal to 1 and that this logic level is that which is necessary to inhibit the write command input WR of the memory circuit 2.

Par conséquent, le décodeur d'adresses 3 assure que le programme d'exploitation enregistré dans les secteurs S7 et S8 de la mémoire ne soit pas altéré par un dysfonctionnement du microprocesseur par exemple.Consequently, the address decoder 3 ensures that the operating program recorded in the sectors S7 and S8 of the memory is not altered by a malfunction of the microprocessor for example.

Par ailleurs, à la mise sous tension du système d'affranchissement, le microprocesseur accède aux premiers octets enregistrés dans le secteur S1 de la mémoire qui constituent le début du programme de chargement.Furthermore, when the franking system is switched on, the microprocessor accesses the first bytes recorded in the sector S1 of the memory which constitute the start of the loading program.

Ce programme de chargement est d'abord agencé pour tester pendant le début de son exécution le niveau logique du signal CHPRG reçu par le microprocesseur. Si ce signal à un niveau logique égal à 1, le programme de chargement lance l'exécution du programme d'exploitation en même temps qu'il s'interrompt. Il s'agit donc du cadre normal de fonctionnement du système d'affranchissement.This loading program is first arranged to test during the start of its execution the logic level of the signal CHPRG received by the microprocessor. If this signal at a logic level equal to 1, the loading program starts the execution of the operating program at the same time as it stops. It is therefore the normal operating framework for the franking system.

Maintenant si la broche 4 est enlevée du circuit électrique entre la source de +5 volts et le décodeur d'adresses 3, le signal CHPRG aura un niveau logique égal à 0. Quand le signal CHPRG a un niveau logique égal à 0, le décodeur d'adresses 3 laisse passer le signal de commande d'écriture WR venant du microprocesseur de manière à autoriser le microprocesseur à écrire dans les secteurs S7 et S8 de la mémoire.Now if pin 4 is removed from the electrical circuit between the +5 volt source and the address decoder 3, the CHPRG signal will have a logic level equal to 0. When the CHPRG signal has a logic level equal to 0, the decoder of addresses 3 allows the write command signal WR coming from the microprocessor to pass authorize the microprocessor to write in the sectors S7 and S8 of the memory.

Le programme de chargement, sur détection du signal CHPRG à un niveau logique égal à 0, commande le microprocesseur de telle manière qu'il efface d'abord le contenu des secteurs S7 et S8 et ensuite qu'il établisse une communication avec un autre processeur raccordé aux ports d'entrée/sortie sérielles RXD1 et TXD1 par l'intermédiaire du connecteur 5 en vue de charger in situ un nouveau programme d'exploitation dans les secteurs S7 et S8, ce nouveau programme d'exploitation venant de l'autre processeur. Après le chargement du nouveau programme d'exploitation, le programme de chargement peut s'interrompre et bloquer le fonctionnement du système d'affranchissement. L'alimentation du système d'affranchissement doit être coupée. A ce moment, la broche 4 doit de nouveau être remise en place de manière que le niveau du signal CHPRG soit égal à 1. Puis la machine d'affranchissement est remise sous tension et le programme de chargement comme indiqué plus haut lancera l'exécution du nouveau programme d'exploitation.The loading program, upon detection of the CHPRG signal at a logic level equal to 0, controls the microprocessor in such a way that it first erases the content of the sectors S7 and S8 and then establishes communication with another processor connected to the serial input / output ports RXD1 and TXD1 via connector 5 in order to load in situ a new operating program in the sectors S7 and S8, this new operating program coming from the other processor . After loading the new operating program, the loading program may stop and block the operation of the franking system. Mailing system power must be turned off. At this time, pin 4 must again be replaced so that the level of the CHPRG signal is equal to 1. Then the franking machine is switched on again and the loading program as indicated above will start the execution of the new operating program.

En variante, le signal CHPRG peut être issu directement du microprocesseur qui est commandé de telle manière à changer le niveau logique du signal CHPRG en réponse à un message codé obtenu depuis le port d'entrée série RXD1. Dans cette variante, le microprocesseur du système d'affranchissement est relié, par exemple par une ligne téléphonique, à un centre de gestion d'un parc de systèmes d'affranchissement.As a variant, the signal CHPRG can come directly from the microprocessor which is controlled so as to change the logic level of the signal CHPRG in response to a coded message obtained from the serial input port RXD1. In this variant, the microprocessor of the franking system is connected, for example by a telephone line, to a management center of a fleet of franking systems.

Claims (3)

1. ) Un système d'affranchissement postal électronique comprenant un microprocesseur (1) connecté par un bus d'adresses (11) et un bus de données (10) à un circuit de mémoire non volatile (2) dans lequel est enregistré un programme d'exploitation, caractérisé en ce que le circuit de mémoire est du type mémoire flash ayant un espace mémoire divisé en une pluralité de secteurs (S1-S8) sélectivement adressables à partir du bus d'adresses, en ce qu'il est prévu un circuit de décodage d'adresses (3) entre le bus d'adresses et une borne (WE) du circuit mémoire autorisant ou interdisant l'écriture dans la mémoire, ce circuit de décodage étant agencé de manière que le microprocesseur est empêché d'écrire dans un premier secteur (S7,S8) de la mémoire dans lequel le programme d'exploitation est enregistré quand le circuit de décodage détecte la présence d'un signal de contrôle (CHPRG) mis à un premier niveau logique et le microprocesseur est autorisé à écrire dans ledit second secteur de la mémoire quand le circuit de décodage détecte la présence du signal de contrôle mis à un second niveau logique, et en ce qu'il est prévu un programme de chargement enregistré dans un second secteur (S1) de la mémoire protégé avant montage du circuit de mémoire dans le système contre tout accès en écriture, ce programme de chargement étant prévu pour commander le microprocesseur de telle manière qu'il établisse un dialogue avec un autre processeur en vue de charger un nouveau programme d'exploitation, fourni par cet autre processeur, à la place du programme d'exploitation déjà enregistré dans ledit premier secteur de la mémoire quand le signal de contrôle est mis à un second niveau logique. 1.) An electronic postage system comprising a microprocessor (1) connected by an address bus (11) and a data bus (10) to a non-volatile memory circuit (2) in which a program is recorded operating, characterized in that the memory circuit is of the flash memory type having a memory space divided into a plurality of sectors (S1-S8) selectively addressable from the address bus, in that there is provided a address decoding circuit (3) between the address bus and a terminal (WE) of the memory circuit authorizing or prohibiting writing to the memory, this decoding circuit being arranged so that the microprocessor is prevented from writing in a first sector (S7, S8) of the memory in which the operating program is recorded when the decoding circuit detects the presence of a control signal (CHPRG) brought to a first logic level and the microprocessor is authorized to write e in said second sector of the memory when the decoding circuit detects the presence of the control signal set to a second logic level, and in that there is provided a loading program recorded in a second sector (S1) of the memory protected before mounting the memory circuit in the system against any write access, this loading program being provided for controlling the microprocessor in such a way that it establishes a dialogue with another processor in order to load a new operating program, supplied by this other processor, in place of the operating program already recorded in said first sector of the memory when the control signal is set to a second logic level. 2. ) Le système selon la revendication 1, dans lequel le signal de contrôle (CHPRG) est issu d'une ligne conductrice reliée à une source de courant par une broche amovible (4). 2.) The system according to claim 1, in which the control signal (CHPRG) comes from a line conductive connected to a current source by a removable pin (4). 3. ) Le système selon la revendication 2, dans lequel, le microprocesseur (1), le circuit de mémoire (2), le circuit de décodage d'adresses (3) et la broche amovible (4) sont placés à l'intérieur d'une enceinte scellée (20). 3.) The system according to claim 2, in which the microprocessor (1), the memory circuit (2), the address decoding circuit (3) and the removable pin (4) are placed inside. a sealed enclosure (20).
EP19950401701 1994-07-18 1995-07-18 Electronic franking system with a rechargeable operating programm in a flash memory Expired - Lifetime EP0694886B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
FR9408859 1994-07-18
FR9408859A FR2722595B1 (en) 1994-07-18 1994-07-18 ELECTRONIC POSTAL POSTAGE SYSTEM HAVING A RECHARGEABLE IN SITU OPERATING PROGRAM

Publications (2)

Publication Number Publication Date
EP0694886A1 true EP0694886A1 (en) 1996-01-31
EP0694886B1 EP0694886B1 (en) 1999-10-13

Family

ID=9465479

Family Applications (1)

Application Number Title Priority Date Filing Date
EP19950401701 Expired - Lifetime EP0694886B1 (en) 1994-07-18 1995-07-18 Electronic franking system with a rechargeable operating programm in a flash memory

Country Status (3)

Country Link
EP (1) EP0694886B1 (en)
DE (1) DE69512718T2 (en)
FR (1) FR2722595B1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0106320A2 (en) * 1982-10-13 1984-04-25 Pitney Bowes Inc. Electronic postage meter having a reset circuit
WO1989011134A1 (en) * 1988-05-09 1989-11-16 Ascom Hasler Ag Electronic computing and storage system for franking machines
EP0457114A1 (en) * 1985-10-16 1991-11-21 Pitney Bowes Inc. Postage meter system for non-volatile storage of data
EP0560717A2 (en) * 1992-03-10 1993-09-15 Frama Ag Postage meter
EP0605313A1 (en) * 1992-12-30 1994-07-06 Neopost Industrie Franking machine with history recording

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0106320A2 (en) * 1982-10-13 1984-04-25 Pitney Bowes Inc. Electronic postage meter having a reset circuit
EP0457114A1 (en) * 1985-10-16 1991-11-21 Pitney Bowes Inc. Postage meter system for non-volatile storage of data
WO1989011134A1 (en) * 1988-05-09 1989-11-16 Ascom Hasler Ag Electronic computing and storage system for franking machines
EP0560717A2 (en) * 1992-03-10 1993-09-15 Frama Ag Postage meter
EP0605313A1 (en) * 1992-12-30 1994-07-06 Neopost Industrie Franking machine with history recording

Also Published As

Publication number Publication date
DE69512718D1 (en) 1999-11-18
FR2722595A1 (en) 1996-01-19
FR2722595B1 (en) 1996-10-04
EP0694886B1 (en) 1999-10-13
DE69512718T2 (en) 2000-03-02

Similar Documents

Publication Publication Date Title
EP0554164B1 (en) Chip card with multi communication protocols
EP0461971B1 (en) Electronic connection device
EP1062633B1 (en) Devices for hiding operations performed in a microprocessor card
EP0437386B1 (en) Security latch for i.c.
EP0740268B1 (en) Memory card and method for using such a card
FR2503423A1 (en) Electronic memory for telephone prepaid transaction card - uses encoded memory to validate alteration of credit balance in on-card non-volatile memory
FR2646942A1 (en) MAP WITH INTEGRATED CIRCUIT
EP0669576B1 (en) Memory redundancy circuit
EP0267114B1 (en) Integrated circuit for memorizing and confidentially processing information, comprising an anti-fraud device
FR2611289A1 (en) PORTABLE ELECTRONIC DEVICE
FR2763738A1 (en) Semi-permanent flash memory for personal organisers, telephones or voice recognition systems etc.
FR2693581A1 (en) Semiconductor memory device e.g. card with SRAM and EEPROM - uses memory to store data attributes and data, buffer circuit and control memory banks
JP2000148507A (en) Method and device for, programming of controller,
FR2642544A1 (en) Data processing system with a security program
EP0735489A1 (en) Method of protecting zones of non-volatile memories
FR2594984A1 (en) INTEGRATED CIRCUIT BOARD ELEMENT FOR DATA PROCESSING DEVICE
FR2711832A1 (en) Non-volatile memory card with ready occupied indication and pins count minimisation
EP0694886B1 (en) Electronic franking system with a rechargeable operating programm in a flash memory
FR2691832A1 (en) Memory control circuit for a memory card.
EP0314530A1 (en) A key-type soft ware usage control device with memory
EP1374249A1 (en) Device and method for partial read-protection of a non-volatile storage
FR2604554A1 (en) SECURITY DEVICE FOR PROGRAMMING AN ELECTRICALLY PROGRAMMABLE NON-VOLATILE MEMORY
EP0851359B1 (en) Method and apparatus for reading a memory having read-protected zones
FR2788353A1 (en) MICROPROCESSOR WITH PROTECTIVE CIRCUITS FOR SECURING ACCESS TO ITS REGISTERS
EP0328436B1 (en) Method and device for the partial decoding of the header of a communication message sent by a first station towards at least a second station, especially in a motor vehicle

Legal Events

Date Code Title Description
PUAI Public reference made under article 153(3) epc to a published international application that has entered the european phase

Free format text: ORIGINAL CODE: 0009012

AK Designated contracting states

Kind code of ref document: A1

Designated state(s): DE FR GB

17P Request for examination filed

Effective date: 19960509

GRAG Despatch of communication of intention to grant

Free format text: ORIGINAL CODE: EPIDOS AGRA

17Q First examination report despatched

Effective date: 19990112

GRAG Despatch of communication of intention to grant

Free format text: ORIGINAL CODE: EPIDOS AGRA

GRAH Despatch of communication of intention to grant a patent

Free format text: ORIGINAL CODE: EPIDOS IGRA

GRAH Despatch of communication of intention to grant a patent

Free format text: ORIGINAL CODE: EPIDOS IGRA

GRAA (expected) grant

Free format text: ORIGINAL CODE: 0009210

AK Designated contracting states

Kind code of ref document: B1

Designated state(s): DE FR GB

REF Corresponds to:

Ref document number: 69512718

Country of ref document: DE

Date of ref document: 19991118

GBT Gb: translation of ep patent filed (gb section 77(6)(a)/1977)

Effective date: 19991201

PLBE No opposition filed within time limit

Free format text: ORIGINAL CODE: 0009261

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: NO OPPOSITION FILED WITHIN TIME LIMIT

26N No opposition filed
REG Reference to a national code

Ref country code: GB

Ref legal event code: IF02

PGFP Annual fee paid to national office [announced via postgrant information from national office to epo]

Ref country code: FR

Payment date: 20100805

Year of fee payment: 16

Ref country code: DE

Payment date: 20100723

Year of fee payment: 16

PGFP Annual fee paid to national office [announced via postgrant information from national office to epo]

Ref country code: GB

Payment date: 20100722

Year of fee payment: 16

REG Reference to a national code

Ref country code: DE

Ref legal event code: R082

Ref document number: 69512718

Country of ref document: DE

GBPC Gb: european patent ceased through non-payment of renewal fee

Effective date: 20110718

REG Reference to a national code

Ref country code: FR

Ref legal event code: ST

Effective date: 20120330

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: DE

Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES

Effective date: 20120201

Ref country code: FR

Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES

Effective date: 20110801

REG Reference to a national code

Ref country code: DE

Ref legal event code: R119

Ref document number: 69512718

Country of ref document: DE

Effective date: 20120201

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: GB

Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES

Effective date: 20110718