XPS-Microblaze-Xilkernel

Started by Ajay in comp.arch.fpga15 years ago

Hi All, I am a student of the University of Arizona. I am trying to get xilkernel to work with Microblaze on a spartan 3 FPGA board. My C...

Hi All, I am a student of the University of Arizona. I am trying to get xilkernel to work with Microblaze on a spartan 3 FPGA board. My C application looks like this: #include "xmk.h" #include #include #include #include void main() { xilkernel_main(); } I am using xmd to download this. I am able to connect to microblaze on


xilkernel cache

Started by u_st...@yahoo.de in comp.arch.fpga15 years ago

hi i have a micorblaze projet on a spartan 3 wit 8 k instruction an data cache linked with the ddr ram. the memory test and the peripheral...

hi i have a micorblaze projet on a spartan 3 wit 8 k instruction an data cache linked with the ddr ram. the memory test and the peripheral test works fine. now i started to write my own applicatin using xilkernel and lwip. my problem now is the my application does not work. it compiles fine but whe i try to download it via the debugger i get a "programm received a SIGABRT" message. do i h...


Strange behaviour with Xilkernel

Started by Anonymous in comp.arch.fpga13 years ago 6 replies

Hi all, I'm doing some performance tests with multi-threaded xilkernel applications and I always get erroneous times in programs...

Hi all, I'm doing some performance tests with multi-threaded xilkernel applications and I always get erroneous times in programs where context switches occurs continuously. I have written a trivial application that shows the problem: Two threads running without communication between them. Each one simply iterates N times and in each loop makes a yield() call. It ensures one context swit...


Xilkernel problem

Started by adrian in comp.arch.fpga16 years ago

Hi there, I'm having problems trying to use Xilkernel on a XPS system designed to work on a Virtex-II Pro FPGA with MicroBlaze processor. I...

Hi there, I'm having problems trying to use Xilkernel on a XPS system designed to work on a Virtex-II Pro FPGA with MicroBlaze processor. I am testing with a very simple code that is supposed to launch only one process and then terminate. The problem is that after launching xilkernel_main and initializing parameters the system isn't launching the process indicated in the static_pthread...


Xilkernel: Problem with mutex

Started by Andreas Hofmann in comp.arch.fpga15 years ago 14 replies

Hello, i have created a fairly simple Microblaze-based system, just one core, opb-UART, BRAM, opb-timer and opb-intc. I wrote a small program...

Hello, i have created a fairly simple Microblaze-based system, just one core, opb-UART, BRAM, opb-timer and opb-intc. I wrote a small program using the xilkernel-OS which creates two threads printing a thread-specific number and the current clock_ticks. The code is given below. I expect the program to print each second a message of one thread, but that doesn't work. When executing the p...


APU disabled after context switch in Xilkernel

Started by Andreas Hofmann in comp.arch.fpga15 years ago 3 replies

Hello, i'm trying to move data between the ppc405-core of a V4FX20 and a microblaze. The ppc and the microblaze are connected via an FSL...

Hello, i'm trying to move data between the ppc405-core of a V4FX20 and a microblaze. The ppc and the microblaze are connected via an FSL link: PPC-APU FCB FCB2FSL FSL MB To transfer data the putfsl()/getfsl() functions are used. The data transfer works flawlessly if the standalone BSP is used on the PPC. If xilkernel is used on PPC and a task switch occurs between en


process table for XMK

Started by Frank in comp.arch.fpga17 years ago 7 replies

Hi, Could anyone explain the meaning of the process_table parameter in the mss file (when using the xilkernel). I have a bootloader with the...

Hi, Could anyone explain the meaning of the process_table parameter in the mss file (when using the xilkernel). I have a bootloader with the following stuff in the mss file: BEGIN LIBRARY PARAMETER LIBRARY_NAME = xilkernel PARAMETER LIBRARY_VER = 1.00.a PARAMETER MAX_PROCS = 1 PARAMETER PROCESS_TABLE = ((0xA0000000, 1)) PARAMETER CONFIG_THREAD_SUPPORT = true PARAMETER MAX_THREA...


Disabling Interrupts/Context switching in Xilkernel

Started by Ed in comp.arch.fpga14 years ago 1 reply

Hi, I looked through the Xilkernel documentation and Xilinx mentions a few times about enabling and disabling interrupts and context...

Hi, I looked through the Xilkernel documentation and Xilinx mentions a few times about enabling and disabling interrupts and context switching. I need to be able to do this but can't seem to find anywhere how to do this. Anyone know how? I don't want to just enable and disable a single interrupt. I want to disable other threads from executing for a very short duration and turn off all i...


a question about linker map file

Started by Anonymous in comp.arch.fpga13 years ago 2 replies

Hi, I'm currently working in a POSIX thread management and synchronization library upon xilkernel + (powerpc/microblaze). This library...

Hi, I'm currently working in a POSIX thread management and synchronization library upon xilkernel + (powerpc/microblaze). This library really provides to user all thread-related xilkernel services plus conditional variables and thread-specific data). Now, I'm interested in measuring the size of this library in a specific executable application. I have generated the map file but there ar...


EDK9.1: XTemac + LwIP + Xilkernel + unistd.h = possible?

Started by Ken Ryan in comp.arch.fpga14 years ago 8 replies

Hello all! Has anyone had success using LwIP along with some of the xilkernel functions in a system that is based on the PPC and hard Trimode...

Hello all! Has anyone had success using LwIP along with some of the xilkernel functions in a system that is based on the PPC and hard Trimode Ethernet MAC? I keep running into a problem where the xtemac driver pulls in some xilinx header files that collide with unistd.h (pulled in by e.g. pthread.h). make -f system.make echo_program started... powerpc-eabi-gcc -O2 echo/src/s...


