Author Topic: Rookie Question: µTasker "SDKs"  (Read 22790 times)

Offline Samuel S

  • Newbie
  • *
  • Posts: 3
    • View Profile
Rookie Question: µTasker "SDKs"
« on: November 15, 2024, 10:15:47 AM »
Hello Mark,

Another Rookie question.  My program has been build using MBDT from NXP and is compiled using Embedded Coder with Simulink, as opposed to MCUXpresso.

I can incorporate SDKs from NXP / MCUXpresso for Vcom capabilities (calling directories, h files and c files), but I'd much prefer to leverage the capabilities of µTasker with the Simulink compiler (MCUCpresso GCC).

Specifically one goal is to have Vcom for UART1 (Freemaster initially and other functions) and RNDIS for Ethernet (to allow XCP on Ethernet over USB-Hardware).

Have I understood correctly, that:
- Vcom and RNDIS need to be defined for the building of:
   - uTaskerBoot_MIMXRT1060.bin
   - uTaskerFallbackLoaderImage_MIMXRT1060.bin
   - uTaskerSerialLoaderUpload_MIMXRT1060.bin
   - uTaskerBootComplete_MIMXRT1060.bin

- To incorporate the Vcom and RNDIS capabilities into my compiled code in Simulink, specific h and c files would need to be called by my compiler

- Or, these capabilities would already be available within the "uTaskerBootComplete_MIMXRT1060.bin" and I would just need to set up Freemaster on UART1 and Ethernet on (initially):
#show_config

IPV4 address = 192.168.1.3
MAC address = 00-00-00-00-00-00
Subnet mask = 255.255.255.0
Default gateway = 192.168.1.1
DNS server = 192.168.1.1
Trusted IP = 0.0.0.0
DHCP CLIENT - disabled
DHCP SERVER - disabled

Apologies if they're dumb questions.

Regards,
Sam

Offline mark

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3243
    • View Profile
    • uTasker
Re: Rookie Question: µTasker "SDKs"
« Reply #1 on: November 20, 2024, 12:15:50 PM »
Hi

It is possible to enable such functionality in the serial loader or the uTasker application but if you load your won application instead of the uTasker application none of its operation is available as only your application is running.

Therefore you can either implement the application using the uTasker project (use the uTasker project as a framework for your own application code) or you need to develop all functionality needed in your own application (as the loaders do not run in parallel with it).

Regards

Mark