Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant load custom bin or any logo dfus using PineFlash on Mac M3 #79

Open
johncohn opened this issue Sep 7, 2024 · 0 comments
Open

Cant load custom bin or any logo dfus using PineFlash on Mac M3 #79

johncohn opened this issue Sep 7, 2024 · 0 comments

Comments

@johncohn
Copy link

johncohn commented Sep 7, 2024

First.. thanks we're making such an awesome tool to support the pinecil V2. I' having trouble uploading custom .bin files like the one here or any of the stock Logos in .dfu form from the IronOs-Meta repo here

As background :I'm running on a Macbook M3 running Sonoma 14.4.1 (23E224). I was able to build PineFlash on my machine using the (excellent) Build Option 2: Manual Build instructions here directions here

I was able to run PineFlash as/Users/myusername/PineFlash/target/release/Pineflash. and successfully upload IronOs to my pinecil V2. I verified it was working by successfully uploading IronOs in different languages

In each case when i try to upload a .bin or .dfu file from Pineflash I get the trace below which seems to indicate it's not finding a file, even though I use the file explorer to point at the .bin or .dfu files.
Please see the trace below with env var RUST_BACKTRACE=full
Any idea what I may be doing wrong or what I should try ?
thanks
-jc

johncohn@Johns-MacBook-Pro release % ./pineflash thread 'main' panicked at src/submodules/main_panel.rs:111:76: Could not find blisp: Os { code: 2, kind: NotFound, message: "No such file or directory" } stack backtrace: 0: 0x104eb9dd8 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h4699abefd07a84a3 1: 0x104ed0ba0 - core::fmt::write::he20999f7a51cdf3e 2: 0x104eb3e48 - std::io::Write::write_fmt::hf214e623647db141 3: 0x104eb9c2c - std::sys_common::backtrace::print::h99c92515f9244444 4: 0x104eaf714 - std::panicking::default_hook::{{closure}}::h9ee44d77b22015e9 5: 0x104eaf41c - std::panicking::default_hook::h1574e360da6cf342 6: 0x104eafac0 - std::panicking::rust_panic_with_hook::h8c63523cb5f49fbc 7: 0x104eba1a4 - std::panicking::begin_panic_handler::{{closure}}::h22187a0d322c75e4 8: 0x104eba000 - std::sys_common::backtrace::__rust_end_short_backtrace::ha6c62cb1233a6655 9: 0x104eaf808 - _rust_begin_unwind 10: 0x104f05a94 - core::panicking::panic_fmt::h48dfedcd5cf205f7 11: 0x104f05fac - core::result::unwrap_failed::h5e4590a7ae843be2 12: 0x104b5439c - core::ops::function::FnOnce::call_once{{vtable.shim}}::h323e2355a35e98e9 13: 0x104b6abbc - egui::ui::Ui::horizontal_with_main_wrap_dyn::h5fd86c208533d3c8 14: 0x104b55308 - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha405862a2440dc71 15: 0x104b69a64 - egui::ui::Ui::with_layout_dyn::h528d8f8be2363f08 16: 0x104b562e4 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf322843402ccf324 17: 0x104b6ad9c - egui::ui::Ui::horizontal_with_main_wrap_dyn::hb0aa160bd38373a4 18: 0x104b55860 - core::ops::function::FnOnce::call_once{{vtable.shim}}::he3a0a6540971b106 19: 0x104b820f4 - egui::containers::panel::CentralPanel::show_dyn::hb2c7f3a8098db32a 20: 0x104b5aa64 - <pineflash::Flasher as eframe::epi::App>::update::hf4161bbbd6c67d68 21: 0x104d45f88 - eframe::native::epi_integration::EpiIntegration::update::hc80df0946ca4c340 22: 0x104d2c784 - <eframe::native::glow_integration::GlowWinitApp as eframe::native::winit_integration::WinitApp>::run_ui_and_paint::ha6608a98acc4e151 23: 0x104d4f2b4 - eframe::native::run::run_and_return::{{closure}}::h6401849573f4dbe7 24: 0x104d46a7c - <winit::platform_impl::platform::app_state::EventLoopHandler<T> as winit::platform_impl::platform::app_state::EventHandler>::handle_nonuser_event::hd047a11dc8d528dc 25: 0x104dd366c - winit::platform_impl::platform::app_state::Handler::handle_nonuser_event::hf5b4450646f5e46f 26: 0x104dd177c - std::panicking::try::hde1324262112e397 27: 0x104ddbbb8 - winit::platform_impl::platform::observer::control_flow_end_handler::h5ac528119a8183de 28: 0x19e879254 - <unknown> 29: 0x19e879140 - <unknown> 30: 0x19e878868 - <unknown> 31: 0x19e877e0c - <unknown> 32: 0x1a9013000 - <unknown> 33: 0x1a9012e3c - <unknown> 34: 0x1a9012b94 - <unknown> 35: 0x1a20d0970 - <unknown> 36: 0x1a28c2dec - <unknown> 37: 0x1a20c3cb8 - <unknown> 38: 0x104d4df20 - winit::platform_impl::platform::event_loop::EventLoop<T>::run_on_demand::h282f39b19b254c6e 39: 0x104d3f010 - eframe::run_native::h362ad29e8078fb49 40: 0x104b5dd80 - pineflash::main::hfe752539cc565223 41: 0x104b7c8c8 - std::sys_common::backtrace::__rust_begin_short_backtrace::h7735901a7946b073 42: 0x104b83a8c - std::rt::lang_start::{{closure}}::h1f36f1fee04496c0 43: 0x104eaf754 - std::panicking::try::h9eb4926af0fb4f23 44: 0x104e9dc70 - std::rt::lang_start_internal::h47d7f1f6477d860b 45: 0x104b5df64 - _main thread 'main' panicked at /Users/johncohn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winit-0.29.15/src/platform_impl/macos/app_state.rs:387:33: called Result::unwrap()on anErr value: PoisonError { .. } stack backtrace: 0: 0x104eb9dd8 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h4699abefd07a84a3 1: 0x104ed0ba0 - core::fmt::write::he20999f7a51cdf3e 2: 0x104eb3e48 - std::io::Write::write_fmt::hf214e623647db141 3: 0x104eb9c2c - std::sys_common::backtrace::print::h99c92515f9244444 4: 0x104eaf714 - std::panicking::default_hook::{{closure}}::h9ee44d77b22015e9 5: 0x104eaf41c - std::panicking::default_hook::h1574e360da6cf342 6: 0x104eafac0 - std::panicking::rust_panic_with_hook::h8c63523cb5f49fbc 7: 0x104eba1a4 - std::panicking::begin_panic_handler::{{closure}}::h22187a0d322c75e4 8: 0x104eba000 - std::sys_common::backtrace::__rust_end_short_backtrace::ha6c62cb1233a6655 9: 0x104eaf808 - _rust_begin_unwind 10: 0x104f05a94 - core::panicking::panic_fmt::h48dfedcd5cf205f7 11: 0x104f05fac - core::result::unwrap_failed::h5e4590a7ae843be2 12: 0x104dd3920 - winit::platform_impl::platform::app_state::AppState::clear_callback::hd5dc8413d80fdf2a 13: 0x104d4dfdc - winit::platform_impl::platform::event_loop::EventLoop<T>::run_on_demand::h282f39b19b254c6e 14: 0x104d3f010 - eframe::run_native::h362ad29e8078fb49 15: 0x104b5dd80 - pineflash::main::hfe752539cc565223 16: 0x104b7c8c8 - std::sys_common::backtrace::__rust_begin_short_backtrace::h7735901a7946b073 17: 0x104b83a8c - std::rt::lang_start::{{closure}}::h1f36f1fee04496c0 18: 0x104eaf754 - std::panicking::try::h9eb4926af0fb4f23 19: 0x104e9dc70 - std::rt::lang_start_internal::h47d7f1f6477d860b 20: 0x104b5df64 - _main

.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant