May have made a bad mistake

I think what the script is forgetting is that not everybody is running it from their Debian unstable Reform laptop. :slight_smile:

Pushing the DIP switch away from the hinge is “on”. I don’t know the answer to what the switch position should be out of the top of my head.

I really don’t want to burn the board out by just trying it. Is there anyone out there that can confirm if battery power must be enabled to flash the firmware?

I’m very ready to start and try it out now that I have the software sorted.

@minute Could I ask that you weigh in on this? Power on or off for the system firmware flash?

Well, got an answer on the power issue, and proceeded with the instructions. Now I’m getting:

murph@penguian:~/pocket/pocket-reform/pocket-reform-sysctl-fw$ ./build.sh
CMake Error at lib/pico_sdk_import.cmake:52 (message):
  Directory '/usr/src/pico-sdk' not found
Call Stack (most recent call first):
  CMakeLists.txt:3 (include)


-- Configuring incomplete, errors occurred!
make: *** No targets specified and no makefile found.  Stop.

I’ll try to figure out how to set that. There is a pico-sdk directory in the directory that got git cloned in. I’m not sure why it hasn’t been set to where it put the files.

Just out of curiosity, this CAN be run from an x86_64 machine, right? I don’t need a machine of the same architecture to repair this, do I?

Yes, as long as you have a gcc-arm-none-eabi compiler.

regarding what we discussed IRC:

murph@minute:~/firmware/pocket-reform/pocket-reform-keyboard-fw/pocket-hid$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 0451:8142 Texas Instruments, Inc. TUSB8041 4-Port Hub
Bus 001 Device 003: ID 1209:6d07 Generic Pocket Reform System Controller 1.0
Bus 001 Device 004: ID 058f:6254 Alcor Micro Corp. USB Hub
Bus 001 Device 005: ID 24f0:0142 Metadot Das Keyboard
Bus 001 Device 006: ID 047d:1020 Kensington Expert Mouse Trackball
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 002: ID 0451:8140 Texas Instruments, Inc. TUSB8041 4-Port Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 1209:6d07 Generic Pocket Reform System Controller 1.0
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

Wow, got it. It’s been a long road. Many thanks to potatoespotatoes and a ton of help from zeha, I’m up and running.

2 Likes

What was the answer?

How did you get it working in the end?

Where is the current documentation wrong or lacking so that we can fix things for the next person in your shoes?

Thanks!

It was a long road, I made mistakes, which required quite a bit of additional troubleshooting and help. I think that some of this should be added to the documentation. I tried to save the IRC logs, (and I’ll grab some shell history as well.) and I’ll maybe try to write up my experiences, but it was a long day, so I didn’t do it immediately.

2 Likes