embeded/FPGA - XILINX2023. 5. 16. 12:05

커널에서 xilinx uartlite 쓰도록 해주고

device tree에서 axi 주소 추가해주고

vivado block design에서 axi와 PS로 uartlite  블록을 연결해주면 되는건가?

[링크 : https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842249/Uartlite+Driver]

'embeded > FPGA - XILINX' 카테고리의 다른 글

xilinx vivado uart ip  (0) 2023.05.12
xilinx bram uram  (0) 2023.05.12
vivado 설치 하려고 했더니.  (0) 2023.01.08
흐음.. 끌리네?  (0) 2022.11.02
xvc - xilinx virtual cable  (0) 2021.08.24
Posted by 구차니

댓글을 달아 주세요

embeded/FPGA - ALTERA2023. 5. 14. 14:38

cyclone IV 에서는 M9K 인것 같고

cyclone V 에서는 M10K 인가?

 

de10-nano 다운로드 받아서 IP catalog에서 해보니 아래와 같이 나온다.

 

M9K and M10K memories are Intel/Altera’s embedded highdensity memory arrays – Nearly all modern FPGAs include similar “block memories” • Each block contains approximately 9000 or 10,000 bits of memory per block respectively

[링크 : https://www.ece.ucdavis.edu/~bbaas/181/notes/Handout.M9K.M10K.mems.pdf]

'embeded > FPGA - ALTERA' 카테고리의 다른 글

altera uart ip  (0) 2023.05.14
altera nios 2 epcs to ram  (0) 2023.03.28
Nios V  (0) 2021.11.01
IOFS - Intel Open FPGA Stack  (0) 2021.07.06
oneAPI Quartus pro 필요?  (0) 2021.04.06
Posted by 구차니

댓글을 달아 주세요

embeded/FPGA - ALTERA2023. 5. 14. 12:56

xilinx 에서 보다 intel fpga쪽 보니

라이센스 이야기도 없고(그냥 있으면 기본 무료라고 보면 되는건가..?) 웬지 불안해지는 느낌

 

얘가 HDL 레벨에서 설정해서 쓰는 간단한 uart ip고

 

16550 이 전체 사양 지원하는 uart 디바이스

 

 

cyclone iv 에서는 사용불가능한데

이름만 보면 xlinix의 uartlite 같지만, 전혀 다른 ip 같은 느낌이네..

그 와중에 시리얼 라이트라는데 내가 아는 그 시리얼이 아닌가?

'embeded > FPGA - ALTERA' 카테고리의 다른 글

altera(intel fpga) m9k m10k  (0) 2023.05.14
altera nios 2 epcs to ram  (0) 2023.03.28
Nios V  (0) 2021.11.01
IOFS - Intel Open FPGA Stack  (0) 2021.07.06
oneAPI Quartus pro 필요?  (0) 2021.04.06
Posted by 구차니

댓글을 달아 주세요

embeded/FPGA - XILINX2023. 5. 12. 11:37

uart로 검색하니 uart 16550과 uartlite라는 녀석이 나온다.

둘 다 라이센스가 included 인데.. free도 있고 무슨 차이이려나?

 

uartlite는 baudrate와 parity를 HDL 로 설정해야 하고(런타임 변경 불가)

[링크 : https://www.xilinx.com/products/intellectual-property/axi_uartlite.html]

 

uart 16550은 런타임에 변경이 가능한 ip이다.

보기에는 freeze 하나만 더 추가되는 느낌이긴한데.. S_AXI 쪽이 많이 차이나려나?

[링크 : https://www.xilinx.com/products/intellectual-property/axi_uart16550.html]

'embeded > FPGA - XILINX' 카테고리의 다른 글

xilinx uartlite on zynq  (0) 2023.05.16
xilinx bram uram  (0) 2023.05.12
vivado 설치 하려고 했더니.  (0) 2023.01.08
흐음.. 끌리네?  (0) 2022.11.02
xvc - xilinx virtual cable  (0) 2021.08.24
Posted by 구차니

댓글을 달아 주세요

embeded/FPGA - XILINX2023. 5. 12. 09:47

BRAM(Block RAM)

URAM(Ultra RAM) - ultraScale+ 이상 제품군용

[링크 : https://wikidocs.net/86996]

 

block memory generator 라는 IP를 이용해서 BRAM을 할당하도록 하여 사용


(즉, HDL 레벨에서 특정 BRAM을 쓰도록 할 순 없는 것으로 예상)

[링크 : https://m.blog.naver.com/semisgdh/221950980467]

'embeded > FPGA - XILINX' 카테고리의 다른 글

xilinx uartlite on zynq  (0) 2023.05.16
xilinx vivado uart ip  (0) 2023.05.12
vivado 설치 하려고 했더니.  (0) 2023.01.08
흐음.. 끌리네?  (0) 2022.11.02
xvc - xilinx virtual cable  (0) 2021.08.24
Posted by 구차니

댓글을 달아 주세요

embeded/FPGA - ALTERA2023. 3. 28. 19:45

 

2. Executable code is stored in the EPCS. This is according to your second attempt: 
 
--- Quote Start ---  
I changed the reset vector to EPCS controller, it still doesn't work 
--- Quote End ---  
 
In this case the epcs_flash_controller is nesessary in your system. The reset vector must point to the epcs_flash_controller, which contains the bootcopier code. The exeption vector must point to On-Chip RAM because your .text segment is still located there. 
After power is up, NiosII start the execution of the bootcopier code from epcs_flash_controller internal ROM. This bootcopier gets application executible code from EPCS and stores it into On-Chip RAM. After bootcopier has finished its work the control passes to the application executible code in the On-Chip RAM.

[링크 : https://community.intel.com/t5/Nios-II-Embedded-Design-Suite/how-to-embeded-the-Nios-software-into-FPGA-sof-file/m-p/150842]

 

1.5.5. Nios II Processor Application Copied from EPCS Flash to RAM Using Boot Copier
The EPCS address space is not mapped into the Altera Avalon EPCS Flash Controller’s Avalon MM slave interface. Instead, read or write accesses are done through CSRs. Upon system reset, the EPCS device needs to be initialized before usage.

For these reasons, the EPCS controller-based boot copier is required for initializing the EPCS device and copying the Nios II application to RAM for execution.

The EPCS controller instantiates a block of boot ROM internally at its base address (offset 0x0, just before EPCS controller’s CSRs) for storing the boot copier. Nios II reset vector offset must set to EPCS controller base address, such that upon system reset the boot copier is executed first to initialize the EPCS controller and device.

[링크 : https://www.intel.com/content/www/us/en/docs/programmable/683820/current/nios-ii-processor-application-copied-37722.html]

[링크 : https://manuals.plus/ko/Intel/1-5-1-nios-ii-booting-general-flow-manual#axzz7xFS1je7Y]

 

Nios® II 플래시 프로그래머를 사용할 때 --csr 옵션은 무엇입니까?

설명
직렬 플래시 컨트롤러 II IP와 함께 Nios II 플래시 프로그래머(현재 "quartus_pgm --nios2")를 디자인에 사용할 때 명령 문자열에 새로운 옵션 "--csr"를 지정해야 합니다.

해결 방법
--csr 옵션은 직렬 플래시 컨트롤러 II IP 코어의 "avl_csr" 인터페이스 주소로 지정되어야 합니다.  예를 들어 플랫폼 디자이너 시스템에서 "avl_csr" 인터페이스의 주소 범위가 0x1000_0000 0x1000_003F 경우 "--csr=0x10000000"을 사용하십시오.

이 기능은 Nios II 플래시 프로그래머 사용자 가이드의 향후 버전에서 완전히 문서화될 것으로 예상됩니다.

[링크 : https://www.intel.co.kr/content/www/kr/ko/support/programmable/articles/000086366.html]

'embeded > FPGA - ALTERA' 카테고리의 다른 글

altera(intel fpga) m9k m10k  (0) 2023.05.14
altera uart ip  (0) 2023.05.14
Nios V  (0) 2021.11.01
IOFS - Intel Open FPGA Stack  (0) 2021.07.06
oneAPI Quartus pro 필요?  (0) 2021.04.06
Posted by 구차니

댓글을 달아 주세요

embeded/i.mx 8m plus2023. 3. 23. 10:46

크아.. 볼게 너무 많아 ㅠㅠ

그런데 openAMP가 나오는게 먼가.. 쎄~~~하다 -_-

 

linux / cortex-A / rpmsg <-> rtos or baremetal / cortex-M / rpmsg-lite

 

성능 향상은 openAMP와는 넘사벽일 수도 있는 설정이 존재하고

Core A와 Core B 이기종(heterogeneous) 장치간의 통신을 지원한다.

[링크 : https://github.com/nxp-mcuxpresso/rpmsg-lite]

'embeded > i.mx 8m plus' 카테고리의 다른 글

i.mx8m plus cortex-m7 part.2  (0) 2023.02.23
i.mx8m plus cortex-m7  (0) 2023.02.23
i.mx8m plus win iot 실행  (0) 2023.02.23
i.mx8 tensilica dsp  (0) 2023.02.07
i.mx8m plus win iot  (0) 2023.02.02
Posted by 구차니

댓글을 달아 주세요

embeded/esp322023. 3. 13. 19:33

특이하게(?)

abs

add2,4,8  y = x + 2

이런 명령어가 추가되어있다

 

다만 neon 같은 simd 명령어는 없고

shift, add, sub는 있지만 mul, div가 없다.

 

https://0x04.net/~mwk/doc/xtensa.pdf

https://www.esp32.com/viewtopic.php?t=6477

'embeded > esp32' 카테고리의 다른 글

esp32cam ptz 카메라 완료  (0) 2021.12.30
esp32 servo와 flash  (0) 2021.11.28
esp32 flash on/off 버전  (0) 2021.11.27
stm32 vs esp32  (0) 2021.11.27
eps32-cam 내장 LED  (0) 2021.11.24
Posted by 구차니

댓글을 달아 주세요

embeded/ARM2023. 2. 27. 23:10

이름대로 MCU를 위한 공통 API 라고 보면 될 듯.

칩 제조사 마다 독자적인 C API를 제공하지만, 칩이 달라지면 그대로 쓸 수 없는데 CMSIS를 쓰면 다른 벤더에서도

소스 레벨에서는 문제없이 쓸 수 있을 것 같긴하다.

[링크 : https://developer.arm.com/tools-and-software/embedded/cmsis]

 

+

cordic 찾다 cmsis sw divider 라는게 보이네.

[링크 : https://arm-software.github.io/CMSIS_5/DSP/html/group__divide.html]

[링크 : https://www.iar.com/kr/knowledge/learn/programming/using-iar-embedded-workbench-for-arm-and-the-cmsis-dsp-library/]

'embeded > ARM' 카테고리의 다른 글

i.mx8m plus arm trust zone  (0) 2023.02.24
ampere altra / 기가바이트 R272-P30 / 우분투  (0) 2023.02.03
arm asm rbit(비트 뒤집기)  (0) 2022.08.26
vfp, neon cycle  (0) 2022.01.23
cortex-a9 neon  (0) 2021.06.21
Posted by 구차니

댓글을 달아 주세요

embeded/ARM2023. 2. 24. 10:31

 

For i.MX 8M EVK, to build imx-boot image by using imx-mkimage, perform the following steps:
1. Copy and rename mkimage from u-boot/tools/mkimage to imx-mkimage/iMX8M/mkimage_uboot.
2. Copy u-boot-spl.bin from u-boot/spl/u-boot-spl.bin to imx-mkimage/iMX8M/.
3. Copy u-boot-nodtb.bin from u-boot/u-boot-nodtb.bin to imx-mkimage/iMX8M/.
4. Copy imx8mq-evk.dtb (for i.MX 8M Quad EVK), imx8mm-evk.dtb (for i.MX 8M Mini LPDDR4 EVK),
     imx8mm-ddr4-evk.dtb (for i.MX 8M Mini DDR4 EVK), or
     imx8mp-evk.dtb (for i.MX 8M Plus LPDDR4 EVK) from u-boot/arch/arm/dts/ to imx-mkimage/iMX8M/.
5. Copy bl31.bin from Arm Trusted Firmware (imx-atf) to imx-mkimage/iMX8M/.
6. Copy firmware/hdmi/cadence/signed_hdmi_imx8m.bin from the firmware-imx package to imx-mkimage/iMX8M/.
7. For i.MX 8M Quad and i.MX 8M Mini LPDDR4 EVK, copy lpddr4_pmu_train_1d_dmem.bin, 
    lpddr4_pmu_train_1d_imem.bin,
    lpddr4_pmu_train_2d_dmem.bin, and
    lpddr4_pmu_train_2d_imem.bin from firmware/ddr/synopsys of the firmware-imx package to imx-mkimage/ iMX8M/.
For i.MX 8M Mini DDR4 EVK, copy
    ddr4_imem_1d.bin,
    ddr4_dmem_1d.bin,
    ddr4_imem_2d.bin, and
    ddr4_dmem_2d.bin from firmware/ddr/synopsys of the firmware-imx package to imx-mkimage/iMX8M.
For i.MX 8M Plus LPDDR4 EVK, copy
    lpddr4_pmu_train_1d_dmem_201904.bin,
    lpddr4_pmu_train_1d_imem_201904.bin,
    lpddr4_pmu_train_2d_dmem_201904.bin, and
    lpddr4_pmu_train_2d_imem_201904.bin from firmware/ddr/synopsys of the firmware-imx package to imx-mkimage/iMX8M/.
8. For i.MX 8M Quad EVK, run make SOC=iMX8M flash_evk to generate flash.bin (imx-boot image) with HDMI FW included.
For i.MX 8M Mini LPDDR4 EVK, run make SOC=iMX8MM flash_evk to generate flash.bin (imx-boot image).
For i.MX 8M Mini DDR4 EVK, run make SOC=iMX8MM flash_ddr4_evk to generate flash.bin (imx-boot image).
For i.MX 8M Plus LPDDR4 EVK, run make SOC=iMX8MP flash_evk to generate flash.bin (imx-boot-image).
To boot with eMMC fasboot on i.MX 8M Quad EVK and i.MX 8M Mini LPDDR4 EVK,
use flash_evk_emmc_fastboot target.

 

아래 파일은 어디서 봐야하냐..

i.MX 8M Plus:
    setenv fdtfile imx8mp-evk-rpmsg-lpv.dtb
/run/media/mmcblk1p1# ls -al *rp*
-rwxrwx--- 1 root disk 64363 Apr  5  2011 imx8mp-evk-rpmsg.dtb
-rwxrwx--- 1 root disk 19064 Apr  5  2011 imx8mp_m7_TCM_rpmsg_lite_pingpong_rtos_linux_remote.bin
-rwxrwx--- 1 root disk 18544 Apr  5  2011 imx8mp_m7_TCM_rpmsg_lite_str_echo_rtos.bin

[링크 : https://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf]

'embeded > ARM' 카테고리의 다른 글

cmsis (Common Microcontroller Software Interface Standard)  (0) 2023.02.27
ampere altra / 기가바이트 R272-P30 / 우분투  (0) 2023.02.03
arm asm rbit(비트 뒤집기)  (0) 2022.08.26
vfp, neon cycle  (0) 2022.01.23
cortex-a9 neon  (0) 2021.06.21
Posted by 구차니

댓글을 달아 주세요