thetazzbot / FreeExpression

GNU General Public License v2.0
62 stars 20 forks source link

Software verified successful flash, unit has no LCD image, and the Cutter will not cut. #18

Open thehandygraham opened 3 years ago

thehandygraham commented 3 years ago

I followed the tutorial, everything worked out as far as hardware setup and flashing. AtmelStudio verified flash as successful, however when powering on the machine there was not LCD activity. I sent a test cut to the machine which slightly moved the cutter over to the left, then stopped. no further activity occurs.

sampfalcon commented 3 years ago

I had the same problem! It took me a few days to figure out, but fuse settings are very important! Make sure the low fuse is 0x42, the high fuse is 0xD9, and the extended fuse is 0xFF. If you are using microchip’s atmel studio with an actual ISP, there is a setting in fuses for JTAG. Make sure it is off! That is what is happening to you. If you used an arduino acting as a ISP, use avrdude and set every fuse in your code. Let me know if you have questions, but I worked on this problem for a while and wanted to help! This is probably too little too late but I figured I’d share!

fritzgutten commented 1 year ago

"a moment later...." Hey, dont know if anyone is listening anymore but thought this was applicable to my situation I entered this command:

avrdude.exe -F -U lfuse:w:0x42:m -U hfuse:w:0xd9:m -U efuse:w:0xFF:m -v -p m1281 -c arduino -P COM3 -b 19200 -U flash:w:"C:\Users\fritz\Downloads\FE\FreeExpression-master\src\Debug\FreeExpression.hex":i -C C:\Users\fritz\Downloads\avrdude-v7.1-windows-x64\avrdude.conf

And it errors out when writing the house with this: image

I'm using an Arduino as isp and it seems to be writing... Although I may have bricked it. I really don't know what i'm doing

adl2494 commented 1 year ago

"a moment later...." Hey, dont know if anyone is listening anymore but thought this was applicable to my situation I entered this command:

avrdude.exe -F -U lfuse:w:0x42:m -U hfuse:w:0xd9:m -U efuse:w:0xFF:m -v -p m1281 -c arduino -P COM3 -b 19200 -U flash:w:"C:\Users\fritz\Downloads\FE\FreeExpression-master\src\Debug\FreeExpression.hex":i -C C:\Users\fritz\Downloads\avrdude-v7.1-windows-x64\avrdude.conf

And it errors out when writing the house with this: image

I'm using an Arduino as isp and it seems to be writing... Although I may have bricked it. I really don't know what i'm doing

What device are you flashing to? I highly doubt its bricked.

thetazzbot commented 1 year ago

Sorry I can't help much with this one. I have not flashed mine in ages. Probably should dust it off and play with it for a bit and update the guides for the updated software.

On Thu, Jun 22, 2023 at 7:07 PM adl2494 @.***> wrote:

"a moment later...." Hey, dont know if anyone is listening anymore but thought this was applicable to my situation I entered this command:

avrdude.exe -F -U lfuse:w:0x42:m -U hfuse:w:0xd9:m -U efuse:w:0xFF:m -v -p m1281 -c arduino -P COM3 -b 19200 -U flash:w:"C:\Users\fritz\Downloads\FE\FreeExpression-master\src\Debug\FreeExpression.hex":i -C C:\Users\fritz\Downloads\avrdude-v7.1-windows-x64\avrdude.conf

And it errors out when writing the house with this: [image: image] https://user-images.githubusercontent.com/131905603/248060849-8c7b4f6a-1190-4426-a11d-43758fb81744.png

I'm using an Arduino as isp and it seems to be writing... Although I may have bricked it. I really don't know what i'm doing

What device are you flashing to? I highly doubt its bricked.

— Reply to this email directly, view it on GitHub https://github.com/thetazzbot/FreeExpression/issues/18#issuecomment-1603458861, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABE32COSRVBX74X37F5QS3XMTM4HANCNFSM4S56TPMA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

fritzgutten commented 1 year ago

I'm flashing to the atmega1281 on my expression.. When I run the command again it acts exactly same as it did the first time, same errors, etc. Ill take any thoughts anyone might have!!!

ellisgl commented 1 year ago

I should check to see if my fork still compiles. https://github.com/ellisgl/FreeExpression/

fritzgutten commented 1 year ago

Hey, what clock speed it this chip running at?

ellisgl commented 1 year ago

Should be 16MHZ iirc

fritzgutten commented 1 year ago

Thanks!