Post Reply 
Flashing HP15CE with linux
11-29-2024, 04:47 PM (This post was last modified: Yesterday 06:17 AM by Idnarn.)
Post: #41
RE: Flashing HP15CE with linux
Update: Please see a newer post in this thread for updated steps that I used to flash on Linux using a different fork of BOSSA.

(11-28-2024 05:56 PM)blackjetrock Wrote:  Same result, I'm afraid...

Can you try the BOSSA tool and see if flashing with it works?

* Compile it from source from master branch of: https://github.com/shumatech/BOSSA
* Also merge this PR that adds support for SAM4L devices before you compile: https://github.com/shumatech/BOSSA/pull/143

For git commands to get to this tree state, see the commands prefixed with $ below:

Code:

$ git clone https://github.com/shumatech/BOSSA
Cloning into 'BOSSA'...
remote: Enumerating objects: 1727, done.
remote: Total 1727 (delta 0), reused 0 (delta 0), pack-reused 1727 (from 1)
Receiving objects: 100% (1727/1727), 1.15 MiB | 16.61 MiB/s, done.
Resolving deltas: 100% (1321/1321), done.
$ cd BOSSA/
$ ls
appletgen*  install/  LICENSE  Makefile  README.md  res/  src/
$ git remote add nandojve https://github.com/nandojve/BOSSA
$ git fetch nandojve
remote: Enumerating objects: 19, done.
remote: Counting objects: 100% (12/12), done.
remote: Total 19 (delta 12), reused 12 (delta 12), pack-reused 7 (from 1)
Unpacking objects: 100% (19/19), 4.96 KiB | 846.00 KiB/s, done.
From https://github.com/nandojve/BOSSA
 * [new branch]      arduino     -> nandojve/arduino
 * [new branch]      bossa/sam4l -> nandojve/bossa/sam4l
 * [new branch]      master      -> nandojve/master
$ git merge nandojve/bossa/sam4l
Updating 3532de8..53f8401
Fast-forward
 Makefile          |   2 +-
 src/CalwFlash.cpp | 210 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++​++++++++++++++++++
 src/CalwFlash.h   |  84 +++++++++++++++++++++++++++++++++++++
 src/Device.cpp    |  26 +++++++++++-
 src/Device.h      |   2 +
 src/Flash.h       |   8 ++++
 6 files changed, 330 insertions(+), 2 deletions(-)
 create mode 100644 src/CalwFlash.cpp
 create mode 100644 src/CalwFlash.h
$

With Debian bookworm (such as for a Raspberry Pi 5 user), it'll also need the following patch to bump the wx version dependency:
Code:

diff --git a/Makefile b/Makefile
index 650fa65..2645392 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@
 # Version
 #
 VERSION?=$(shell git describe --tags --dirty)
-WXVERSION=3.0
+WXVERSION=3.2
 
 #
 # Source files

I confirm that BOSSA properly compiles with the above on Debian bookworm, but I don't have a screwdriver handy right now to connect my HP 15C CE and try it.

Update: Please see a newer post in this thread for updated steps that I used to flash on Linux using a different fork of BOSSA.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Flashing HP15CE with linux - blackjetrock - 11-27-2024, 07:47 AM
RE: Flashing HP15CE with linux - RPNerd - 11-27-2024, 08:31 AM
RE: Flashing HP15CE with linux - RPNerd - 11-27-2024, 08:41 AM
RE: Flashing HP15CE with linux - rprosperi - 11-27-2024, 12:37 PM
RE: Flashing HP15CE with linux - Jase - 11-27-2024, 12:49 PM
RE: Flashing HP15CE with linux - Idnarn - 11-27-2024, 03:08 PM
RE: Flashing HP15CE with linux - Idnarn - 11-27-2024, 03:07 PM
RE: Flashing HP15CE with linux - Idnarn - 11-27-2024, 03:35 PM
RE: Flashing HP15CE with linux - Idnarn - 11-27-2024, 05:52 PM
RE: Flashing HP15CE with linux - Idnarn - 11-28-2024, 01:18 AM
RE: Flashing HP15CE with linux - Idnarn - 11-29-2024 04:47 PM
RE: Flashing HP15CE with linux - Idnarn - 11-29-2024, 05:26 PM
RE: Flashing HP15CE with linux - Idnarn - 11-29-2024, 05:06 PM
RE: Flashing HP15CE with linux - Idnarn - 11-29-2024, 05:07 PM
RE: Flashing HP15CE with linux - Idnarn - 11-29-2024, 05:50 PM
RE: Flashing HP15CE with linux - Idnarn - Yesterday, 03:36 AM



User(s) browsing this thread: 27 Guest(s)