이런건 좀 마구마구 펌질해도 된다구우.
땜쟁이에게 광명을~~
Question:
Why is it not possible to program my SAM7S32, SAM7S321 and SAM7S64 microcontroller with IAR 4.41A?
Answer:
There is a function missing in an initialization file used by IAR to program the SAM7S32, SAM7S321 and SAM7S64 parts.
Here are the steps to solve this issue:
a) Open the FlashAT91SAM7Sx.mac file under the IAR installation path: IAR Systems\Embedded Workbench 4.41A Kickstart\ARM\config\flashloader\Atmel\
b) The following function is missing: execUserSetup. Add it at the end of the file:
execUserSetup()
{
__writeMemory32(0x0D3,0x98,"Register");
__message "----------------------Set PC ---------------------------";
__writeMemory32(0x00000000,0xB4,"Register");
}
댓글 없음:
댓글 쓰기