Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - NedK

Pages: [1]
1
NXPTM M522XX, KINETIS and i.MX RT / CANopen on i.MXRT?
« on: May 16, 2022, 07:34:00 PM »
I've been looking at the V2.0.0 µTasker code, and noticed that:

 (a) the version of the CANopenNode code is quite old (2015 vs. the CANopenNode 4.0 code that is the current branch)

 (b) the driver code appears to be taken from the MCF5282, but the guts of the actual driver code (in CO_driver.c) appears to be all or mostly disabled (CO_CANmodule_init, CO_CANsetConfigurationMode, CO_CANsetNormalMode, CO_CANverifyErrors, etc.).

The latest CANopenNode 4.0 branch cleans up the directory structure, and allows for using multiple object dictionaries if desired.
This can help sharing parts of the object dictionary between nodes that have to communicate but don't have identical object dictionaries.

I've been using the CANOpenEditor fork from https://github.com/frabul/CANopenEditor.git, compiled in VS 2022 Community, and it's been quite stable.

My current project is actually using the CANopenNode object dictionary and editor, but not the whole CANopen stack (yet). However, it's likely that we will want to use the whole stack (and the CAN peripheral in the i.MXRT1020) within a year or so.

So I'd like to ask:

What is the current state of the CANopenNode code? Could it be updated to the 4.0 branch?

Is there likely to be a CAN driver for the i.MXRT family any time soon that would work with CANopenNode?

Thanks!



2
µTasker general / Can't build simulator app
« on: May 03, 2022, 06:27:16 PM »
I'm trying to build the i.mxRT simulator application (in Windows 10 64-bit) under Microsoft Visual Studio Community 2022 (64-bit), Version 17.1.6.
I'm building from the V2.0.0 branch, based on commit e0e0bc9c7e3dc28d0f035bf7aacea3d2e3955ed2.
I've read the "getting started" PDF.
I can build the target application successfully using the make_uTaskerV1.4_GNU_iMX makefile.
However, when I go to build the Windows solution (using either the uTasker i.MX or uTasker i.MX plus GNU build targets), the compile fails upon trying to build FreeRTOS objects:

Build started...
1>------ Build started: Project: uTaskerProject, Configuration: uTasker i.MX Win32 ------
1>croutine.c
1>Z:\uTasker-GIT-Kinetis\FreeRTOS\Source\include\FreeRTOS.h(33,10): fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory
1>stream_buffer.c
1>Z:\uTasker-GIT-Kinetis\FreeRTOS\Source\stream_buffer.c(29,10): fatal error C1083: Cannot open include file: 'string.h': No such file or directory
1>Generating Code...
1>Done building project "uTaskerV1-4.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


I'm not familiar with Visual Studio, so maybe it's something I'm doing wrong.
I've tried both the .sln and the .vcxprog solution/project files with the same result.

Pages: [1]