This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
Hi jagafdish,
I developed a bootloader code which use for jump to application software. When I try to jump application software from bootloader I always get data entry. How can i solve that?
jump_add_u32 = (uint32_t)OP_FW_JUMP_ADD;
((void (*)(void))jump_add_u32)();
This is code part for jump algorithm.
Furkan
Best Regards,
Hi Furka,
Apologies for the delay, here in India we got consecutive holidays:
jump_add_u32 = (uint32_t)OP_FW_JUMP_ADD;
((void (*)(void))jump_add_u32)();
I don't see any issues with this code, this looks fine to me. Make sure you are calling the right address according to your application.
And we have CAN bootloader examples in below git link:
You can refer them and can make the changes in according to it.
If this doesn't solve your issue, then either you can share your complete project through private chat or else we can setup a live debugging session.
--
Thanks & regards,
Jagadish.
Hi Jagadish,
I am sure about the jump address. I checked from memory map. I refer from your examples and the code working very well until memory jump part. When I came this part I could not succeed and get data entry error there. If we can plan a live debug session I would highly appreciate it.
Best Regards,
Furkan
Hi Furkan,
We will setup a live debugging session, before that i want to verify your application and bootloader linker cmd files.
Is it possible to share them? And also mention the address you are calling?
I mean value of OP_FW_JUMP_ADD?
—
Thanks & regards,
Jagadish.
Hi jagadish,
Of course i can share them. Can we share these data with private chat ?
Also OP_FW_JUMP_ADD means application software start address which equals to Flash Bank 1 start address.
Best Regards,
Furkan
Yes, you can share with them through private chat. Please accept my friend request, once you did that you could share the files through private chat.
Hi jagadish,
We have an urgency about this project. Can we create a quick solution for that ?
Best Regards,
Furkan
Hi Furkan,
My sincere apologies for the delay in my response.
I took few days of vacation on the last week and also followed by a weekend.
Please confirm whether you still stuck with this issue or not?
And please also let me know if you got any progress.
--
Thanks & regards,
Jagadish.
Hi Jagadish,
Do not worry about it. I hope you had a good vacation. We still stuck there and this issue become bottleneck for us right now.
Best Regards,
Furkan
Hi Furkan,
I verified your liker command files, and they look fine for me.
Is it possible to set one live debugging session tomorrow? I want to see the exception directly once.
--
Thanks & regards,
Jagadish.
Hi jagadish,
Of course its okey for me. when are you available today?
Best Regards,
Furkan
Hi Furkan,
I will be available till 6PM today.
And tomorrow i will be available from 10AM to 8PM IST (Indian Standard Time).
--
Thanks & regards,
Jagadish.
Hi jagadish,
Sorry about late response. We were so busy last week.
Can we make this call to day?
Best regards,
Furkan
Hi Furkan,
Can we make this call to day?
Sure Furkan,
I will be available till 8PM IST (Indian Standard Time), you can setup the meeting based on your availability.
--
Thanks & regards,
Jagadish.
Hi jagadish,
I am okey for 7 PM IST (Indian Standard Time).
I will share meeting link
Best Regards,
Furkan
Hi Furkan,
I am okey for 7 PM IST (Indian Standard Time).
My apologies, shall we plan it on today (Tuesday) evening at the same time?
--
Thanks & regards,
Jagadish.
Sorry about late response we can plan a meeting today if you want.
Best Regards,
Furkan
Sure Furkan,
Can you schedule it on in between 6PM to 7PM today?
--
Thanks & regards,
Jagadish.
Sorry jagadish,
Here is the link .Can you join this link after 10 mins please ?
Best Regards,
Furkan
Here is the link .Can you join this link after 10 mins please ?
Sure, i will join at 6:20PM IST
The link is not working properly, i can't see anything if i paste this link in my browser.
Please can you try this link?
https://teams.live.com/meet/9490237135911?p=e1WLZT6yUn4xNAHW90
Sorry about corruption our internet connection was broken for a hour that is why ı could not turn back to meeting. I will try your what you said.
Hi Furkan,
No problem.
I think you understood the main problem, the bootloader overwriting the application vector memory with application code, because of this jump to the application is not taking properly.
The method we discussed before the call disconnected, also will not work because still our jump address is 0x200000 but the jump should be at 0x1FFFE0.
However, i think you understood main problem, just verify it in that way and do the necessary workaround.
—
Thanks,
Jagadish.