AVR외부 메모리 및 "문자열 쓰기 가능"옵션

기술노트 36901






2018-02-28 오전 1:45


This Technical Note applies to IAR Embedded Workbench for AVR.

If there is no non-volatile memory (that is, no PROM) available in the data address space you should probably use the -y (writable strings, constants) compiler option. When using this option, string literals and constants are placed in code space and then copied from CCSTR and CDATA to ECSTR and IDATA respectively.

If the -y option is not used, string literals and constants are placed in the CONST and CSTR segments in the data memory space. e.g.,


This requires non-volatile memory in the data address space, e.g., external PROM, to work.


All product names are trademarks or registered trademarks of their respective owners.

죄송하지만, 당사 사이트에서는 Internet Explorer를 지원하지 않습니다.보다 편안한 사이트를 위해 Chrome, Edge, Firefox 등과 같은 최신 브라우저를 사용해 주시길 부탁드립니다.