Debug Functions copied to RAM
Debug Functions copied to RAM
Hello
is there any solution to jump to functions I have copied tom RAM and debug these functions?
Hello,
If you are copying the function from ROM to RAM, please make sure that the Virtual Memory Address of the section containing the copied function is set to a RAM address, while only the Load Memory Address can be set to a ROM address.
To specify the load address, please use AT or AT> keywords:
.data : { … } >RAM AT>LoadSection
Also, please enable the -mjsr option when compiling the project. The limit of bsr is only 24 bits, while the distance from ROM to RAM is higher than that value.
Please let us know if we can be of further assistance.
Best regards,
The GNU Tools Team
×