Project

General

Profile

Compiled version of IOtest

Added by HansPeterHaastrup almost 5 years ago

Hello there,
Is it possible to have a precompiled version of the IO test firmware in the github repo?
I only have a windows machine and setting up GCC will take up most of my evenings.. Anyone helpful? :)

Thanks in advance!


Replies (11)

RE: Compiled version of IOtest - Added by HansPeterHaastrup almost 5 years ago

Aren't anyone using this firmware anymore?

RE: Compiled version of IOtest - Added by Springuin almost 5 years ago

I wish I could help you, I did use it in the past, but I don't have the bin file and am not able to compile it atm.
Maybe anyone else who still has the file?

Another approach: what do you want to do? Is there something that's not working correctly or do you want to test something specific? Maybe there is another way.

RE: Compiled version of IOtest - Added by HansPeterHaastrup almost 5 years ago

I'm building a slightly smaller version of the main controller board, using surface mount components. Mainly because that's my kind of fun (being an electronics engineer) and to get some of the parts updated. I remember somebody talking about the optocouplers being slow or something like that.
Essentially what i've done is to make the PCB less than 10 by 10cm so it can be ordered from a chinese fabhouse (seeedstudio for example).

Well, long story short - I'm testing out the endstop connections and if I remember correctly the IO test firmware will light up the LEDs on the mBed when the endstop are triggered, right?

RE: Compiled version of IOtest - Added by jaap almost 5 years ago

Hi Hans,

The precompiled IOtest disappeared when I removed the old website. Sorry for that.

As you suggested, I have now added a precompiled verison of IOtest to the github repository:
https://github.com/LaosLaser/Firmware/blob/master/iotest-2015-08-26.bin

I didn't test it, but I guess it should work.

I'm curious about your smaller version of the controller board, that's something I would like to develop too!

RE: Compiled version of IOtest - Added by HansPeterHaastrup almost 5 years ago

Great! Thank you very much! I believe that I found the test firmware on mbed.org a long while ago but it was gone again when I had my boards made. I will try it out as soon as possible!

Regarding the smaller board - I will be happy to share the files (although they are done in DesignSpark) when I have confirmed that everything works.
I have made a smaller version of the controller board as well. It should fit a 5*5cm board. I haven't had it produced yet but maybe that could be of interest later on as well

RE: Compiled version of IOtest - Added by jaap almost 5 years ago

I found some bugs in the IOtest version above. I added ethernet test and made a new binary version:
https://github.com/LaosLaser/Firmware/blob/master/iotest-2015-09-16.bin

RE: Compiled version of IOtest - Added by jegb over 4 years ago

could you explain what is the procedure to follow ?
1-Copy the config.txt and iotest bin to the mbed and SD card too?

2-Then open terminal over usb and connect with mbed OR over ethernet?
when I connect over usb, I see that pressing keys mbed blinks, but there is no response.
I have connected the stepper drivers and motors, but not the endstops. I could measure signals and debug outputs, but I wonder if there is any first start up instructions that I am missing.

I2c display just shows the welcome message, not the main menu.

RE: Compiled version of IOtest - Added by jaap over 4 years ago

iotest.bin doesn't read the config.txt file

you need a working serial terminal on your mbed to use iotest, the tests are run by typing commands on the serial terminal: http://redmine.laoslaser.org/projects/laos/wiki/TestFirmware

RE: Compiled version of IOtest - Added by jegb over 4 years ago

I noticed that pressing x (or other commands) blinks mbed led, but I do not see any response on terminal.
Using screen /dev/tty.xx 115200 on mac, and connected over usb directly to mbed.

Next I will start hooking probes from oscilloscope to find what is the output behavior.

RE: Compiled version of IOtest - Added by jaap over 4 years ago

Downloaded that version from Github just to make sure. All I can say is that it works for me, on 115200 baud. So I guess something is wrong with your serial communication. Maybe a bad cable or bad connection somewhere?

RE: Compiled version of IOtest - Added by jegb over 4 years ago

Now I have figured out...
When you download the bin file from github, make sure you save it as raw, not using right mouse save as, as it corrupts the bin file.

Hope is useful for others.

    (1-11/11)