slf2hex --input==*.elf --output=*.hex -- base=0x** --end=0x** --width=**


0. nios command shell 킨다음..

1. elf 파일있는데 까지 찾아가서

2. 위 와 같이 쳐주고,~ elf 파일 가져다 hex 만들거니 파일이름 입력해주고

3. base address From On-chip Memory 번지수 시작번지

  end Address From On-chip Memory 번지수 

4. Onchip Memory설정의 width 찾아서 입력해주고 그럼 끝


ex) helloword.elf 를 가지고 helloword.hex 로 만들어 주고 싶을때

 base Addr: 0x0

  End Addr : 0x30ff

 width : 32


 slf2hex --input==helloword.elf --output=helloword.hex -- base=0x0 --end=0x30ff --width=32


'Quartus > Nios' 카테고리의 다른 글

변수 타입들 ex) alt_u8, alt_u16..  (0) 2015.10.02

이렇게 명시 되어있네요 @ alt_types.h


#ifndef ALT_ASM_SRC typedef signed char alt_8; typedef unsigned char alt_u8; typedef signed short alt_16; typedef unsigned short alt_u16; typedef signed long alt_32; typedef unsigned long alt_u32; typedef long long alt_64; typedef unsigned long long alt_u64; #endif


나름 자료형 정리한거..빈거는 댓글로 채워주세요~ 난중 채워서 올릴께요~



밑 Table1은 아래 Altera 사이트에서~

https://www.altera.com/content/dam/altera-www/global/en_US/pdfs/literature/hb/nios2/n2cpu_nii51016.pdf



'Quartus > Nios' 카테고리의 다른 글

ELF를 HEX로 만들어줄떄, nios command shell 이용  (0) 2015.10.20

+ Recent posts