Search found 191 matches

by DemoniacMilk
Tue May 16, 2017 2:07 pm
Forum: XMOS Devices
Topic: Cheapest Processor to achieve this
Replies: 1
Views: 4206

Cheapest Processor to achieve this

Hello again! I am thinking about creating a low cost and (kind of) general purpose platform using an xmos controller because i love the way these are programmed and i find myself not being amused when programming other microcontrollers anymore. The features i want for sure are: - ethernet (10/100 mb...
by DemoniacMilk
Mon Mar 20, 2017 4:07 pm
Forum: Development Tools and Programming
Topic: Audio/Video de-/encoding on xcore devices
Replies: 0
Views: 3126

Audio/Video de-/encoding on xcore devices

Hello! I like the flexibility of XS2 devices, but im not sure if these are well suited for the task. Maybe you guys can help me to find out if an xcore is well suited for the task at hand: Project Requirements: Some standard camera interface I have seen xcore applications using camera modules on You...
by DemoniacMilk
Mon Mar 20, 2017 11:57 am
Forum: Development Tools and Programming
Topic: Poor Webserver Performance
Replies: 0
Views: 3088

Poor Webserver Performance

Hello! I am recently expriencing very poor perfomance when using the webserver library provided by xmos. https://s12.postimg.org/8jvx9on95/poor_Performance_Web.png Many requests are not handled at all (periodic request for some data every 2 seconds): https://s7.postimg.org/7g4bd37s7/poor_Performance...
by DemoniacMilk
Mon Mar 06, 2017 1:18 pm
Forum: Development Tools and Programming
Topic: Passing unsafe pointers through a channel
Replies: 1
Views: 5042

Passing unsafe pointers through a channel

To allow a UI task to display values changed in another task (on same tile) i want to pass a pointer to the structure holding the relevant data as well as a memlock. For both, I create an unsafe pointer that should be passed to the UI Task. bridgeState_t bridgeState; swlock_t bridgeStateMemLock; uns...
by DemoniacMilk
Tue Feb 28, 2017 12:02 pm
Forum: Development Tools and Programming
Topic: memset on movable pointers
Replies: 1
Views: 2502

memset on movable pointers

I tried to use memset on a movable pointer, but that seems to not be working as intended when trying to move the movable pointer afterwards (error: trying to move aliased pointer) char * movable txbuf; char * movable rxbuf; // malloc, check for NULL memset(txbuf, 0, len); memset(rxbuf, 0, len); spi_...
by DemoniacMilk
Sun Feb 19, 2017 10:43 pm
Forum: Development Tools and Programming
Topic: NOPs in generated ASM code
Replies: 3
Views: 3543

Re: NOPs in generated ASM code

ou dear, i totally forgot about dual issue mode.
This probably means all my conclusions about the timing behavior of my code are incorrect.

Thanks for your answer!
by DemoniacMilk
Sun Feb 19, 2017 10:52 am
Forum: Development Tools and Programming
Topic: NOPs in generated ASM code
Replies: 3
Views: 3543

NOPs in generated ASM code

Hey everyone! while optimizing my software I realized there are a lot of NOPs in the generated asm code (on -O3). I thought most operations are done within one scheduler cycle (= 5+ clk cycles), so I am wondering if the nops in the following example are necessary? Found start flag! ? 0x409dc nop (0r...
by DemoniacMilk
Wed Feb 08, 2017 12:16 pm
Forum: Development Tools and Programming
Topic: Web page dynamic content question
Replies: 0
Views: 2873

Web page dynamic content question

Web page files allow adding dynamic content by calling functions via {% foo() %}. Adding a function call to test.html will be translated into an array by a python script, functions are represented by an index, preceeded by 255: char _web_test_dot_html[] = {..., 255, 0, ...}; //in web_server_dyn_exp(...
by DemoniacMilk
Tue Jan 31, 2017 5:26 pm
Forum: Development Tools and Programming
Topic: Java issues when using xTIMcomposer
Replies: 1
Views: 2937

Java issues when using xTIMcomposer

Hello, After xTIMEcomposer Stuio (14.2.4) refused to start on my win8 64Bit machine for some time, I found out that a 32 Bit JRE is needed and provided this version with help of in the .ini config file of xTIMEcomposer by adding -vm path_to_32bit_java xTIMEcomposer starts correctly, but I cannot com...
by DemoniacMilk
Fri Jan 27, 2017 10:25 am
Forum: Q&A
Topic: 500 MIPS limitation per tile
Replies: 4
Views: 4781

Re: 500 MIPS limitation per tile

Awesome answer, thank you.