Author Topic: PFM3 not booting unless I press reset button on bottom of PCB  (Read 2746 times)

matrix12x

  • Team Member
  • ***
  • Posts: 195
    • View Profile
PFM3 not booting unless I press reset button on bottom of PCB
« on: February 23, 2024, 01:45:03 AM »
I recently updated to VOSIM 3 and my PFM3 is not booting unless I press reset button on bottom of PCB.


It may not be VOSIM that is causing this issue. It seemed to be fine after the update, but this not booting thing seems to be happening today.

Any thing I should try out to narrow down the issue?


I'm powering over USB and its the USB power source I always use.
[edit] I used an external power supply also and had exactly the same issue.
« Last Edit: February 23, 2024, 03:41:34 AM by matrix12x »

lokki

  • Sr. Member
  • ****
  • Posts: 383
    • View Profile
Re: PFM3 not booting unless I press reset button on bottom of PCB
« Reply #1 on: February 23, 2024, 05:23:02 PM »
first obvious thing would be to downgrade to the "official" firmware again and see if it works there

Toltekradiation

  • Sr. Member
  • ****
  • Posts: 261
    • View Profile
Re: PFM3 not booting unless I press reset button on bottom of PCB
« Reply #2 on: February 23, 2024, 06:24:31 PM »
yes, as Lokki said, try the official firmware, but i would be surprised if it was that as i never encounter such issue while coding.
Can you enter the bootloader mode with pressing the Menu button on power up ?


matrix12x

  • Team Member
  • ***
  • Posts: 195
    • View Profile
Re: PFM3 not booting unless I press reset button on bottom of PCB
« Reply #3 on: February 23, 2024, 09:04:51 PM »
"first obvious thing would be to downgrade to the "official" firmware again and see if it works there"
I just tried putting P3_1.02 and have the same issue. (good point thought) I kind of figured it was not the VOSIM OS. I'm wondering what type of hardware issue might cause this.


"Can you enter the bootloader mode with pressing the Menu button on power up?"
Not on initial power up (I.e. plugging in the DC power). I have to hit the reset button first (and hold menu or whatever) to get to boot loader.

So if I plug in power and I don't hit the reset button the screen stays black and the red led next to the microprocessor never blinks. The blue led and yellow LED stay lit.

[edit] new datapoint, I went to do the DFU style boot loader update where you tie boot0 pins with vcc on back side of the main PCB. I jumpered the right most two boot0 pins and powered on by connecting the DC power... and now everything is working normally.....
To be clear, I did not update in DFU mode yet, just jumpered those 2 pins and plugged in power and it consistently boots fine. Super weird.
« Last Edit: February 23, 2024, 10:17:00 PM by matrix12x »

matrix12x

  • Team Member
  • ***
  • Posts: 195
    • View Profile
Re: PFM3 not booting unless I press reset button on bottom of PCB [Solved]
« Reply #4 on: February 24, 2024, 06:01:34 PM »
I think it's solved.

ahh, I'm wondering if a jumper fell off those pins. looking at the build docs, those 2 right most pins should have a jumper. My PCB does not have this legend on the silkscreen.

https://github.com/Ixox/preenfm3/wiki/build/pfm3_back.jpg
 

Xavier

  • Administrator
  • Hero Member
  • *
  • Posts: 2259
    • View Profile
Re: PFM3 not booting unless I press reset button on bottom of PCB
« Reply #5 on: February 25, 2024, 05:18:27 PM »
Nice to read its now fixed.

Without a jumper to set boot0 to GND the boot select in unpredictable.
I think a jumpter fell off, or you were lucky untill now to have it working all the time.