Firmware compilation issue

Dear Velleman team,

I am trying to upload the file “Marlin.ino” to my new 3D printer K8400 (single Head) by following the instructions. However I got a recurrent error message with Arduino (1.6.10 (Mac OS X), Board: “Arduino Mega ADK”).

The error tells (@line #38):

exit status 1
using typedef-name ‘fpos_t’ after ‘struct’

I would appreciate your help with this issue ASAP.

Thanks!

Alejo

viewtopic.php?f=61&t=17980

Thank you for your feedback “jj_2016”, it was very helpful. However, although the compilation issue was solved after installing the Arduino 1.0.6 (only when preceded by the installation of Java for OS X 2015-001; support.apple.com/kb/DL1572?vie … cale=en_US), a new upload problem came up. The uploading of Marlin is too slow (>4hours and running), so I have not been able to finish to instal the firmware. I believe that there is something wrong in the communication between Arduino and the 3D printer. According to the Velleman’s instructions (2. CHOOSING THE FIRMWARE), I installed the serial port (/dev/tty.usbserial-XXXX) and selected the right board (Meha 2560 or Mega ADK) so there is nothing missing in the installation protocol. The installation of the serial port was followed by restarting the system.

I also noticed that the default firmware version installed in my 3D printer is the M:1.0 V:1.1 HEADS:2 and not that M:1.0 V:1.0 HEADS:2 (manuals.velleman.eu/article.php?id=225). Finally there is a light flickering persistently along the uploading process on the main board, this light is at LD1(behind the reset button/main board).

Thus, could someone tell me what the solution of this issue is?

Thanks for helping!

P.S: Some time Arduino shows this error message some times: avrdude: stk500v2_ReceiveMessage(): timeout

It should take less than a minute to upload the new firmware after compilation. You did put the jumper on the JPROG header pins?

Dear JJ_2016.

Yes, I plugged the jumper indeed. Now your question makes me wonder whether there is a major serious problem in my printer. What shall I do then?

Best,

I wouldnt draw that conclusion yet. Have you installed the FTDI driver?

Dear jj_2016,

Thank you for your time and advice. I think I found a transient solution. I did manage to instal the firmware using an old laptop having Windows 7, then everything was smooth was indicated. The uploading time was about 1min and finally the printer display shows “Vertex is ready”. I am afraid that the combination of the firmware (Version M1-V1.4-H1), the USB serial port, MAC (OS X, Yosemite+Java for OS X 2015-001) and the Arduino 1.0.6 needs to be revised. As soon as I install the second printing head I would have to play around to see if the same uploading issue persists with the M1-V1.4-H2.

Thank you very much!

Best,