Open capablegh opened 2 months ago
Hi @capablegh,
For LoadELF
Renode can get the entry point from the ELF file itself, but it's not possible to get this information from a raw binary file.
To fix your script you can just set the PC
to entry point manually by adding a cpu PC <entry point address>
line.
On Cortex-M you're typically better off setting cpu VectorTableOffset <vtor address>
- it will automatically set both the PC and SP values
Thanks for taking the time, and respond. Regards.
On Wed, Oct 23, 2024 at 8:25 PM Wojciech Meller @.***> wrote:
Hi @capablegh https://github.com/capablegh,
For LoadELF Renode can get the entry point from the ELF file itself, but it's not possible to get this information from a raw binary file.
To fix your script you can just set the PC to entry point manually by adding a cpu PC
line. — Reply to this email directly, view it on GitHub https://github.com/renode/renode/issues/653#issuecomment-2433867362, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD52XBDSN47N4VVQBYFM2NLZ5A47BAVCNFSM6AAAAABMO7MEOGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZTHA3DOMZWGI . You are receiving this because you were mentioned.Message ID: @.***>
Description
"LoadBinary" does not for the STMF746 Discovery board. The error reported is
Expected behaviour
"LoadBinary" should work for STM32F7 as it does for nRF52840.
How to reproduce?
The script I am using is below
A similar script for nrf52840dk works for LoadELF as well as LoadBinary is as below
Environment
Additional information
None
Do you plan to address this issue and file a PR?
No