Code Monkey home page Code Monkey logo

fujitsu_rom_com's Introduction

Fujitsu Serial Programming Mode Replacement

Fujitsu Cortex-M3/M4 SoCs have boot ROM support for entering "serial programming mode", via UART or USB. This mode is activated by setting pins MD[1:0] = b'01' (they need to be externally pulled down during normal operation). With these pins configured, the ROM will use UART or USB to download code to SRAM and then execute it.
This project was specifically targetting a version of the MB9B500 series, however it should work with small tweaks for entire FM3/FM4 product line (or the decendents perhaps branded as Spansion or Cypress now...).

Prerequisites

The devices speak some dumb serial-over-usb dialect. In order to simplify interfacing with it from a PC, you can use the virtual COM port driver (USBVCOM.SYS driver, for windows). Currently it is available in the "USB Direct" tool: http://www.cypress.com/documentation/software-and-drivers/flash-usb-direct-programmer-1

But why?

Fujitsu has a very crappy, ancient win32 program which uploads their own mystery code blob to SRAM and interfaces with that to allow a few simple commands like erasing flash and writing new data to flash. This project completely replaces all code running on the Fujitsu part (server code in SRAM), and on the PC (client written in python). This allows rapid testing of code on the device and doing completely custom things.

Helpful docs

fujitsu_rom_com's People

Contributors

shuffle2 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.