Quantcast
Channel: Microcontrollers
Viewing all 216559 articles
Browse latest View live

Forum Post: TMS320F28069: CI/CD Pipeline Integration and Editor Alternatives for TMS320F28069/C2000 Development

$
0
0
Part Number: TMS320F28069 Tool/software: Hi TI Team, We are working on the TMS320F28069 Controller (C2000 Series) and currently use Code Composer Studio (CCS) for our development (build, debug, and test). We have two questions: We want to automate the build process on GitLab using a CI/CD pipeline. Could you please suggest the necessary steps? We would like to move away from CCS dependencies. Can we use another test editor like VS Code, Notepad++ for development? If so, what is the procedure and required steps? Thanks, Nitish Sharma

Forum Post: LAUNCHXL-F28P65X: EtherCAT example compiler error - miss applicationObjDic definitation

$
0
0
Part Number: LAUNCHXL-F28P65X Tool/software: Hi Experts, My customer is running the CPU1 echoback example, they have used SSC tool to generated codes and pasted them to the project folder. However, they still have a missing identifier error of variable applicationObjDic whem compiler. They cannot find this variable when searching through the project. What are they missing? Regards, Hang

Forum Post: RE: UNIFLASH: Cannot read properties of undefined (reading 'DS')

$
0
0
Hi Ki, I find myself in the same boat. Yes, I have Facepoint installed. Can you provide workaround? Thanks

Forum Post: RE: LP-MSPM0L1306: Uniflash - Error Image loading failed

$
0
0
Hi Emanuele, My apologies for the delay. Seems our IT dept has installed something called Facepoint on our PCs and is preventing me running Uniflash. There is another E2E post on this separate topic. As soon as I get the workaround I'll dig back into this. Again, my apologies for the delay. BTW - from my calculations, the number of bytes difference between the latest versions of the file is 72 bytes. Can you try making the size difference smaller, say 8 bytes or even 1 byte and see if same error is thrown?

Forum Post: MSPM0C1104: Systick in mspm0c1104 and need more clarity on the CCS v20.2

$
0
0
Part Number: MSPM0C1104 Other Parts Discussed in Thread: SYSCONFIG Tool/software: I have a few questions regarding the Clock Configuration and CCS (Code Composer Studio) setup for MSPM0C11x: 1) Does the MSPM0C1104 have a SysTick peripheral? I need confirmation on its availability. 2) OSTimer Interrupt Issue: - I have written a program for the OSTimer, but the SysTick interrupt handler is not executing as expected. - I am attaching a zip file (OSTMR) containing the code for reference. 3) Configuration File: - I am sharing the .sysconfig file to ensure all parameters are set correctly. 4) CCS v20.2 Driver Path Issue: - After updating to CCS v20.2, it seems the TI drivers path is not being automatically detected by the IDE. - I have to manually provide the full path to include header files. - For example, I need to specify the complete address for llOSTimer.h instead of simply including the file by name. - How can I configure CCS to recognize the include paths correctly? 5) Function Indexing Issue: - Function definitions in drivers or lower-level functions are not indexed properly. - When I press Ctrl + Left Click on a function like SYSCFG_DL_init, I cannot navigate to its definition. Is there a way to fix this issue in CCS? e2e.ti.com/.../OSTMR.zip

Forum Post: RE: LP-MSPM0L1306: Glitch generation when changing PF field in PINCMx register to 0x0

$
0
0
Thank very much Bruce for jumping in on this one. We always super appreciate the help!!! ;) I'm waiting to hear back from our designers on this issue. In the mean time, does this glitch cause you issues with you application?

Forum Post: RE: MSPM0L1306: How do I obtain the correct bin file?

$
0
0
Hi Greg, Ok, let me check back with our SW team on this. BTW, I see you are using CCS Theia. By chance have you tried this on CCS 12.8 (last released version of classic)?

Forum Post: MSPM0C1104: GPIO Read fail by the driver api but the Register shows the value

$
0
0
Part Number: MSPM0C1104 Other Parts Discussed in Thread: SYSCONFIG Tool/software: Hello, I am trying to read from a GPIO pin (PA16) on the MSPM0C1104 using SysConfig-generated drivers. I am using the polling method to read the pin state. -The DIN31_0 register correctly reflects the pin state when the pushbutton is pressed and released. -However, the DL_GPIO_readPins() API always returns 0x00000000, regardless of the actual pin state. -I also tried directly accessing the register using its address, but it still does not work. In the first picture the button is not pressed and the DIN31_0 is holding 1 in 16 th pin (Dont know exactly why it is set) but the api ReadPin is returning 0. In the second picture the button is pressed and there is a change in the state of the pin and the readpin api is still returning 0. I am attaching the project zip file(gpio_Read) for reference. Any insights on this issue would be helpful! e2e.ti.com/.../gpio_5F00_Read.zip

Forum Post: RE: LP-AM263P: How To Flash the onBoard Flash Memory and boot from it.

$
0
0
Hi Navneet, The steps you have followed looks correct. Is there any specific step you are facing struggle with ?

