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 - Javier

Pages: [1]
1
NXPTM M522XX, KINETIS and i.MX RT / Config to the KL03
« on: October 05, 2019, 08:52:42 AM »
Hello,

Is possible to flash a KL03 mcu with mcuexpresso + lpc-link v2?

Best regards


EDITED: I get this error when compile
Code: [Select]
Building target: uTaskerSerialLoader.elf
Invoking: MCU Linker
arm-none-eabi-gcc -nostdlib -Xlinker -Map="uTaskerSerialLoader.map" -Xlinker --gc-sections -Xlinker -print-memory-usage -mcpu=cortex-m0plus -mthumb -T uTaskerV1_4_uTaskerSerialLoader_FLASH.ld -L "/home/javier/git/uTasker-Kinetis/Applications/uTaskerV1.4/GNU_Kinetis" -o "uTaskerSerialLoader.elf"  ./uTasker/utFAT/mass_storage.o  ./uTasker/uGLCDLIB/GLCD.o ./uTasker/uGLCDLIB/LCD.o  ./uTasker/MODBUS/MODBUS.o  ./uTasker/Driver.o ./uTasker/GlobalTimer.o ./uTasker/SSC_drv.o ./uTasker/Tty_drv.o ./uTasker/USB_drv.o ./uTasker/Watchdog.o ./uTasker/can_drv.o ./uTasker/eth_drv.o ./uTasker/iic_drv.o ./uTasker/low_power.o ./uTasker/time_keeper.o ./uTasker/uFile.o ./uTasker/uMalloc.o ./uTasker/uNetwork.o ./uTasker/uTasker.o  ./stack/Ethernet.o ./stack/NetBIOS.o ./stack/arp.o ./stack/dhcp.o ./stack/dns.o ./stack/ftp.o ./stack/ftp_client.o ./stack/http.o ./stack/icmp.o ./stack/igmp.o ./stack/ip.o ./stack/ip_utils.o ./stack/mqtt.o ./stack/pop3.o ./stack/ppp.o ./stack/smtp.o ./stack/snmp.o ./stack/tcp.o ./stack/telnet.o ./stack/tftp.o ./stack/udp.o ./stack/webutils.o ./stack/zero_config.o  ./Applications/uTaskerSerialBoot/disk_loader.o ./Applications/uTaskerSerialBoot/serial_loader.o ./Applications/uTaskerSerialBoot/usb_application.o ./Applications/uTaskerSerialBoot/usb_device_loader.o ./Applications/uTaskerSerialBoot/usb_host_loader.o ./Applications/uTaskerSerialBoot/webInterface.o   
/usr/local/mcuxpressoide-11.0.1_2563/ide/plugins/com.nxp.mcuxpresso.tools.linux_11.0.1.201907311258/tools/bin/../lib/gcc/arm-none-eabi/8.2.1/../../../../arm-none-eabi/bin/ld: cannot open linker script file uTaskerV1_4_uTaskerSerialLoader_FLASH.ld: No existe el archivo o el directorio
collect2: error: ld returned 1 exit status
make: *** [makefile:37: uTaskerSerialLoader.elf] Error 1
"make -r -j4 all" terminated with exit code 2. Build might be incomplete.

cannot open linker script file uTaskerV1_4_uTaskerSerialLoader_FLASH.ld: Not exist

2
Hello

K28
It's possible to generate a 14.3181 MHz clock with uTasker MCG ?, in order to sync with the colorburst subcarrier from composite video.

Or I need to add an external crystal for this?.

Regards

Edited: I don't use Ethernet

3
NXPTM M522XX, KINETIS and i.MX RT / Debugging from MCUxpresso
« on: April 02, 2018, 02:13:22 AM »
Hello,

Wich is the way to debugging uTasker application from FRDM-K64F with MCUxpresso IDE?

I have tried to compiled uTaskerV1.4_RAM but with errors.

