Comments (13)
I have not used it for S08 for a while. So it could be that something is broken. I'll have a look and report back.
from mcuoneclipse.
Hi Erdyke,
Indeed, things are broken for S08 if using a dedicated timer :-(.
I have commited a fix here: ErichStyger/McuOnEclipse_PEx@b55ffa5
Can you check if this solves the problem on your side as well?
I appologize for the issue,
Erich
from mcuoneclipse.
Will do,
Regards,
Eric Dyke
from mcuoneclipse.
Hi Eric,
I have fixed as well the secone issue with custom base types:
ErichStyger/McuOnEclipse_PEx@7362338
Sorry as well for this issue, I have never used custom base types :-(.
Let me know if this is fixed on your side too so I can close this issue.
Thanks,
Erich
from mcuoneclipse.
Thanks. I will need to get to it tonight.
from mcuoneclipse.
The first fix allows things to compile fine. I have not tested the other fix.
I'm pretty new to FreeRTOS so I will need to play around with it on my demo board to see how it runs with the default settings. Thanks for all the work you do!
from mcuoneclipse.
Thanks, and you are welcome. I'm closing the issue now. Be free to report if there are any problems or if there is anything to reopen the issue.
from mcuoneclipse.
Perhaps I'm missing something, but I cannot get a regular LED demo to run using default settings with a task delay of 500 ms. Do I need to do anything with the events created from the bean?
from mcuoneclipse.
No, nothing special to set up, and no special event handling needed. Below some code:
static void AppTask(void* param) {
for(;;) {
LED1_Neg();
vTaskDelay(pdMS_TO_TICKS(500));
}
}
if (xTaskCreate(AppTask, "App1", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, NULL) != pdPASS) {
for(;;){} /* error case only, stay here! /
}
vTaskStartScheduler(); / start the RTOS, create the IDLE task and run my tasks (if any) */
from mcuoneclipse.
As before, it looks like the tasks are getting created okay and are executed. I can set a breakpoint at the LED1_NegVal(); and see we get there each time. But there doesn't seem to be any real delay. I'm instantly returned to the BP after continuing.
from mcuoneclipse.
In case it's useful, I uploaded my project: https://github.com/Erdyke/FreeRTOS-DEMO
from mcuoneclipse.
Yes, that's useful. I don't have that S08 device, but I think I have found your issue: you have the Software Interrupt not properly configured. It is an older article, but the settings for FreeRTOS still apply, have a look at https://mcuoneclipse.com/2012/06/28/tutorial-freertos-on-demojm/. The swi needs to be configured properly (https://mcuoneclipse.files.wordpress.com/2012/06/assigning-software-interrupt-vector.png?w=584).
The other thing is: your heap is set to 2KByte. That's fine for a few tasks. You might increase that one later.
I hope this helps,
Erich
from mcuoneclipse.
That's the fix. Thanks for the help. Much Appreciated!
from mcuoneclipse.
Related Issues (20)
- FreeRTOS component fails to reload HOT 14
- SD_Card Component Doesn't allow selection of CS pin in SPIMaster_LDD HOT 1
- CodeWarrior 10.6 for MC9S08 C compiler don't have stdbool.h and stdint.h HOT 2
- InitUSB error with MKL26 with KSDK1.3 HOT 6
- CriticalSection bug HOT 10
- nRF24 project with KDS HOT 3
- Bad cast in gprof for arm HOT 3
- Weird Problem when snapshotting components HOT 2
- "Unknown macro" error when generating FreeRTOS component files HOT 1
- No re-enable interrupts HOT 2
- Don't name libraries this way! HOT 1
- Wifi driver for joystick HOT 1
- PPAGE handling in FreeRTOS port for HCS12X banked memory model HOT 6
- could you help me i meet a error when i use this script HOT 2
- SDRAM DCD Settings for the Arch Mix board HOT 1
- building tinyK22_RaspberryPi_UPS on linux: naming error HOT 1
- Cannot see anything in Image Info Tab of MCUXpressoIDE v11.2.1_4149? HOT 1
- minINI: writing to the sd card HOT 1
- McuSWO.c - SWO_PrintChar - The character is always sent to Stimulus port 0. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mcuoneclipse.