Forum Post: RE: LP-AM263P: How To Flash the onBoard Flash Memory and boot from it.

$
0
0
You can refer to the documentation for detailed steps: https://software-dl.ti.com/mcu-plus-sdk/esd/AM263PX/10_01_00_31/exports/docs/api_guide_am263px/GETTING_STARTED_FLASH.html let me know in case you need any more info

Forum Post: RE: TMDS243EVM: If the ports order of ethercat IN and OUT can be configured? if yes, how to configure it?

$
0
0
Thanks! Could you tell me which one of PRG1_PRU0 and PRG1_PRU1 on diagram is used as ethercat IN and which one is used as ethercat OUT? I know that the top RJ45 of stacked RJ45 is the ethercat IN, but I don't know if it is PRG1_PRU0 or PRG1_PRU1?

Forum Post: RE: MSPM0C1104: GPIO Read fail by the driver api but the Register shows the value

$
0
0
As extracted from your .zip, the .syscfg for PA16 didn't turn on the internal pullup resistor, so PA16 was floating (when S2 wasn't pressed). Since it was floating, I was able to trigger it (not consistently) by touching the PA16 pin on the Booster Pack header. When I wasn't touching the pin (or S2), the LED flickered randomly, perhaps sometimes faster than I could see. When I enabled the internal pullup in sysconfig, I got very consistent results. I suspect what you observed in the debugger was an illusion, where the (floating) pin changed state between the breakpoint trigger and the time the debugger read the registers.

Forum Post: TMS570LC4357: query on uniflash script to read from flash memory

$
0
0
Part Number: TMS570LC4357 Other Parts Discussed in Thread: UNIFLASH Tool/software: hi, We are exploring to get uniflash scripts to load to the flash and read back from the flash memory. we got one script working to load all images to the flash. But we are not able to read back from the flash. Please let us know, where can we find the scripts for the same ?

Forum Post: RE: MSPM0L1304: Error in the "printf" output

$
0
0
I should also mention here that I found printf (or at least snprintf) to be a stack hog as well. I've forgotten the exact number, but I found a comment I wrote (for the C1104) that says "#define USE_PRINTF 0 // 600B of stack is too much". That would be in addition to the CIO requirements. [Edit: Added a bit of context.]

Forum Post: RE: MSPM0C1104: Systick in mspm0c1104 and need more clarity on the CCS v20.2

$
0
0
According to this thread, the C-series doesn't have a SysTick. (It's also notable by its absence from TRM Fig 3-1.) https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/1338555/lp-mspm0c1104-systicks-works-exceptionally/5099739 I'm not very familiar with CCS20, so someone else will have to answer those questions.

Forum Post: SIMPLELINK-MSP432-SDK: CCS v20 MSP_EXP432E401Y SysLink not working in CCS IDE

$
0
0
Part Number: SIMPLELINK-MSP432-SDK Other Parts Discussed in Thread: SYSCONFIG Tool/software: I have installed CCS 20.0.2. Using Resource Explorer, I have imported the example project event_MSP_EXP432E401Y_tirtos_ccs from SimpleLink MSP432E SDK 4.20.00.12. I am trying to launch the SysConfig GUI by double-clicking on the file event.syscfg . I get a new window with the content " type html> ". Looking at the discovered products, I see two versions of SysConfig: 1.22.0 C:/ti/ccs2002/ccs/utils/sysconfig_1.22.0 1.5.0+1353 C:/ti/sysconfig_1.5.0 I suspect CCS is trying to launch SysConfig 1.5.0 instead of 1.22.0. But how to fix this? I don't see a way to tell CCS which one to use. Thank you

Forum Post: RE: SIMPLELINK-MSP432-SDK: CCS v20 MSP_EXP432E401Y SysLink not working in CCS IDE

$
0
0
This thread suggests that the MSP432E support in CCS20 is "not all there" yet. https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1470288/msp-exp432e401y-issues-with-code-composer-not-seeing-a-compiler-that-supports-my-device/5642875

Forum Post: RE: SIMPLELINK-MSP432-SDK: CCS v20 MSP_EXP432E401Y SysLink not working in CCS IDE

$
0
0
Bruce, Thank you for the reference. I think you are correct, looks like MSP432E support is still in the works. BTW, I fixed the compiler issue by pointing CCS 20 to the compiler in my CCS 12 install. I was also able to fix the SysLink version by using the project properties to edit the product dependency for SysConfig. However, the build still fails. Even creating an empty project with TI-RTOS fails. However, creating a NO-RTOS empty project did build. So, hopefully the remaining support will come soon.

Forum Post: RE: MCU-PLUS-SDK-AM243X: Example for using Core-0 and Core-1 simultaneously on AM2432

