This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Bootloader problem in ARM926ejs

Parents
  • Note: This was originally posted on 27th June 2011 at http://forums.arm.com

    I took a pick at the memory map to find that "__iar_data_init2" function, and all I found is "__iar_data_init3".
    So I did 2 modifications:
    1. Use __iar_data_init3
    2. Modified the linker file to add .data_init and other initialization sections next to the code section.    It worked once. So in order to confirm that both modifications were needed, I modified back __iar_data_init3 to __iar_data_init2 and it didnt work anymore.

    Then by doing only (2) it didnt work either. So I put back both, and now it doesnt  work.

    But it worked once, I saw that the variable had been initialized by the __iar_data_init3 function.




Reply
  • Note: This was originally posted on 27th June 2011 at http://forums.arm.com

    I took a pick at the memory map to find that "__iar_data_init2" function, and all I found is "__iar_data_init3".
    So I did 2 modifications:
    1. Use __iar_data_init3
    2. Modified the linker file to add .data_init and other initialization sections next to the code section.    It worked once. So in order to confirm that both modifications were needed, I modified back __iar_data_init3 to __iar_data_init2 and it didnt work anymore.

    Then by doing only (2) it didnt work either. So I put back both, and now it doesnt  work.

    But it worked once, I saw that the variable had been initialized by the __iar_data_init3 function.




Children
No data