Git Product home page Git Product logo

rommask's Introduction

Java Card ROM Mask Generator

Copyright and license

Copyright (C) 2020

This software is licensed under the MIT license. See LICENSE file at the root folder of the project.

Author

Description

The Java Card ROM mask generator is a part of CHOUPI Project. It aims a generating a rommask which will initialising the flash memory.

Getting this project

To clone the repository and its dependency, you should execute the following command:

git clone --recursive https://github.com/choupi-project/rommask

Building

Dependencies

The Java Card ROM Mask generator depends on:

  • CAP file manipulator: a Java library developed by University of Limoges SSD Team which aims at reading a Java Card CAP file and modifying it. This library is it a git submodule of this project.
  • Maven: to build the project. To install maven, read this page or check on you Linux package repository.

Building Java Card ROM mask

The main Makefile is in the root directory, and compiling is as simple as executing:

make

Running & usage

When the rommask is build, you can run it as:

java -jar ./target/rommask-1.0-jar-with-dependencies.jar

This execution reveals required parameters:

Usage: java -jar target/rommask-1.0-jar-with-dependencies.jar [--compact|--toCfile]
                 <directory which contains jca files to parse> <bin> <C header> <Starting Java Card method>

  --compact: Compute only the sector where data will be there and write as a binary file.
  --compactHex ADDRESS: Compute only the sector where data will be there and write as an intel hex file.
                        The address, must be encoded in hexadecimal, set the begin address of the data to write.
  --toCFile: Generate de C file with the sector to initialize.
  out: C/C++ file where the parsed JCA files will be stored as a C-array.
  bin: Parsed JCA files will be stored in a binary file.
  C header: C header file to implement Java Card native functions.
  Starting Java Card method: The first Java Card method run when the JCVM starts.
                             This value should be as com.package.Class.method.

rommask's People

Contributors

stroumph avatar fandigunawan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.