$
0
0
Hi Paula , I've changed the linker.cmd /* This is the stack that is used by code running within main() * In case of NORTOS, * - This means all the code outside of ISR uses this stack * In case of FreeRTOS * - This means all the code until vTaskStartScheduler() is called in main() * uses this stack. * - After vTaskStartScheduler() each task created in FreeRTOS has its own stack */ --stack_size=16384 /* This is the heap size for malloc() API in NORTOS and FreeRTOS * This is also the heap used by pvPortMalloc in FreeRTOS */ --heap_size=32768 -e_vectors /* This is the entry of the application, _vector MUST be placed starting address 0x0 */ /* This is the size of stack when R5 is in IRQ mode * In NORTOS, * - Here interrupt nesting is enabled * - This is the stack used by ISRs registered as type IRQ * In FreeRTOS, * - Here interrupt nesting is enabled * - This is stack that is used initally when a IRQ is received * - But then the mode is switched to SVC mode and SVC stack is used for all user ISR callbacks * - Hence in FreeRTOS, IRQ stack size is less and SVC stack size is more */ __IRQ_STACK_SIZE = 256; /* This is the size of stack when R5 is in IRQ mode * - In both NORTOS and FreeRTOS nesting is disabled for FIQ */ __FIQ_STACK_SIZE = 256; __SVC_STACK_SIZE = 4096; /* This is the size of stack when R5 is in SVC mode */ __ABORT_STACK_SIZE = 256; /* This is the size of stack when R5 is in ABORT mode */ __UNDEFINED_STACK_SIZE = 256; /* This is the size of stack when R5 is in UNDEF mode */ SECTIONS { .vectors : { } > R5F_VECS , palign(8) GROUP : { .text.hwi : { } palign(8) .text.cache : { } palign(8) .text.mpu : { } palign(8) .text.boot : { } palign(8) .text:abort : { } palign(8) } > MSRAM GROUP : { .text : { } palign(8) .rodata : { } palign(8) } > MSRAM GROUP : { .data : { } palign(8) } > MSRAM GROUP : { .bss : { } palign(8) RUN_START(__BSS_START) RUN_END(__BSS_END) .sysmem : { } palign(8) .stack : { } palign(8) } > MSRAM GROUP : { .irqstack : { . = . + __IRQ_STACK_SIZE; } align(8) RUN_START(__IRQ_STACK_START) RUN_END(__IRQ_STACK_END) .fiqstack : { . = . + __FIQ_STACK_SIZE; } align(8) RUN_START(__FIQ_STACK_START) RUN_END(__FIQ_STACK_END) .svcstack : { . = . + __SVC_STACK_SIZE; } align(8) RUN_START(__SVC_STACK_START) RUN_END(__SVC_STACK_END) .abortstack : { . = . + __ABORT_STACK_SIZE; } align(8) RUN_START(__ABORT_STACK_START) RUN_END(__ABORT_STACK_END) .undefinedstack : { . = . + __UNDEFINED_STACK_SIZE; } align(8) RUN_START(__UNDEFINED_STACK_START) RUN_END(__UNDEFINED_STACK_END) } > MSRAM GROUP : { .ARM.exidx : { } palign(8) .init_array : { } palign(8) .fini_array : { } palign(8) } > MSRAM .bss.user_shared_mem (NOLOAD) : { } > USER_SHM_MEM .bss.log_shared_mem (NOLOAD) : { } > LOG_SHM_MEM .bss.ipc_vring_mem (NOLOAD) : { } > RTOS_NORTOS_IPC_SHM_MEM .bss.nocache (NOLOAD) : { } > NON_CACHE_MEM } MEMORY { R5F_VECS : ORIGIN = 0x8000 , LENGTH = 0x40 R5F_TCMA : ORIGIN = 0x8040 , LENGTH = 0x7FC0 R5F_TCMB0 : ORIGIN = 0x41018000 , LENGTH = 0x8000 NON_CACHE_MEM : ORIGIN = 0x70070000 , LENGTH = 0x8000 MSRAM : ORIGIN = 0x70120000 , LENGTH = 0x40000 USER_SHM_MEM : ORIGIN = 0x701D0000 , LENGTH = 0x4000 LOG_SHM_MEM : ORIGIN = 0x701D4000 , LENGTH = 0x4000 RTOS_NORTOS_IPC_SHM_MEM : ORIGIN = 0x701D8000 , LENGTH = 0x8000 FLASH : ORIGIN = 0x60200000 , LENGTH = 0x80000 /* For memory Regions not defined in this core but shared by other cores with the current core */ } Is that correct ? Thanks, Best Regards, Eli

Forum Post: TMDSCNCD28P65X: Not able to debug when I use external 5V power supply and cannot connected to XDS110.

$
0
0
Part Number: TMDSCNCD28P65X Tool/software: Recently, I bought two TMDSCNCD28P65X , one of them is able to connect to xds 110 and go to debug mode when I power it from J1 USB, but the other one is not. So I have two questions: 1. I wonder if I still need to connect J1 to my computer or any power supply to power xds110 to use debug mode even if I use external 5v to power TMDSCNCD28P65X , which means I actually need two power supplies. 2. The second board isn't able to connect xds110 even if I connect J1 to my computer, it always shows error: An attempt to connect to the XDS110 failed. ( I swtiched S1 to right side, the on mode), so does it mean it is a bad one? Best! Chenmin Deng
Viewing all 216559 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>