Giter Club home page Giter Club logo

Comments (10)

ErichStyger avatar ErichStyger commented on July 18, 2024

I have Windows 7 64bit, and unfortunately the CW v5.1 does not install on my machine, so I cannot try it. It should support the S12 (I have not removed any support for it). But in the component you need to enable 'classic CodeWarrior' option. Have you done this. And if the timer you have selected does not support 'Reset', I think you could disable this in the timer?
I see if I can find an old machine to install v5.1.

from mcuoneclipse.

tai avatar tai commented on July 18, 2024

Yes, I have "Classic CW" option enabled in FreeRTOS component property.

It seems FreeRTOS component is insisting FreeCntr to provide Reset method when loading it as a dependency.

When I add FreeCntr as a standalone component (without FreeRTOS component) to a project, I can disable "Reset" method and the warning goes away. However, when FreeCntr is automatically loaded by FreeRTOS component, I cannot disable the method as toggle button to switch "generate/don't generate" is hidden now. So this seems to be an issue with how FreeRTOS component loads FreeCntr into a project.

I also tried to switch FreeCntr component used by FreeRTOS to the one I configured properly, but failed as pull-down menu in FreeRTOS property tab did not list other FreeCntr components.

BTW, I'm running CW v5.1 on Windows8.0 (32bit). I usually install these old-ish software with "XP compatibility mode" and "Run as Administrator" flag enabled, so that might also help on Win7 (never tried on 64bit OS, though).

from mcuoneclipse.

ErichStyger avatar ErichStyger commented on July 18, 2024

Interesting, the 'run as administrator' did the trick :-). I have 5.1 installed now, and see your problem. Looking into it right now.

from mcuoneclipse.

ErichStyger avatar ErichStyger commented on July 18, 2024

So here is some more information on this: Reset() is needed for the FreeRTOS+Percepio trace. I can disable/remove that dependency on Reset(), as long as you are not going to use Percepio Trace (I assume you are not using it). You now can disable the Reset() from the TickCntr, and it will not call it.
I have commited the change here:
a5aef38

Are you able to take it from there or do you need the *.PEupd file for it?
I do not have any S12 hardware, so I cannot test it. I would appreciate if you can let me know if things are working that way on your side.

from mcuoneclipse.

tai avatar tai commented on July 18, 2024

Could you provide me an updated *PEupd?

I git-pulled new commits and packaged new FreeRTOS.PEupd, but I cannot see any difference even after installing updated version. It's not that the fix doesn't work, it's just I cannot get my PEupd package update previous version. I even added dummy method to check it, and it didn't show up.

I can successfully package and re-install other simpler components (I confirmed it by seeing my dummy method show up), so I'm surely missing something with FreeRTOS component.

I have zero experience with CDE (this was actually a nice opportunity to try one, BTW), and it will take time to figure out what I'm doing wrong. So I'd like to try with "genuine" PEupd to test and confirm the fix first.

Best Regards,

from mcuoneclipse.

ErichStyger avatar ErichStyger commented on July 18, 2024

I have uploaded the updated component here:
https://github.com/ErichStyger/mcuoneclipse/blob/master/PEupd/FreeRTOS_23.02.2014.PEupd
Please give it a try and let me know.

from mcuoneclipse.

tai avatar tai commented on July 18, 2024

Confirmed. I can now successfully run FreeRTOS component.
I had to define empty TickCntr1_Reset() as port.c still refers to it, but that's a minor issue to solve.

Thank you for the fix!

from mcuoneclipse.

ErichStyger avatar ErichStyger commented on July 18, 2024

You are welcome, and thanks for reporting that problem!
I have fixed as well that additional Reset() problem on GitHub, and ported to FreeRTOS 8.0.0.
If you want to try it out: it is in
https://github.com/ErichStyger/mcuoneclipse/blob/master/PEupd/FreeRTOS_V8.0.0_23.02.2014.PEupd
on
https://github.com/ErichStyger/mcuoneclipse/tree/master/PEupd

from mcuoneclipse.

beszabo avatar beszabo commented on July 18, 2024

Hello,

I can't download FreeRTOS_V8.0.0_23.02.2014.PEupd, the link is soon not valid. (And can't find it other place)

I have same problem with HCS12 and FreeRTOS as Tai.

Can you send me a valid link?

from mcuoneclipse.

ErichStyger avatar ErichStyger commented on July 18, 2024

The component releases are available on SourceForge: https://sourceforge.net/projects/mcuoneclipse/files/PEx%20Components/

from mcuoneclipse.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.