adrianbowyer / reprapltd-engineering Goto Github PK
View Code? Open in Web Editor NEWStore for production information we use. That is, bits of RepRap that we freeze for production.
Store for production information we use. That is, bits of RepRap that we freeze for production.
Hi,
I've encountered some issues while setting up Adrian Bowyer's Java Host Sprinter firmware.
I have RAMPS 1.4, I'm running Windows 7 (64-bit) with 32-bit Java in Eclipse.
I've set up Java Host on my machine in Eclipse so that I can spy on the serial transmissions in debug mode (I just put system.out.println commands where it reads and writes to the serial port) to see what RAMPS and Host are saying to each other.
Previously this weekend I was experimenting with Teacup and encountered some other issues. Then I noticed that the Host Software guide in the Mendel user manual recommends only two firmwares, FiveD and Java Host Sprinter. Java Host Sprinter does not appear on the list of firmwares.
I decided to try Java Host Sprinter on my RAMPS electronics. The first thing I noticed was that I could find no install instructions except for these instructions specifically for Sanguino electronics in Ubuntu. I decided not to let that stop me and pressed onward, but I note that if this is going to be a viable official firmware option, it should have more thorough and/or generic installation instructions.
The next issue I encountered, while unzipping the folder, is "identical" files in the /Sprinter_ab/ folder:
configuration.h
Configuration.h
configuration.h.dist
Configuration.h.dist
Windows, unlike Linux, treats filenames as case-insensitive so it asked which one I wanted to overwrite the other. I ran a dif on configuration.h and Configuration.h to compare them, and decided that the lower-case file looked like the more recent one, so I used that one.
In /Sprinter_ab/configuration.h, I set #define MOTHERBOARD 3 for RAMPS, although it's not clear which version of RAMPS this is compatible with.
The instructions in the readme say to upload /Sprinter/Sprinter.pde. But I assume that it actually intends for me to upload /Sprinter_ab/Sprinter_ab.pde, so I uploaded this to my RAMPS arduino instead.
I then loaded up RepRap Host in Eclipse, and ran it in debug mode to watch the communications. Here's what is printed to the console:
Native lib Version = RXTX-2.1-7
Java lib Version = RXTX-2.1-7
Host says: M110
Sprinter says: start
Sprinter says:
... And the code halts here and nothing else happens. Sprinter is supposed to say "ok" at this point. Teacup did. But it never gets any farther than this, so the Host GUI never appears.
Does anyone know what might be going wrong?
Jacob
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.