Code: [Select]
02:07:24 **** Incremental Build of configuration uTaskerV1.4_RAM for project uTaskerV1.4 ****
make -r -j4 all
Building target: uTaskerV1.4.elf
Invoking: MCU Linker
arm-none-eabi-gcc -nostdlib -Xlinker -Map="uTaskerV1.4.map" -Xlinker --gc-sections -Xlinker -print-memory-usage -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -T K_256_RAM.ld -L "/home/user/Desarrollo/uTasker-Kinetis/Applications/uTaskerV1.4/GNU_Kinetis" -o "uTaskerV1.4.elf"  ./uTasker/utFAT/mass_storage.o  ./uTasker/uGLCDLIB/GLCD.o ./uTasker/uGLCDLIB/LCD.o  ./uTasker/MODBUS/MODBUS.o  ./uTasker/Driver.o ./uTasker/GlobalTimer.o ./uTasker/SSC_drv.o ./uTasker/Tty_drv.o ./uTasker/USB_drv.o ./uTasker/Watchdog.o ./uTasker/can_drv.o ./uTasker/eth_drv.o ./uTasker/iic_drv.o ./uTasker/low_power.o ./uTasker/time_keeper.o ./uTasker/uFile.o ./uTasker/uMalloc.o ./uTasker/uNetwork.o ./uTasker/uTasker.o  ./stack/Ethernet.o ./stack/NetBIOS.o ./stack/arp.o ./stack/dhcp.o ./stack/dns.o ./stack/ftp.o ./stack/ftp_client.o ./stack/http.o ./stack/icmp.o ./stack/igmp.o ./stack/ip.o ./stack/ip_utils.o ./stack/mqtt.o ./stack/pop3.o ./stack/ppp.o ./stack/smtp.o ./stack/snmp.o ./stack/tcp.o ./stack/telnet.o ./stack/tftp.o ./stack/udp.o ./stack/webutils.o ./stack/zero_config.o  ./Hardware/Kinetis/kinetis.o  ./Applications/uTaskerV1.4/FreeMaster.o ./Applications/uTaskerV1.4/KeyScan.o ./Applications/uTaskerV1.4/NetworkIndicator.o ./Applications/uTaskerV1.4/application.o ./Applications/uTaskerV1.4/debug.o ./Applications/uTaskerV1.4/modbus_app.o ./Applications/uTaskerV1.4/nRF24201.o ./Applications/uTaskerV1.4/snmp_mib_handlers.o ./Applications/uTaskerV1.4/usb_application.o ./Applications/uTaskerV1.4/webInterface.o   
/usr/local/mcuxpressoide-10.1.1_606/ide/tools/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld: cannot open linker script file K_256_RAM.ld: No existe el archivo o el directorio
makefile:36: recipe for target 'uTaskerV1.4.elf' failed
collect2: error: ld returned 1 exit status
make: *** [uTaskerV1.4.elf] Error 1

uTaskerV1.4_FLASH if works, the .elf file is generated and then I use objcopy in linux to convert to .bin


Best regards

4
NXPTM M522XX, KINETIS and i.MX RT / USB communication with Pc host
« on: April 02, 2018, 01:24:41 AM »
Hi,

In a project I'm going to need USB communication to update de application and read/write the application configuration from a PC (Java applicaton, JNA/JNI/Swig).

Also, I need, eventually, to use SDcard to logging, for example to store the sensors data

I'm configuring uTasker project to demo purpose with the FRDM-K64F.

Then, I should to use this define?

Code: [Select]
#define USE_USB_MSD

Best regards

5
NXPTM M522XX, KINETIS and i.MX RT / uTasker 1.4 in MCXpresso
« on: March 30, 2018, 08:16:10 AM »
Hello,

FRDM-K64F
uTasker 1.4
MCUXpresso IDE v10.1.1 [Build 606] [2018-01-02]

I get these errors when I try to compile the project:

Quote
../Hardware/IIC_devices/IIC_dev.c: In function 'fnSimI2C_devices':
../Hardware/IIC_devices/IIC_dev.c:1398:10: error: 'I2C_ADDRESS' undeclared (first use in this function)
     case I2C_ADDRESS:
          ^~~~~~~~~~~
../Hardware/IIC_devices/IIC_dev.c:1398:10: note: each undeclared identifier is reported only once for each function it appears in
../Hardware/IIC_devices/IIC_dev.c:1510:17: warning: unused variable 'i' [-Wunused-variable]
             int i = 0;
                 ^
../Hardware/IIC_devices/IIC_dev.c:1526:10: error: 'I2C_TX_DATA' undeclared (first use in this function)
     case I2C_TX_DATA:
          ^~~~~~~~~~~
 
../Hardware/IIC_devices/IIC_dev.c:1808:17: warning: unused variable 'i' [-Wunused-variable]
             int i = 0;
                 ^
../Hardware/IIC_devices/IIC_dev.c:1825:10: error: 'I2C_RX_DATA' undeclared (first use in this function)
     case I2C_RX_DATA:
          ^~~~~~~~~~~
../Hardware/IIC_devices/IIC_dev.c:2020:17: warning: unused variable 'i' [-Wunused-variable]
             int i = 0;
                 ^
../Hardware/IIC_devices/IIC_dev.c:2038:10: error: 'I2C_RX_COMPLETE' undeclared (first use in this function)
     case I2C_RX_COMPLETE:
          ^~~~~~~~~~~~~~~
../Hardware/IIC_devices/IIC_dev.c:2039:10: error: 'I2C_TX_COMPLETE' undeclared (first use in this function)
     case I2C_TX_COMPLETE:
          ^~~~~~~~~~~~~~~
Building file: ../Applications/uTaskerSerialBoot/serial_loader.c
make: *** [Hardware/IIC_devices/IIC_dev.o] Error 1
Hardware/IIC_devices/subdir.mk:18: recipe for target 'Hardware/IIC_devices/IIC_dev.o' failed

I followed this video https://www.youtube.com/watch?v=K8ScSgpgQ6M&feature=youtu.be

Regards

Pages: [1]