2012-04-11 04:27 AM
helllo, i'm new comer in here. i have project with SMT3210-MCKIT, and i used IAR EWARM 4.42 for compiler. but when i rebuild all program from strarter kit i got error like this :
'' Error[e16]: Segment CODE (size: 0x6780 align: 0x2) is too long for segment definition. At least 0x18e0 more bytes needed. The problem occurred while processing the segment placement command ''-Z(CODE)CODE=ROMSTART-ROMEND'', where at the moment of placement the available memory ranges were ''CODE:20000160-20004fff'' Reserved ranges relevant to this placement: 20000000-200000eb INTVEC 200000ec-2000015f ICODE 20000160-20004fff CODE''
anyone can help me with this error ? thank you...2012-04-11 08:33 AM
Hello,
it looks like you have exceeded the limitation ok 20k RAM (0x6780 - 0x18e0 = 20kbytes)memory size. Are you sure you didn't add any lines of code? By the way, as stated in UM0483 (STM32F103xx AC induction motor IFOC software library V2.0 ), library has been validated using IAR EWARM 5.20 which is a compiler version pretty newer compared to 4.42. Any chance for you to switch to v5.20? Best Regards, Billino2012-04-11 10:27 AM
ok, anyway thank you for your reply. i have done your suggestion, i used IAR EWARM v5.20. When i was compile there's another error :
''Error[Go013]: Deprecated optimization level ''9'' encountered in #pragma optimize, please use one of none, low, C:\Program Files\STMicroelectronics\STM32MC-KIT\stm32 foc firmware libraries v1.0\STM32_FOC_ACIM\src\MC_Display.c 84''
how can i fix this error ? thank you.2012-04-11 10:52 AM
2012-11-04 02:11 AM
Will FOC SDK3.2 will work for 3phase AC Induction Motor. If yes means how. the ST MOTOR CONTROL WORKBENCH software will support for it.
Help me in this regard