Welcome! Log In Create A New Profile

Advanced

nit responding

Posted by alfadex 
nit responding
November 27, 2012 11:24AM
Hello everybody !!
I am trying days now to put the bootloader into the atmega1284p but it says



this is my board



i have made the parallel cable from here [arduino.cc]

and i sent this through command prompt

avrdude -p atmega1284p -C C:\arduino-1.0.1\hardware\tools\avr\etc\avrdude.conf -c dapa -P lpt1 -U lfuse:w:0xFF:m -U hfuse:w:0xDC:m -U efuse:w:0xFD:m

I am sure i have forgot something but i cant understand what is this
Re: nit responding
November 27, 2012 02:06PM
not its says this


Re: nit responding
November 27, 2012 04:57PM
ok i make some impovments
I use -F to override this ckeck and now i am here



It tries to write the first fuse ,but it fails , why??

Edited 1 time(s). Last edit at 11/27/2012 05:12PM by alfadex.
Re: nit responding
November 28, 2012 05:53AM
Maybe the parallel port thingy can't keep up with the speed given by the -B 5 flag?. -B 50? Perhaps a baud rate flag, like -b 9600?

Can't help much with this type of device, but the Arduino people might have hints. This procedure is exactly the same as on an Arduino, as the circuitry is also the same.

Using the -F flag isn't a good idea. If the signature can't be read reliably, you don't want it to write anything, as this writing might be pretty much random.


Generation 7 Electronics Teacup Firmware RepRap DIY
     
Re: nit responding
November 29, 2012 04:23AM
tnx for replying
I take of the chip from the the board and I place it to mybreadboard, I make a parallel cable from the beggining and I made this



so the result is rewarding
I didn't not use -f



Afterwards , i try to upload the hex but when it reach at 100% of verifiacation it says verification error !! I 've search here ,i 've search other forums but everyone says something different



I use differnet baud rates - b

I change the resistors with smaller

i use decoupling capacitors

i use smaller cable from paraller to the breadboard about 20 cm cable

i use diferent crystals

I use differnt SPI clock changing the -B 10 until - B 1000

I change LPT1 and use LPT2 ( but i doesn't work at all)

but the same ,what do you suggest to do now please?

Edited 1 time(s). Last edit at 11/29/2012 04:35AM by alfadex.
Re: nit responding
November 29, 2012 06:12AM
Great to see this at least partially working.

0x1F800 is the first byte of the bootloader, so apparently nothing is written at all. It might be an issue with flash being bigger than 64k, requiring more than 16 bits for adressing. The AVR toolchain didn't support this before the big chips became available. Maybe avrdude's dapa code still doesn't? Can you write a non-bootloader firmware < 64k onto the chip?


Generation 7 Electronics Teacup Firmware RepRap DIY
     
Re: nit responding
November 29, 2012 07:14AM
I don't know,how am i going try this? I don't have a non-bootloader firmware,can you sent me one please?
Re: nit responding
November 30, 2012 06:52AM
Sure you have. They're named "Teacup", "Marlin", "Sprinter", "Repetier", ...


Generation 7 Electronics Teacup Firmware RepRap DIY
     
Re: nit responding
November 30, 2012 08:11AM
I am sory but i canot understand what i should do now. You mean instead of loading bootloader-1284p-20Mhz.hex to load one of these files? I can not find where these files are.
Re: nit responding
January 14, 2013 06:46PM
Hi, finally ,i could upload the bootloader and the test file and when i open the switch of my power supply led bed blinks 10 times as it should.
Now i am trying to upload the teacup firmware through CP2102 Module USB to USART(UART) (baud rate seted to 115200) and i take this

Re: nit responding
January 15, 2013 07:27AM
Timeout means, there is no communications at all. A common cause is, the bootloader isn't listening.

The bootloader listens for 3 seconds after a reset, only, so you have to press and release Reset right before Arduino attempts to upload. The upload starts when Arduino reports the size of the build (white text).


Generation 7 Electronics Teacup Firmware RepRap DIY
     
Re: nit responding
January 15, 2013 01:27PM
Yessss you are right i did it finally

i am moving to the next step!

Edited 1 time(s). Last edit at 01/15/2013 01:37PM by alfadex.
Re: nit responding
January 20, 2013 08:39PM
ok, i adjust the drivers for moter ,but y and x is going only in one direction.I change the cables from the moter but i could not find any combination that goes both sides.It goes only left OR only right direction.I have place opto end stops.
When i set it to the other direction ,the power suply turns off!
Should i change something in firmware?

Edited 1 time(s). Last edit at 01/20/2013 08:45PM by alfadex.
Sorry, only registered users may post in this forum.

Click here to login