Welcome! Log In Create A New Profile

Advanced

Problem with Marlin firmware in Printrboard AT90USB1286

Posted by sach00 
Problem with Marlin firmware in Printrboard AT90USB1286
October 10, 2013 07:47AM
hello everyone

i am struck in the marlin firmware & Printrboard AT90USB1286 controller
i already wasted week for solution ,my story is too long so i keep it to point & below are thing i did & occur problems

1: I damaged 16 MHz Printrboard on board resonator while removing (bad reason behind this), So I replace the resonator with the 16 MHz crystal oscillator with the 20 pf cap on Printrboard ,i did check frequency on xtal pin 1 of AT90USB1286 on dso it appears around 16 MHz.

2:so i set the fuse bits setting for oscillator and uploaded bootloader code on chip AT90USB1286
lfuse :0xFF hfuse: 0xDB efuse : 0xF3

Here is the problem no 1

3: Then i uploaded marlin firmware (code size around 85kbytes) which has defined lcd & encoder code definition (configuration .h)
and my printrboard shows com port in boot loader mode but it didn't show up com port in device manger in normal mode so i unable connect it to Pronterface

Here is the problem no 2

4: so i undefined the code of lcd & encoder in code(configuration.h) (code size around 50kbytes) and i uploaded that to printrboard it was showing and connecting with pronterface but my x ,y stepper motors running too slow while homing & i got the frequency around 230hz on step pin of driver

accroding to homing feedrate my frequency while homing should be around
= 79.95 (AXIS_STEPS_PER_UNIT ) * 80 ( HOMING_FEEDRATE)
= which is around 6 khz

but it appear 230 hz
and other (configuration.h) setting

below are my configuration setting

#define HOMING_FEEDRATE {80*60, 80*60, 0.5*60, 0}

#define DEFAULT_AXIS_STEPS_PER_UNIT {79.95,80.15,4035.5,513.59}

#define DEFAULT_MAX_FEEDRATE {80, 80, 0.75,10}
#define DEFAULT_MAX_ACCELERATION {4800,4800,45,600}

#define DEFAULT_ACCELERATION 3000
#define DEFAULT_RETRACT_ACCELERATION 3000


i hope i will get solution for this strange problem,

Thnx in advance

Edited 1 time(s). Last edit at 10/10/2013 09:08AM by sach00.
Re: Problem with Marlin firmware in Printrboard AT90USB1286
October 14, 2013 10:58AM
finally got the solution smiling smiley ,,,Its arduino compiler problem
Sorry, only registered users may post in this forum.

Click here to login