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

Assertion when performing the image swap #18

Open
lefebvresam opened this issue Dec 12, 2024 · 0 comments
Open

Assertion when performing the image swap #18

lefebvresam opened this issue Dec 12, 2024 · 0 comments

Comments

@lefebvresam
Copy link

lefebvresam commented Dec 12, 2024

I wrote some test programs with mbed-ce and cmake.
After the first run, something is written in de flash chip and after a reboot I always get:

assertion "rc == 0" failed: file "/home/sam/git/mcuboot/mcuboot/boot/bootutil/src/swap_misc.c", line 105, function: swap_status_init

Test projects are open:

git clone [email protected]:saleconix/mcuboot.git
git clone [email protected]:saleconix/mcuboot_app.git

Because there is a mux chip between the MCU and the flash I inserted in mcuboot main, but with no effect:

#define SEL_STM 0
#define SEL_GPU 1
...
DigitalOut sfselect(SPIF_SEL); 
sfselect.write(SEL_STM); // Claim STM access to serial flash

Full log log.txt

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