ATSAME70Q21 - custom bootloader fails -jumps to application. #60541
Replies: 8 comments 10 replies
-
Hi @Aravindh1910! We appreciate you submitting your first issue for our open-source project. 🌟 Even though I'm a bot, I can assure you that the whole community is genuinely grateful for your time and effort. 🤖💙 |
Beta Was this translation helpful? Give feedback.
-
@Aravindh1910, for my understanding: when you compile and flash hello_world without mcuboot everything works as expected ? |
Beta Was this translation helpful? Give feedback.
-
@Laczen Yes, If I compile hello_world and flashed it without mcuboot it works! |
Beta Was this translation helpful? Give feedback.
-
@Laczen and @pavithvishnu,
To summarize, if I enabled USB in Configuration, jump from mcuboot to Application doesn't work. filename : board_defconfig May I know How to disable this before jump to application. |
Beta Was this translation helpful? Give feedback.
-
@jfischer-no, @nordicjm, could there be something missing in mcuboot that causes this malfunction ? |
Beta Was this translation helpful? Give feedback.
-
@Aravindh1910 you are right, I have also tried with the same configuration which you have mentioned above. I'm also facing the same issue. if usb stack is enable, jump to application is not working. |
Beta Was this translation helpful? Give feedback.
-
@Laczen @jfischer-no @nordicjm @fabiobaltieri |
Beta Was this translation helpful? Give feedback.
-
@Aravindh1910 , @pavithvishnu , as this is a usb/mcuboot problem I can't help you (it might be a configuration problem, a driver problem, unsupported, ...). As you have identified the problem at least one of the discussions can be closed. The correct persons to address this problem are @jfischer-no (USB) and @nordicjm (zephyr-mcuboot). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Discussed in #60366
I am also working on similar application on ATSAME70Q21.
I am using mcuboot as bootloader and helloworld as my application. Now I am facing similar kind of issue discussed in above thread. In my case, Bootloader is Jumping to the corresponding address of the application , after that I am facing memory usage issue,
The following is (.lst) file (where it gets blocked)
/* do byte-sized copying until finished */
4437ae: 1e43 subs r3, r0, #1
4437b0: 440a add r2, r1
{
4437b2: b510 push {r4, lr}
while (n > 0) {
4437b4: 4291 cmp r1, r2
4437b6: d100 bne.n 4437ba <memcpy+0xc>
*(d_byte++) = *(s_byte++);
n--;
}
}
4437b8: bd10 pop {r4, pc}
*(d_byte++) = *(s_byte++);
4437ba: f811 4b01 ldrb.w r4, [r1], #1
4437be: f803 4f01 strb.w r4, [r3, #1]!
n--;
4437c2: e7f7 b.n 4437b4 <memcpy+0x6>
can any help m out ?
@pavithvishnu are you be to jump to the application.
@Laczen can you help me out
Beta Was this translation helpful? Give feedback.
All reactions