Forum Discussion
Altera_Forum
Honored Contributor
21 years agousing ecos on UP3 kit
hello all : I have got a UP3 kit from Altera , which is a NiosII kit , including EPC1C6Q240 (Cyclone family ) .Now I want to transplant the embeded system ecos to the NiosII cpu based o...
Altera_Forum
Honored Contributor
21 years agoHi monkey and smcnutt:
Thanks ! From today ,I will transplant ecos to the UP3 kits. Yes ,I should add the new flash driver to the target. So I created a new target ----UP3, which include following packages : CYGPKG_HAL_NIOS2 CYGPKG_SOPC CYGPKG_ALTERA_AVALON_UART CYGPKG_ALTERA_AVALON_JTAG_UART CYGPKG_ALTERA_AVALON_TIMER CYGPKG_ALTERA_AVALON_LH28F160S3T-L13A _FLASH then I edit the package CYGPKG_ALTERA_AVALON_LH28F160S3T-L13A _FLASH in accord with the package CYGPKG_ALTERA_AVALON_AM29LV065D_FLASH offered by ecos system. Now I have two questions: 1) I found the "HAL" functions are different between in the ecos system and in the nios system. If I add the ecos system to my sopc system,which include a niosII cpu , a flash , a sram and a jagt--uart, and now I want to use the flash , which functions can be used , from ecos or from nios. ? 2)In the sopc system ,I should set the flash's base address, and during the configuration of the ecos , I set the type of the "startup " is "Rom" , so I want to know the relation between the base address onthe sopc and the "startup" address on the nios, and how to set the base address of the flash on the nios is right?