Author Topic: Lightsaver issue  (Read 2470 times)

0 Members and 1 Guest are viewing this topic.

Offline Sifo

  • Alter
  • * Exquisite Elder
  • Thread Starter
  • Posts: 7504
  • Location: #GOLDSPRINGS, #LEGITBALLIN
  • Illustrious
Lightsaver issue
« on: Tue, 19 January 2016, 17:58:49 »
I have a new PCB coming but I just wanted to try and solve this problem anyway.

The problem is when I plug it in, it almost always starts up in bootloader mode. At home when I go to flip and press Start Application it will then load my firmware (without uploading hex because the firmware is already flashed)

At work my solution seems to be to mash a bunch of keys and try over and over.

Since the switch I use to enter bootloader mode is set to null (since I don't have a switch there) I don't think that's related, unless there's some sort of bad connection? idk what I'm talking about tbh.

Not a big issue since it still works after some plugging and replugging. Plus again I have a new pcb coming... would just like to figure it out ^_^
I love Elzy

Offline digi

  • elite af tbh
  • * Exquisite Elder
  • Posts: 2789
  • keyboard game on fleek
Re: Lightsaver issue
« Reply #1 on: Tue, 19 January 2016, 18:12:40 »
You're saying the the keyboard boots up already in bootloader mode? Like when you want to flash the firmware with a .hex file?

Offline Sifo

  • Alter
  • * Exquisite Elder
  • Thread Starter
  • Posts: 7504
  • Location: #GOLDSPRINGS, #LEGITBALLIN
  • Illustrious
Re: Lightsaver issue
« Reply #2 on: Tue, 19 January 2016, 18:36:42 »
You're saying the the keyboard boots up already in bootloader mode? Like when you want to flash the firmware with a .hex file?

No when I just want to use it regularly. I've flashed my hex already but it ALWAYS starts in bootloader when I'm trying to use it normally.
I love Elzy

Offline Sifo

  • Alter
  • * Exquisite Elder
  • Thread Starter
  • Posts: 7504
  • Location: #GOLDSPRINGS, #LEGITBALLIN
  • Illustrious
Re: Lightsaver issue
« Reply #3 on: Wed, 20 January 2016, 22:25:23 »
Still happening. Any ideas? I can't install FLIP at work just to hit the start application button...

It seems to go straight into keyboard mode mostly-consistently if I hold down Tilde/Esc/Tab/Caps/Shift/Ctrl column... might be something to do with the USB connector? I don't know this is so weird. Why the hell is it entering bootloader when it's not supposed to ???
« Last Edit: Wed, 20 January 2016, 22:34:51 by Sifo »
I love Elzy

Offline xauser

  • Posts: 97
Re: Lightsaver issue
« Reply #4 on: Fri, 22 January 2016, 13:29:01 »
Hello,

I know three ways how to get atmega to stop after bootloader. By a) hardware button, b) by fuses and c) by software. I assume you haven't touched the fuses so my best guess is that you have a problem with a).

You say you don't use the bootloader key and have set it to null? Please give further details here as I assume that you may have an electrical problem here. What do you mean by 'null'?

Offline Sifo

  • Alter
  • * Exquisite Elder
  • Thread Starter
  • Posts: 7504
  • Location: #GOLDSPRINGS, #LEGITBALLIN
  • Illustrious
Re: Lightsaver issue
« Reply #5 on: Fri, 22 January 2016, 13:30:39 »
Hello,

I know three ways how to get atmega to stop after bootloader. By a) hardware button, b) by fuses and c) by software. I assume you haven't touched the fuses so my best guess is that you have a problem with a).

You say you don't use the bootloader key and have set it to null? Please give further details here as I assume that you may have an electrical problem here. What do you mean by 'null'?

In the lightsaver firmware you can set a key to be blank.

Additionally, there is not a switch soldered onto the switch that makes it enter bootloader.
I love Elzy

Offline xauser

  • Posts: 97
Re: Lightsaver issue
« Reply #6 on: Fri, 22 January 2016, 14:09:29 »
On lightsaver v1 pcb (v1.0.1) you'll need 0V at the bootloader switch (PE2) to trigger the bootloader stop. Check the voltage of your unused bootloader key. It should have 5V at the upper switch pin for your board to work as expected.

May I ask where you've got your pcb replacement from? I might be interested in one as well.
« Last Edit: Fri, 22 January 2016, 14:16:07 by xauser »

Offline Sifo

  • Alter
  • * Exquisite Elder
  • Thread Starter
  • Posts: 7504
  • Location: #GOLDSPRINGS, #LEGITBALLIN
  • Illustrious
Re: Lightsaver issue
« Reply #7 on: Fri, 22 January 2016, 21:25:10 »
On lightsaver v1 pcb (v1.0.1) you'll need 0V at the bootloader switch (PE2) to trigger the bootloader stop. Check the voltage of your unused bootloader key. It should have 5V at the upper switch pin for your board to work as expected.

May I ask where you've got your pcb replacement from? I might be interested in one as well.

The PCB having issues is a 2.0.1 so I don't know if it's the same...

I got the v1 as a leftover from sherryton.
I love Elzy

Offline Sifo

  • Alter
  • * Exquisite Elder
  • Thread Starter
  • Posts: 7504
  • Location: #GOLDSPRINGS, #LEGITBALLIN
  • Illustrious
Re: Lightsaver issue
« Reply #8 on: Sat, 23 January 2016, 22:39:21 »
Upon further experimenting, it seems to function perfectly when not in the case. I have tried putting electrical tape over the switch that would normally need to be held to enter bootloader, but it still enters bootloading while mounted to the case. Wat? Something to do with the stand offs....?????
« Last Edit: Sat, 23 January 2016, 23:04:51 by Sifo »
I love Elzy

Offline Steezus

  • Keeper of Facts
  • * Elevated Elder
  • Posts: 2497
Re: Lightsaver issue
« Reply #9 on: Sat, 23 January 2016, 23:07:58 »
Upon further experimenting, it seems to function perfectly when not in the case. I have tried putting electrical tape over the switch that would normally need to be held to enter bootloader, but it still enters bootloading while mounted to the case. Wat? Something to do with the stand offs....?????

Maybe try cutting out a foam/rubber piece and put it at the bottom. That seems really odd but something has to be shorting out.
TGR-Jane CE | TGR-Tris CE | Lyn Montage | LZ PhysiX | Exclusive e8.5

Offline Sifo

  • Alter
  • * Exquisite Elder
  • Thread Starter
  • Posts: 7504
  • Location: #GOLDSPRINGS, #LEGITBALLIN
  • Illustrious
Re: Lightsaver issue
« Reply #10 on: Sat, 23 January 2016, 23:16:24 »
Upon further experimenting, it seems to function perfectly when not in the case. I have tried putting electrical tape over the switch that would normally need to be held to enter bootloader, but it still enters bootloading while mounted to the case. Wat? Something to do with the stand offs....?????

Maybe try cutting out a foam/rubber piece and put it at the bottom. That seems really odd but something has to be shorting out.

That's what I'm thinking. I don't have any of that ESD safe material that ppl put in boards because I was never really into that >_> grrr
I love Elzy