mono

FreeRTOS on ZPUino

10 posts in this topic

hi there,

 

im new to the forum. i am playing around with the zpuino for about a month now in zap and vhdl. it runs on the papilio pro. the papilio 250k is nice as well, but its too small for my project. mainly i like it, because i needed 8 serial ports for my project. so far everything works just fine! :-) the 8 serial ports & spi work as expected.

as my project gets bigger, i was wondering, if there is a port for freertos available, which ive used before on stm32-mcus. ideally i could do with a freertos-version within the zap-ide. the only thing i spotted on the net is this on here:

 

https://github.com/alvieboy/ZPUino-HDL/tree/master/zpu/sw/freertos

 

unfortunately the freertos-files are not included. im using freertos 7.52 and in the path i can't find the zpu-folder. can anybody advise me in regards to freertos on the zpuino ?

 

best regards,

mOnO

 

Edit:  its not included in FreeRTOS V5.30. its also not included in the current FreeRTOS 8.12...

Share this post


Link to post
Share on other sites

ZPUino does not currenlty support FreeRTOS, sorry.

 

There's something similar in the works, called zRT, but it's in development right now, so not ready for production.

Share this post


Link to post
Share on other sites

...thanks for advising me. i found the thread regarding zRT here in the forum and it looks very promising. keep up the good work m8!

 

best regards,

mOnO

Share this post


Link to post
Share on other sites

thanks jack, download took about 60sec. i let you know how it is like...

 

nice to meet you here! the papilio pro is great. thank you so much for this great piece of kit! im working on a project, where i need 8 serial-ports and an fpga was the only way to get the 8 real serial-ports. soft-serial-ports are no option for me. the zpuino with 8 uarts + 1 spi doesnt fit into the papilio 250k, but i can live with the papilio pro.

 

ps. hope you like my step-model of the board, which i did this week.

 

best regards,

mOnO

 

u3m4g6rs.jpg

Share this post


Link to post
Share on other sites

Alvie,

I just saw this post about zRT. I am interested in that project. Do you have any details on how it is being designed? Is it's target being a minimal realtime os?

 

Thanks,
Chris

Share this post


Link to post
Share on other sites

Hey Chris,

 

Indeed, the idea is to have a minimal RTOS. The basic design is simple, much similar to FreeRTOS and other small OS for embedded.

 

The main objective is to have threads, to overcome difficulties with some drivers which rely on sleep to communicate with devices, causing the system to stop for that time which can be precious.

 

I have a preliminary version, in case you want to give it a try and be a beta-tester :)

Share this post


Link to post
Share on other sites

Alvie,

That sounds like what I am looking for. Just looking for a simple yet deterministic RTOS for use in more CNC related application with 2-3 threads.

 

Definitely I will give it a try. Just let me know where I can download the current version.

 

Thanks,
Chris

Share this post


Link to post
Share on other sites

nilrods: sorry I have not yet had time to get you this info.

Will do so in next days. I recall you only need a #define in a "config.h" file, but I need to test this, and I have no much free time these days.

 

Alvie

Share this post


Link to post
Share on other sites

Alive,

No worries. No rush, I am working on another part of the project right now. I just happened to run across the post.

 

I know how things go. I have times where I have more free time and times when I have none.

 

Thanks,

Chris

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now