Semaphores in xilkernel?

Started by Pablo in comp.arch.fpga14 years ago

Hi, my name is Pablo and I have problems with the use of semaphores in xilkernel. I have created a struct based on pthread_t...

Hi, my name is Pablo and I have problems with the use of semaphores in xilkernel. I have created a struct based on pthread_t types, semaphores,... That is, I create a "mypthread_T" which is based on a pthread_t and a semaphore. Each pthread_t has an associated semaphore. The situation is the following: One father thread (thread 0) freezes in a sem_wait().Then there is two another threads, o...


Xilkernel interrupt test failure.

Started by edoardo in comp.arch.fpga11 years ago

Hi all, I'm developing an FPGA (V5SXT50) containing a microblaze core. I have a problem that I do not understand how to find a solution. If I...

Hi all, I'm developing an FPGA (V5SXT50) containing a microblaze core. I have a problem that I do not understand how to find a solution. If I set the Software Platform Setting to use a standalone OS, all seems to work fine. The test applications (memory test, peripherals test ...) do not give me any errors. If I set Software Platform Setting to use a Xilkernel OS, then the memory test pass...


gdb-stib and microblaze

Started by Stef in comp.arch.fpga16 years ago

Hi, Question: Is there a way I can connect gdb to a remote microblaze target without the use of XDM? The kernel is the xilkernel and the...

Hi, Question: Is there a way I can connect gdb to a remote microblaze target without the use of XDM? The kernel is the xilkernel and the development board is the Memec Insight Virtex2. Do I need to compile in some gdb-stub files, if so, where could they exist? regards, Stef


uBlaze : Programming in C++... Is Possible ?

Started by Alfmyk in comp.arch.fpga15 years ago 6 replies

Hi all. Please, what are main steps to try programming in C++ on uBlaze ? It's mandatory use a XilKernel (little Kernel) provided by Xilinx? In...

Hi all. Please, what are main steps to try programming in C++ on uBlaze ? It's mandatory use a XilKernel (little Kernel) provided by Xilinx? In fact some built-in C++ command like new are unavailable... Please refer here any other possible suggestion and any issues using C++ in uBlaze environment. Thanks in advance. Cheers, Al.


Xilkernel: Using the shared memory API

Started by Anonymous in comp.arch.fpga15 years ago 1 reply

Hi peoples, This could be a stupid question and I sincerely hope not. I'm not a coder -- I'm a EE signal/systems kid who's picked up the skill...

Hi peoples, This could be a stupid question and I sincerely hope not. I'm not a coder -- I'm a EE signal/systems kid who's picked up the skill lightly over the years out of neccessity (never really did it as a hobby often either). Not to say I don't like coding -- just never had the time to explore it so much in my free time. ANYWAYS. Onto the question -- it's geared towards those who work...


lwip Out of semaphore resources

Started by u_st...@yahoo.de in comp.arch.fpga15 years ago

hi i'm still struggeling trying to get the lwip stack running on a microblaze processor with the xilkernel. my code is still pretty simple...

hi i'm still struggeling trying to get the lwip stack running on a microblaze processor with the xilkernel. my code is still pretty simple and other the initializing the kernel it don't do much. in a sperate thread i call the functions : mem_init(); memp_init(); pbuf_init(); as debug output i get the message: "sys_sem_new: Error -- Out of semaphore resources" three times for e...


Condition Variable in pthread.h

Started by Pablo in comp.arch.fpga14 years ago

Hello, I have a Spartan 3E and I have implemented a Xilkernel and pthread for threading. Now I want to use "condition variable"...

Hello, I have a Spartan 3E and I have implemented a Xilkernel and pthread for threading. Now I want to use "condition variable" (pthread_cond_init, pthread_cond_wait,...) and I think that this is not possible in EDK. Is this true??. How can I use condition variable in FPGA??. Has anyone tried to do this?? Thanks for your help.


OPB_MDM functionality

Started by Pablo in comp.arch.fpga13 years ago

hi, this is my question: Is opb_mdm used to load C code (from executable.elf) from SDRAM?. I have downloaded an aplication (executable.elf) to...

hi, this is my question: Is opb_mdm used to load C code (from executable.elf) from SDRAM?. I have downloaded an aplication (executable.elf) to the Sdram. Due to the fault of a RS232 peripheral, I use opb_mdm as uart. This design seems to work fine with xil_printf and standalone powerpc, but it fails when I use printf or xilkernel. I have increased heap and stack, but problem goes on. So I ...


PPC + APU + FSL + Xilkernel Problem

Started by u_st...@yahoo.de in comp.arch.fpga13 years ago

Hello, I currently working on a project in EDK 9.1. I have a PPC system with a custom peripheral the is connected to the PPC through FSL->...

Hello, I currently working on a project in EDK 9.1. I have a PPC system with a custom peripheral the is connected to the PPC through FSL-> FCB-> APU. If I create an EDK project using microblaze and integrate my peripheral I can read an write to my peripheral and all the data it computes is correct. Using the same peripheral (integrate my custom peripheral with the coprocessor wizard) i


running from external memory (microblaze)

Started by Frank in comp.arch.fpga17 years ago 3 replies

Hello, I have build a bootloader which is located in block ram. Now I want to download my final application to sdram and execute it. If I'm...

Hello, I have build a bootloader which is located in block ram. Now I want to download my final application to sdram and execute it. If I'm correct, I've to make a linker script in order to make this possible. Besides this, I want to use the xilkernel in my application, but not in the bootloader, is this possible? I guess I have to convert the application.elf file to a binary file in order...